18#if !defined(ACTABLE_H_INCLUDED_)
19#define ACTABLE_H_INCLUDED_
125 int InitTable(UINT nRows, UINT nColumns,
const RECT& rcBoundRect);
146 int MergeCells(UINT nLeft, UINT nTop, UINT nRight, UINT nBottom);
372 void GetBoundRect(RECT& rc);
385 int SetColWidth(UINT col, UINT width,
int moveNext);
388 UINT GetColCount() {
return colCount; }
396 acTable *GetTable() {
return table; }
406 int InitCellArray(UINT nCellCount, UINT nRowWidth);
void * LPPDFINFO
Definition: RTPDF-32.h:21
void * HANDLE
Definition: RTPDF-32.h:22
Definition: acTable.h:197
int vertical
Definition: acTable.h:330
int clipToBoundaries
Definition: acTable.h:334
COLORREF backColor
Definition: acTable.h:292
VertBorders vertBorders
Definition: acTable.h:313
BorderStyles borderStyle
Definition: acTable.h:326
HorzAlign
Definition: acTable.h:210
@ Right
Definition: acTable.h:213
@ HCentered
Definition: acTable.h:212
@ Left
Definition: acTable.h:211
COLORREF borderColor
Definition: acTable.h:322
HANDLE backBmp
Definition: acTable.h:287
HANDLE font
Definition: acTable.h:279
VertBorders
Definition: acTable.h:231
@ acVertBorderLeft
Definition: acTable.h:233
@ acVertBorderBoth
Definition: acTable.h:235
@ acVertBorderRight
Definition: acTable.h:234
@ acVertBorderNone
Definition: acTable.h:232
long margin
Definition: acTable.h:274
HorzAlign horzAlign
Definition: acTable.h:301
CellTitlePositionConstants titlePosition
Definition: acTable.h:351
HANDLE titleFont
Definition: acTable.h:343
HorzBorders
Definition: acTable.h:239
@ acHorzBorderBottom
Definition: acTable.h:242
@ acHorzBorderTop
Definition: acTable.h:241
@ acHorzBorderBoth
Definition: acTable.h:243
@ acHorzBorderNone
Definition: acTable.h:240
HorzBorders horzBorders
Definition: acTable.h:309
COLORREF titleColor
Definition: acTable.h:339
float titlePointSize
Definition: acTable.h:347
MergeDirection
Definition: acTable.h:200
@ MERGE_RIGHT
Definition: acTable.h:203
@ MERGE_MAIN
Definition: acTable.h:206
@ MERGE_NONE
Definition: acTable.h:201
@ MERGE_TOP
Definition: acTable.h:204
@ MERGE_LEFT
Definition: acTable.h:202
@ MERGE_BOTTOM
Definition: acTable.h:205
int borderWidth
Definition: acTable.h:317
COLORREF textColor
Definition: acTable.h:297
CellTitlePositionConstants
Definition: acTable.h:247
@ acCellTitlePositionBottomLeft
Definition: acTable.h:251
@ acCellTitlePositionBottomRight
Definition: acTable.h:253
@ acCellTitlePositionTopLeft
Definition: acTable.h:248
@ acCellTitlePositionBottomCenter
Definition: acTable.h:252
@ acCellTitlePositionTopCenter
Definition: acTable.h:249
@ acCellTitlePositionTopRight
Definition: acTable.h:250
void SetTitleText(LPCSTR lpszTitle)
Set the cell's title.
VertAlign vertAlign
Definition: acTable.h:305
BorderStyles
Definition: acTable.h:224
@ acDashed
Definition: acTable.h:226
@ acDotted
Definition: acTable.h:227
@ acSolid
Definition: acTable.h:225
void SetText(LPCSTR lpszText)
Set the cell's main text content.
VertAlign
Definition: acTable.h:217
@ Bottom
Definition: acTable.h:220
@ VCentered
Definition: acTable.h:219
@ Top
Definition: acTable.h:218
float pointSize
Definition: acTable.h:283
Definition: acTable.h:382
int InitTable(UINT nRows, UINT nColumns, const RECT &rcBoundRect)
Initialize a table contains nRows and nColumns and position it on the page. The default row height is...
int SetRowHeight(UINT nRow, UINT nHeight, int bMoveNext)
Set the height of a specific row.
void Draw(HANDLE pdev)
Draw the table on the page. To be called after the table is fully constructed.
void GetCellsBoundRect(UINT nStartX, UINT nStartY, UINT nEndX, UINT nEndY, RECT &rc)
Get the bounding rectangle for a group of cells.
int MergeCells(UINT nLeft, UINT nTop, UINT nRight, UINT nBottom)
Merge a group of cells into a single cell.
int SetColWidth(UINT nCol, UINT nWidth, int bMoveNext)
Set the width of a specific column.
acReportCell * GetCell(UINT nRow, UINT nCol, int bReturnMainCell=1)
Get the Cell object from the cell coordinates.