Anda di halaman 1dari 3

ATK text attributes exposed by OpenOffice.org 2.0.

3 or later
Atk text attributes exposed by OpenOffice.org 2.0.3 or later Attribute name (ATK_TEXT_ATTR_ ..) ..LEFT_MARGIN ..RIGHT_MARGIN ..INDENT ..INVISIBLE ..PIXELS_ABOVE_LINES ..PIXELS_BELOW_LINES ..UNDERLINE ..STRIKETHROUGH ..SIZE ..SCALE ..WEIGHT ..FAMILY_NAME ..LANGUAGE ..BG_COLOR ..FG_COLOR ..DIRECTION ..JUSTIFICATION ..STRETCH ..VARIANT ..STYLE The pixel width of the left margin The pixel width of the right margin The number of pixels that the text is indented Either "true" or "false" indicating whether text is visible or not Pixels of blank space to leave above each newline-terminated line Pixels of blank space to leave below each newline-terminated line "none", "single", "double" or "low" "true" or "false" whether the text is strikethrough The size of the characters The scale of the characters. The value is a string representation of a double The weight of the characters The font family name The language used The background color The foreground color The direction of the text, if set. Values are "none", "ltr" or "rtl" The justification of the text, if set. Values are "left", "right", "center" or "fill" Attribute description OOo property name ParaLeftMargin ParaRightMargin ParaFirstLineIndent CharHidden ParaTopMargin ParaBottomMargin CharUnderline CharStrikeout CharHeight CharScaleWidth CharWeight CharFontName CharLocale CharBackColor CharColor WritingMode ParaAdjust yes yes yes
2

Text attribute

Default text attribute yes yes yes

yes

yes yes yes

yes yes yes yes yes yes yes


2 2 2

yes yes yes yes2 yes yes yes


2 2

yes1 yes yes


1 2

yes1 yes yes yes yes yes yes


2 1 2

The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or CharKerning "ultra_expanded" The capitalization variant of the text, if set. Values are "normal" or "small_caps" The slant style of the text, if set. Values are "normal", "oblique" or "italic" CharCaseMap CharPosture

1) used to be "only when set to a fixed value" prior to OOo 2.2 2) since OOo 2.2

CSS style text attributes exposed by OpenOffice.org 2.2 or later


CSS style text attributes exposed by OpenOffice.org 2.2 or later Attribute name font-effect textdecoration text-rotation text-shadow Attribute description This property controls the special effect applied to glyphs. Possible values: "none", "engrave", "emboss" and "outline" This property describes decorations that are added to the text of an element. Possible values: "none", "underline", "overline", "line-through" and "blink". This property describes the angle of text rotation in degree This property accepts a comma-separated list of shadow effects to be applied to the text of the element. OOo currently only supports the values "none and "black" OOo property name CharContoured, CharRelief CharFlash, CharUnderline, CharStrikeout CharRotation CharShadowed WritingMode CharEscapement ParaStyleName ParaLineSpacing Text attribute yes yes yes yes yes yes no no Default text attribute yes yes yes yes yes yes yes yes

writing-mode The primary text advance direction. Possible value: "lr-tb", "rl-tb", "tb-rl", "tb-lr" and "none" vertical-align paragraphstyle line-height This property affects the vertical positioning inside a line box. OOo supports the values "baseline", "sub" and "super" The name of the paragraph style like "Default", "Text body" or "Heading" The height of a line. Depending on the line spacing type, OOo provides values either absolute value in 'pt' or relative ones in '%'

CSS style text attributes exposed by OpenOffice.org 3.0 or later


CSS style text attributes exposed by OpenOffice.org 3.0 or later Attribute name tab-stops tab-interval Attribute description This property lists the positions of manually set tab stops in mm OOo property name Text attribute Default text attribute ParaTabStops no no yes yes

This property describes the interval between default tab stops in mm ParaTabStops

Text Markup Exposed as Text Attributes at the ATK-bridge by OpenOffice.org 3.0 or later
text markup exposed as text attributes exposed by OpenOffice.org 3.0 or later Attribute name text-spelling:misspelled text-trackedchange:insertion text-trackedchange:deletion text-trackedchange:attribute-change Attribute description OOo text markup type Text attribute yes yes yes Default text attribute no no no no

identifies misspelled text, if it is visualized com::sun::star::text::TextMarkupType::SPELLCHECK correspondingly identifies tracked inserted text, if it is visualized correspondingly identifies tracked deleted text, if it is visualized correspondingly com::sun::star::text::TextMarkupType::TRACK_CHANGE_INSERTION com::sun::star::text::TextMarkupType::TRACK_CHANGE_DELETION

identifies tracked text attribute changes, if com::sun::star::text::TextMarkupType::TRACK_CHANGE_FORMATCHANGE yes it is visualized correspondingly

Anda mungkin juga menyukai