Accessibility/TextAttributes
From Apache OpenOffice Wiki
Text attributes exposed since OpenOffice.org 2.0.3
Attribute name (ATK_TEXT_ATTR_ ..) | Attribute description | OOo property name | Text attribute | Default text attribute |
---|---|---|---|---|
..LEFT_MARGIN | The pixel width of the left margin | ParaLeftMargin | yes | |
..RIGHT_MARGIN | The pixel width of the right margin | ParaRightMargin | yes | |
..INDENT | The number of pixels that the text is indented | ParaFirstLineIndent | yes | |
..INVISIBLE | Either "true" or "false" indicating whether text is visible or not | CharHidden | yes | yes |
..PIXELS_ABOVE_LINES | Pixels of blank space to leave above each newline-terminated line | ParaTopMargin | yes | |
..PIXELS_BELOW_LINES | Pixels of blank space to leave below each newline-terminated line | ParaBottomMargin | yes | |
..UNDERLINE | "none", "single", "double" or "low" | CharUnderline | yes | yes |
..STRIKETHROUGH | "true" or "false" whether the text is strikethrough | CharStrikeout | yes | yes |
..SIZE | The size of the characters | CharHeight | yes | yes |
..WEIGHT | The weight of the characters | CharWeight | yes | yes |
..BG_COLOR | The background color | CharBackColor | only when set to a fixed value | only when set to a fixed value |
..FG_COLOR | The foreground color | CharColor | only when set to a fixed value | only when set to a fixed value |
..JUSTIFICATION | The justification of the text, if set. Values are "left", "right", "center" or "fill" | ParaAdjust | yes | |
..VARIANT | The capitalization variant of the text, if set. Values are "normal" or "small_caps" | CharCaseMap | yes | yes |
..STYLE | The slant style of the text, if set. Values are "normal", "oblique" or "italic" | CharPosture | yes | yes |