本附錄提供 IAccDictionary中所定義之文字屬性的相關信息。 它會組織成一系列數據表。 每個數據表都包含特定屬性類別的相關信息。 這些類別實際上是巢狀的,但會以下列方式分隔,讓您可以看到屬性。
注意
使用中的輔助功能文字服務已被取代。 如需進階文字輸入和自然語言技術的詳細資訊,請參閱 Microsoft Windows Text Services Framework。
數據表中的每個項目都會提供屬性名稱和易記名稱、類型、級聯樣式表 (CSS) 對等專案、文字物件模型 (TOM) 對等專案,以及適當的任何其他批注。 TOM 對等數據行提供與 屬性搭配使用的 TOM 方法相關信息(ITextFont的一部分、ITextRange或 ITextPara 介面)。 每個數據表之前的資訊會指出哪一個介面支援 屬性;TOM 對等數據表中的資訊表示方法的名稱。 TOM 對等數據行中的每個項目都會與兩種方法相關聯。 例如,Name 專案與 GetName 和 SetName 方法相關聯。
如需這些介面的詳細資訊,請參閱 Windows 軟體開發工具包 (SDK) 中的 文字物件模型 檔。
字體
下表中的屬性與一般字型屬性相關聯。 TOM 對等專案是 ITextFont介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 | 評論 |
|---|---|---|---|---|
| Font_FaceName,facename |
VT_BSTR | 字型系列:Verdana | 名字 | |
| Font_SizePts,sizePts |
VT_I4 | 字型大小:Xpt | 大小 | 大小以點為單位 |
Font_Style
下表中的屬性會尋址字型樣式屬性(例如,文字是以粗體或斜體設定)。 TOM 對等專案是 ITextFont介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 | 評論 |
|---|---|---|---|---|
| Font_Style_Bold,粗體 |
VT_BOOL | 字型粗細:粗體 | 大膽 | |
| Font_Style_Italic斜體 |
VT_BOOL | 字型樣式:斜體 | 斜體的 | |
| Font_Style_SmallCaps,smallcaps |
VT_BOOL | Font-variant:small-caps | SmallCaps | |
| Font_Style_Capitalize,大寫 |
VT_BOOL | 文字轉換:大寫 | 不支援 | |
| Font_Style_Uppercase,大寫 |
VT_BOOL | 文字轉換:大寫 | AllCaps | |
| Font_Style_Lowercase,小寫 |
VT_BOOL | 文字轉換:小寫 | 不支援 | |
| Font_Style_Emboss,浮凸 |
VT_BOOL | 不支援 | 浮雕 | |
| Font_Style_Engrave,雕刻 |
VT_BOOL | 不支援 | 雕刻 | |
| Font_Style_Hidden | VT_BOOL | 不支援 | 隱藏 | |
| Font_Style_Kerning,kerning |
VT_R4 | 不支援 | 字距調整 | 與 GetKerning 相同的值 |
| Font_Style_Outlined,概述 |
VT_BOOL | 不支援 | 概述 | |
| Font_Style_Position,position |
VT_R4 | 不支援 | 位置 | |
| Font_Style_Protected | VT_BOOL | 不支援 | 保護 | |
| Font_Style_Shadow,陰影 |
VT_BOOL | 行高 (減號) | 影子 | |
| Font_Style_Spacing,間距 |
VT_R4 | 字母間距 | 間距 | 以點為單位 |
| Font_Style_Weight,重量 |
VT_I4 | 字型粗細 | WeightSame 值做為字型粗細和 GetWeight |
|
| Font_Style_Height,高度 |
VT_R4 | 線條高度 | 不支援 | 以點為單位 |
| Font_Style_Blink,閃爍 |
VT_BOOL | 文字裝飾:閃爍 | 不支援 | |
| Font_Style_Subscript,下標 |
VT_BOOL | 垂直對齊:子 | 下標 (也是位置) | |
| Font_Style_Superscript,上標 |
VT_BOOL | 垂直對齊:超級 | 上標 (也是位置) | |
| Font_Style_Color,色彩 |
VT_I4 | 顏色 | ForeColor | RBG COLORREF 樣式 |
| Font_Style_BackgroundColor,background_color |
VT_I4 | 背景色彩 | BackColor | RBG COLORREF 樣式 |
Font_Style_Animation
下表中的屬性位址字型動畫。 TOM 對等專案是 ITextFont介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| Font_Style_Animation_LasVegasLights,LasVegas_lights |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_BlinkingBackground,blinking_background |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_SparkleText,sparkle_text |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_MarchingBlackAnts,marching_black_ants |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_MarchingRedAnts,marching_red_ants |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_Shimmer,填充器 |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_WipeDown,wipeDown |
VT_BOOL | 不支援 | 動畫 |
| Font_Style_Animation_WipeRight,wipeRight |
VT_BOOL | 不支援 | 動畫 |
Font_Style_Underline
下表中的屬性會尋址字型的底線樣式。 TOM 對等專案是 ITextFont介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| Font_Style_Underline_Single,單一 |
VT_BOOL | 文字裝飾:底線 | 下劃線 |
| Font_Style_Underline_ Double、double |
VT_BOOL | 文字裝飾:線條 | StrikeThrough |
Font_Style_Strikethrough
下表中的屬性會尋址字型的刪除線樣式。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| Font_Style_Strikethrough_Single,strike_through_single |
VT_BOOL | 不支援 | 不支援 |
| Font_Style_Strikethrough_Double,strike_through_double |
VT_BOOL | 不支援 | 不支援 |
Font_Style_Overline
下表中的屬性會尋址字型的超行樣式。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| Font_Style_Overline_Single,overline_single |
VT_BOOL | 文字裝飾:超行 | 不支援 |
| Font_Style_Overline_Double,overline_double |
VT_BOOL | 文字裝飾:超行 | 不支援 |
發簡訊
下表中的屬性會處理一般文字格式設定屬性。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 | 評論 |
|---|---|---|---|---|
| Text_VerticalWriting,垂直寫入 |
VT_BOOL | 不支援 | 不支援 | 中文/日文使用 |
| Text_RightToLeft,righttoleft |
VT_BOOL | 方向 | 不支援 | |
| Text_ReadOnly,唯讀 |
VT_BOOL | 不支援 | ITextFont::CanChange、ITextRange::CanEdit | 檔的可編輯屬性優先 |
| Text_Language,語言 |
VT_I4 | 不支援 | ITextFont::GetLanguageID、ITextFont::SetLanguageID | LANGID |
| Text_Orientation,方向 |
VT_I4 | 不支援 | 不支援 | 10??? 一度 |
| Text_EmbeddedObject,embedded_object |
VT_BOOL | 不支援 | 不支援 | 允許搜尋內嵌物件 |
| Text_Link,link |
VT_UNKNOWN | 連結 | 不支援 | 對象的介面指標;呼叫 QueryInterface 以取得任何感興趣的介面 |
| Text_Hyphenation,連字元 |
VT_BOOL | 不支援 | ITextPara::GetHyphenation、ITextPara::SetHyphenation |
Text_Alignment
下表中的屬性地址文字對齊方式。 TOM 對等專案是 ITextPara 介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| Text_Alignment_Left,左 |
VT_BOOL | 文字對齊 | 對準 |
| Text_Alignment_Right,右 |
VT_BOOL | 文字對齊 | 對準 |
| Text_Alignment_Center,center |
VT_BOOL | 文字對齊 | 對準 |
| Text_Alignment_Justify,正當性 |
VT_BOOL | 文字對齊 | 對準 |
Text_Para
下表中的屬性會尋址段落的格式設定。 TOM 對等專案是 ITextPara 介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 | 評論 |
|---|---|---|---|---|
| Text_Para_FirstLineIndent,first_line_indent |
VT_R4 | 不支援 | FirstLineIndent | 在 pts 中 |
| Text_Para_LeftIndent,left_indent |
VT_R4 | 不支援 | LeftIndent | 在 pts 中 |
| Text_Para_RightIndent,right_indent |
VT_R4 | 不支援 | RightIndent | 在 pts 中 |
| Text_Para_SpaceAfter,space_after |
VT_R4 | 不支援 | SpaceAfter | 在 pts 中 |
| Text_Para_SpaceBefore,space_after |
VT_R4 | 不支援 | SpaceAfter | 在 pts 中 |
Text_Para_lineSpacing
下表中的屬性會在段落中尋址行距。 TOM 對等專案是 ITextPara 介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 | 評論 |
|---|---|---|---|---|
| Text_Para_lineSpacing_Single,單一 |
VT_BOOL | 不支援 | LineSpacing | |
| Text_Para_lineSpacing_OnePtFive,one_pt_five |
VT_BOOL | 不支援 | LineSpacing | |
| Text_Para_lineSpacing_Double,double |
VT_BOOL | 不支援 | LineSpacing | |
| Text_Para_lineSpacing_AtLeast,at_least |
VT_R4 | 不支援 | LineSpacing | 以行為單位 |
| Text_Para_lineSpacing_Exactly,確切地說 |
VT_R4 | 不支援 | LineSpacing | 以行為單位 |
| Text_Para_lineSpacing_Mutiple,多個 |
VT_R4 | 不支援 | LineSpacing | 以行為單位 |
Text_List
下表中的屬性位址清單和文字清單層級。 TOM 對等專案是 ITextPara 介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 | 評論 |
|---|---|---|---|---|
| Text_List_LevelIndex, | VT_I4 | 不支援 | ListLevelIndex | 其中1是最外層的清單,2是下一個層級,依故 |
Text_List_Type
下表位址清單樣式中的文字屬性。 TOM 對等專案是 ITextPara 介面。
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| Text_List_Type_Bullet,項目符號 |
VT_BOOL | 清單類型 | ListType |
| Text_List_Type_Arabic,阿拉伯文 |
VT_BOOL | List-style-type | ListType |
| Text_List_Type_LowerLetter,lower_letter |
VT_BOOL | List-style-type | ListType |
| Text_List_Type_UpperLetter,upper_letter |
VT_BOOL | List-style-type | ListType |
| Text_List_Type_LowerRoman,lower_roman |
VT_BOOL | List-style-type | ListType |
| Text_List_Type_UpperRoman,upper_roman |
VT_BOOL | List-style-type | ListType |
應用程式
| 屬性名稱、易記名稱 | 類型 | CSS 對等專案 | TOM 對等專案 |
|---|---|---|---|
| App_IncorrectSpelling,incorrect_spelling |
VT_BOOL | 不支援 | |
| App_IncorrectGrammar,incorrect_grammar |
VT_BOOL | 不支援 |