This class provides text style and properties management functions.
Examples
Inserting a 1cm indent on the first line of a paragraph:
NUM_BIN_4 rc
NUM_BIN_4 para
...
CALL_DLL 'DocxToolBx' 'StyleSetFirstLineIndent' para 1.0 rc
...
Or more efficiently, creating a style to insert the same indent:
NUM_BIN_4 rc
NUM_BIN_4 document
NUM_BIN_4 para
NUM_BIN_4 style
...
CALL_DLL 'DocxToolBx' 'StyleCreate' document 'NormalIndent' 'Normal indented' 'paragraph' 'Normal' style rc
CALL_DLL 'DocxToolBx' 'StyleSetFirstLineIndent' style 1.0 rc
CALL_DLL 'DocxToolBx' 'ParagraphSetStyle' para 'NormalIndent' rc
...
Functions in the DocxToolBx DLL:
- StyleAddTab
- StyleById
- StyleCountStyles
- StyleCountTabs
- StyleCreate
- StyleGetAfterSpacing
- StyleGetBackgroundColor
- StyleGetBeforeSpacing
- StyleGetBorderColor
- StyleGetBorderSize
- StyleGetBorderSpace
- StyleGetBorderStyle
- StyleGetFirstLineIndent
- StyleGetFontFace
- StyleGetFontSize
- StyleGetHorizontalAlignment
- StyleGetLeftIndent
- StyleGetLineSpacing
- StyleGetRightIndent
- StyleGetStyle
- StyleGetTab
- StyleGetTextColor
- StyleGetTextPosition
- StyleGetTextProperties
- StyleGetUnderline
- StyleGetUnderlineColor
- StyleGetVerticalAlignment
- StyleInfo
- StyleRemoveTab
- StyleSetAfterSpacing
- StyleSetBackgroundColor
- StyleSetBeforeSpacing
- StyleSetBorderColor
- StyleSetBorderSize
- StyleSetBorderSpace
- StyleSetBorderStyle
- StyleSetFirstLineIndent
- StyleSetFontFace
- StyleSetFontSize
- StyleSetHorizontalAlignment
- StyleSetLeftIndent
- StyleSetLineSpacing
- StyleSetRightIndent
- StyleSetStyle
- StyleSetTextColor
- StyleSetTextPosition
- StyleSetTextProperties
- StyleSetUnderline
- StyleSetUnderlineColor
- StyleSetVerticalAlignment
List of DocxToolBx DLL function classes