A3DPDFTableStyleData

struct A3DPDFTableStyleData

Structure to define a table style.

23.0

All values are defined automatically with A3D_INITIALIZE_DATA to a value ‘unset’. With this, inherited values are applied. If no heritance is found, default value are applied. Default values are documented on each member.

Variables

A3DInt32 A3DPDFTableStyleData.m_iFontSize

Size of the font.

Use 0 to not define a specific size and take value from inheritance. Default value is 10.

A3DUTF8Char *A3DPDFTableStyleData.m_pcFontName

Font name.

Use NULL to not define a specific font and take value from inheritance. Default value is MyriadPro. Font name is the name of the font for the system, with style (bold, italic, bolditalic) separated with a comma. The fonts are searched primarily in the resource folder provided to A3DPDFInitializePDFLibAndResourceDirectory(), then in the font folder of the system (c:WindowsFonts on windows).

A3DPDFRgbColorData *A3DPDFTableStyleData.m_pTextColor

Text color.

Use NULL to not define a specific color and take value from inheritance. Default value is black.

A3DPDFRgbColorData *A3DPDFTableStyleData.m_pBorderColor

Border color.

Use NULL to not define a specific color and take value from inheritance. Default value is black.

A3DInt32 A3DPDFTableStyleData.m_iBorderWidth

Width in points.

Use 0 to define the thinnest line that can be rendered at device resolution (1 device pixel wide). Use -1 to take value from inheritance. Default value is 0.

A3DInt32 A3DPDFTableStyleData.m_iPaddingBottom

Height of the padding area on the bottom.

Use -1 to take value from inheritance. Default value is 2.

A3DInt32 A3DPDFTableStyleData.m_iPaddingLeft

Height of the padding area on the top.

Use -1 to take value from inheritance. Default value is 2.

A3DInt32 A3DPDFTableStyleData.m_iPaddingRight

Width of the padding area on the right.

Use -1 to take value from inheritance. Default value is 2.

A3DInt32 A3DPDFTableStyleData.m_iPaddingTop

Width of the padding area on the left.

Use -1 to take value from inheritance. Default value is 2.

A3DPDFRgbColorData *A3DPDFTableStyleData.m_pBackgroundColor

Background color.

Use NULL to not define a specific color and take value from inheritance. Default value is no background color.

A3DPDFETableTextHorizontalAlign A3DPDFTableStyleData.m_eHorizAlignment

Horizontal alignment of the text inside the cell.

Use kA3DPDFTableAlignHInherit to take value from inheritance. Default value is kA3DPDFTableAlignHCentered.

A3DPDFETableTextVerticalAlign A3DPDFTableStyleData.m_eVertAlignment

Vertical alignment of the text inside the cell.

Use kA3DPDFTableVInherit to take value from inheritance. Default value is kA3DPDFTableAlignVMiddle.

A3DInt32 A3DPDFTableStyleData.m_iRowHeight

Row height.

Use -1 to take value from inheritance. This is an error if any row height is defined at any level.

A3DInt32 A3DPDFTableStyleData.m_iColumnWidth

Column width.

-1 to take value from inheritance. This is an error if any column width is defined at any level.