A3DPDFTableStyleData

Fields

A3DInt32

m_iFontSize

A3DUTF8Char *

m_pcFontName

A3DPDFRgbColorData *

m_pTextColor

A3DPDFRgbColorData *

m_pBorderColor

A3DInt32

m_iBorderWidth

A3DInt32

m_iPaddingBottom

A3DInt32

m_iPaddingLeft

A3DInt32

m_iPaddingRight

A3DInt32

m_iPaddingTop

A3DPDFRgbColorData *

m_pBackgroundColor

A3DPDFETableTextHorizontalAlign

m_eHorizAlignment

A3DPDFETableTextVerticalAlign

m_eVertAlignment

A3DInt32

m_iRowHeight

A3DInt32

m_iColumnWidth

Detailed Description

struct A3DPDFTableStyleData

Structure to define a table style.

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.

Version

23.0

Public Members

A3DInt32 m_iFontSize

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

A3DUTF8Char *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:\Windows\Fonts on windows).

A3DPDFRgbColorData *m_pTextColor

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

A3DPDFRgbColorData *m_pBorderColor

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

A3DInt32 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 m_iPaddingBottom

Height of the padding area on the bottom. Use -1 to take value from inheritance. Default value is 2.

A3DInt32 m_iPaddingLeft

Height of the padding area on the top. Use -1 to take value from inheritance. Default value is 2.

A3DInt32 m_iPaddingRight

Width of the padding area on the right. Use -1 to take value from inheritance. Default value is 2.

A3DInt32 m_iPaddingTop

Width of the padding area on the left. Use -1 to take value from inheritance. Default value is 2.

A3DPDFRgbColorData *m_pBackgroundColor

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

A3DPDFETableTextHorizontalAlign m_eHorizAlignment

Horizontal alignment of the text inside the cell. Use kA3DPDFTableAlignHInherit to take value from inheritance. Default value is kA3DPDFTableAlignHCentered.

A3DPDFETableTextVerticalAlign m_eVertAlignment

Vertical alignment of the text inside the cell. Use kA3DPDFTableVInherit to take value from inheritance. Default value is kA3DPDFTableAlignVMiddle.

A3DInt32 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 m_iColumnWidth

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