Export (0) Print
Expand All

Appendix E: Text Attributes for Active Accessibility Text Services Dictionary

This appendix provides information about text attributes that are defined in IAccDictionary. It is organized as a series of tables. Each table includes information about a specific category of attributes. These categories are actually nested, but are separated below so that you can see the attributes.

Note  Active Accessibility Text Services is deprecated. Please see Microsoft Windows Text Services Framework for more information on advanced text input and natural language technologies.

Each entry in a table provides an attribute name and friendly name, type, Cascading Style Sheets (CSS) equivalent, Text Object Model (TOM) equivalent, and any additional comments where appropriate. The TOM equivalent column provides information about the TOM method used with the attribute (part of the ITextFont, ITextRange, or ITextPara interfaces). The information prior to each table indicates which interface supports the attributes; the information in the TOM equivalent table indicates the name of the method. Each entry in the TOM equivalent column is associated with two methods. For example, the Name entry is associated with the GetName and SetName methods.

For more information about these interfaces, see the Text Object Model documentation in the Windows Software Development Kit (SDK).

Font

The attributes in the following table are associated with general font attributes. The TOM equivalent is the ITextFont interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalentComment
Font_FaceName,

facename

VT_BSTRFont-family: VerdanaName
Font_SizePts,

sizePts

VT_I4Font-size: XptSizeSize is in points

 

Font_Style

The attributes in the following table address font style attributes (for example, whether the text is set in bold or italic). The TOM equivalent is the ITextFont interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalentComment
Font_Style_Bold,

bold

VT_BOOLFont-weight: boldBold
Font_Style_Italic,

italic

VT_BOOLFont-style: italicItalic
Font_Style_SmallCaps,

smallcaps

VT_BOOLFont-variant: small-capsSmallCaps
Font_Style_Capitalize,

capitalize

VT_BOOLText-transform: capitalizeNot supported
Font_Style_Uppercase,

uppercase

VT_BOOLText-transform: uppercaseAllCaps
Font_Style_Lowercase,

lowercase

VT_BOOLText-transform: lowercaseNot supported
Font_Style_Emboss,

emboss

VT_BOOLNot supportedEmboss
Font_Style_Engrave,

engrave

VT_BOOLNot supportedEngrave
Font_Style_HiddenVT_BOOLNot supportedHidden
Font_Style_Kerning,

kerning

VT_R4Not supportedKerningSame values as GetKerning
Font_Style_Outlined,

outlined

VT_BOOLNot supportedOutlined
Font_Style_Position,

position

VT_R4Not supportedPosition
Font_Style_ProtectedVT_BOOLNot supportedProtected
Font_Style_Shadow,

shadow

VT_BOOLLine-height (minus numbers)Shadow
Font_Style_Spacing,

spacing

VT_R4Letter-spacingSpacingIn points
Font_Style_Weight,

weight

VT_I4Font-weightWeight

Same values as font-weight and GetWeight

Font_Style_Height,

height

VT_R4Line-heightNot supportedIn points
Font_Style_Blink,

blink

VT_BOOLText-decoration: blinkNot supported
Font_Style_Subscript,

subscript

VT_BOOLVertical-align: subSubscript (also Position)
Font_Style_Superscript,

superscript

VT_BOOLVertical-align: superSuperscript (also Position)
Font_Style_Color,

color

VT_I4ColorForeColorRBG COLORREF style
Font_Style_BackgroundColor,

background_color

VT_I4Background-colorBackColorRBG COLORREF style

 

Font_Style_Animation

The attributes in the following table address font animation. The TOM equivalent is the ITextFont interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
Font_Style_Animation_LasVegasLights,

LasVegas_lights

VT_BOOLNot supportedAnimation
Font_Style_Animation_BlinkingBackground,

blinking_background

VT_BOOLNot supportedAnimation
Font_Style_Animation_SparkleText,

sparkle_text

VT_BOOLNot supportedAnimation
Font_Style_Animation_MarchingBlackAnts,

marching_black_ants

VT_BOOLNot supportedAnimation
Font_Style_Animation_MarchingRedAnts,

marching_red_ants

VT_BOOLNot supportedAnimation
Font_Style_Animation_Shimmer,

Shimmer

VT_BOOLNot supportedAnimation
Font_Style_Animation_WipeDown,

wipeDown

VT_BOOLNot supportedAnimation
Font_Style_Animation_WipeRight,

wipeRight

VT_BOOLNot supportedAnimation

 

Font_Style_Underline

The attributes in the following table address underline styles for fonts. The TOM equivalent is the ITextFont interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
Font_Style_Underline_Single,

single

VT_BOOLText-decoration: underlineUnderline
Font_Style_Underline_ Double,

double

VT_BOOLText-decoration: line-throughStrikeThrough

 

Font_Style_Strikethrough

The attributes in the following table address strikethrough styles for fonts.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
Font_Style_Strikethrough_Single,

strike_through_single

VT_BOOLNot supportedNot supported
Font_Style_Strikethrough_Double,

strike_through_double

VT_BOOLNot supportedNot supported

 

Font_Style_Overline

The attributes in the following table address overline styles for fonts.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
Font_Style_Overline_Single,

overline_single

VT_BOOLText-decoration: overlineNot supported
Font_Style_Overline_Double,

overline_double

VT_BOOLText-decoration: overlineNot supported

 

Text

The attributes in the following table address general text formatting attributes.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalentComment
Text_VerticalWriting,

vertical writing

VT_BOOLNot supportednot supportedAs used by Chinese/Japanese
Text_RightToLeft,

righttoleft

VT_BOOLDirectionNot supported
Text_ReadOnly,

read only

VT_BOOLNot supportedITextFont::CanChange, ITextRange::CanEditThe document's editable property takes precedence
Text_Language,

language

VT_I4Not supportedITextFont::GetLanguageID, ITextFont::SetLanguageIDLANGID
Text_Orientation,

orientation

VT_I4Not supportedNot supported10ths of a degree
Text_EmbeddedObject,

embedded_object

VT_BOOLNot supportedNot supportedAllows searching for embedded objects
Text_Link,

link

VT_UNKNOWNLinkNot supportedAn interface pointer to the object; call QueryInterface for any interface of interest
Text_Hyphenation,

hyphenation

VT_BOOLNot supportedITextPara::GetHyphenation, ITextPara::SetHyphenation

 

Text_Alignment

The attributes in the following table address text alignment. The TOM equivalent is the ITextPara interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
Text_Alignment_Left,

left

VT_BOOLText-alignAlignment
Text_Alignment_Right,

right

VT_BOOLText-alignAlignment
Text_Alignment_Center,

center

VT_BOOLText-alignAlignment
Text_Alignment_Justify,

justify

VT_BOOLText-alignAlignment

 

Text_Para

The attributes in the following table address formatting for paragraphs. The TOM equivalent is the ITextPara interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalentComment
Text_Para_FirstLineIndent,

first_line_indent

VT_R4Not supportedFirstLineIndentIn pts
Text_Para_LeftIndent,

left_indent

VT_R4Not supportedLeftIndentIn pts
Text_Para_RightIndent,

right_indent

VT_R4Not supportedRightIndentIn pts
Text_Para_SpaceAfter,

space_after

VT_R4Not supportedSpaceAfterIn pts
Text_Para_SpaceBefore,

space_after

VT_R4Not supportedSpaceAfterIn pts

 

Text_Para_lineSpacing

The attributes in the following table address line spacing in paragraphs. The TOM equivalent is the ITextPara interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalentComment
Text_Para_lineSpacing_Single,

single

VT_BOOLNot supportedLineSpacing
Text_Para_lineSpacing_OnePtFive,

one_pt_five

VT_BOOLNot supportedLineSpacing
Text_Para_lineSpacing_Double,

double

VT_BOOLNot supportedLineSpacing
Text_Para_lineSpacing_AtLeast,

at_least

VT_R4Not supportedLineSpacingIn lines
Text_Para_lineSpacing_Exactly,

exactly

VT_R4Not supportedLineSpacingIn lines
Text_Para_lineSpacing_Mutiple,

multiple

VT_R4Not supportedLineSpacingIn lines

 

Text_List

The attributes in the following table address lists and levels of text lists. The TOM equivalent is the ITextPara interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalentComment
Text_List_LevelIndex,VT_I4Not supportedListLevelIndexWhere 1 is the outermost list, 2 is the next level, and so on

 

Text_List_Type

The attributes in the following table address list styles for text. The TOM equivalent is the ITextPara interface.

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
Text_List_Type_Bullet,

bullet

VT_BOOLList-typeListType
Text_List_Type_Arabic,

Arabic

VT_BOOLList-style-typeListType
Text_List_Type_LowerLetter,

lower_letter

VT_BOOLList-style-typeListType
Text_List_Type_UpperLetter,

upper_letter

VT_BOOLList-style-typeListType
Text_List_Type_LowerRoman,

lower_roman

VT_BOOLList-style-typeListType
Text_List_Type_UpperRoman,

upper_roman

VT_BOOLList-style-typeListType

 

App

Attribute name, Friendly nameTypeCSS equivalentTOM equivalent
App_IncorrectSpelling,

incorrect_spelling

VT_BOOLNot supported
App_IncorrectGrammar,

incorrect_grammar

VT_BOOLNot supported

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft