Word VBA教程:特定语言的属性和方法

Microsoft Word 2002 Visual Basic对象模型具有用于亚洲语言和从右向左语言的特定语言关键字。特定语言关键字的可用性取决于您选择或安装的语言支持。本主题包含关于下列 Visual Basic 特定语言项目的信息。

特定语言属性

仅用于亚洲或从右向左语言的属性如下表所列。

属性 对象
AddBiDirectionalMarksWhenSavingTextFile Options
AddControlCharacters Options
AddHebDoubleQuote Options
AddSpaceBetweenFarEastAndAlpha Paragraph、ParagraphFormat 和 Paragraphs
AddSpaceBetweenFarEastAndDigit Paragraph、ParagraphFormat 和 Paragraphs
AllowCombinedAuxiliaryForms Options
AllowCompoundNounProcessing Options
ApplyFarEastFontsToAscii Options
ArabicMode Options
ArabicNumeral Options
AutoAdjustRightIndent Paragraph、ParagraphFormat 和 Paragraphs
AutoFormatApplyFirstIndents Options
AutoFormatAsYouTypeApplyClosings Options
AutoFormatAsYouTypeApplyDates Options
AutoFormatAsYouTypeApplyFirstIndents Options
AutoFormatAsYouTypeAutoLetterWizard Options
AutoFormatAsYouTypeDeleteAutoSpaces Options
AutoFormatAsYouTypeInsertClosings Options
AutoFormatAsYouTypeInsertOvers Options
AutoFormatAsYouTypeMatchParentheses Options
AutoFormatAsYouTypeReplaceFarEastDashes Options
AutoFormatDeleteAutoSpaces Options
AutoFormatMatchParentheses Options
AutoFormatReplaceFarEastDashes Options
BaseLineAlignment Paragraph、ParagraphFormat 和 Paragraphs
BoldBi Font 和 Range
BookFoldRevPrinting PageSetup
BuiltinDictionary HangulHanjaConversionDictionaries
CharacterUnitFirstLineIndent Paragraph、ParagraphFormat 和 Paragraphs
CharacterUnitLeftIndent Paragraph、ParagraphFormat 和 Paragraphs
CharacterUnitRightIndent Paragraph、ParagraphFormat 和 Paragraphs
CharacterWidth Range
CharsLine PageSetup
CheckHangulEndings Options
ColorIndexBi Font
CombineCharacters Range
ConvertHighAnsiToFarEast Options
CorrectHangulAndAlphabet AutoCorrect
CorrectHangulEndings Find
CursorMovement Options
DiacriticColor Font
DiacriticColorVal Options
DisableCharacterSpaceGrid Font 和 Range
DisableLineHeightGrid Paragraph、ParagraphFormat 和 Paragraphs
DisplayGridLines Options
DisplayLeftScrollBar Window
DisplayRightRuler Window
DocumentViewDirection Options
DoNotEmbedSystemFonts Document
DoubleQuote PageNumbers
EmphasisMark Font 和 Range
EnableHangulHanjaRecentOrdering Options
FarEastLineBreakControl Paragraph、ParagraphFormat 和 Paragraphs
FarEastLineBreakLanguage Document 和 Template
FarEastLineBreakLevel Document 和 Template
Filter Index
FitTextWidth Range 和 Selection
FlowDirection TextColumns
GridOriginFromMargin Document
GridSpaceBetweenHorizontalLines Document
GridSpaceBetweenVerticalLines Document
GutterPos PageSetup
GutterStyle PageSetup
HalfWidthPunctuationOnTopOfLine Paragraph、ParagraphFormat 和 Paragraphs
HangingPunctuation Paragraph、ParagraphFormat 和 Paragraphs
HangulAndAlphabetAutoAdd AutoCorrect
HangulAndAlphabetExceptions AutoCorrect
HangulHanjaDictionaries Application 和 Global
HangulHanjaFastConversion Options
HebrewMode Options
HorizontalInVertical Range
IMEAutomaticControl Options
IMEMode Window
InlineConversion Options
ItalicBi Font 和 Range
JustificationMode Document 和 Template
Kana Range
KerningByAlgorithm Document 和 Template
LayoutMode PageSetup
LinesPage PageSetup
LineUnitAfter Paragraph、ParagraphFormat 和 Paragraphs
LineUnitBefore Paragraph、ParagraphFormat 和 Paragraphs
MatchAlefHamza Find
MatchByte Find
MatchControl Find
MatchDiacritics Find
MatchFuzzy Find
MatchFuzzyAY Options
MatchFuzzyBV Options
MatchFuzzyByte Options
MatchFuzzyCase Options
MatchFuzzyDash Options
MatchFuzzyDZ Options
MatchFuzzyHF Options
MatchFuzzyHiragana Options
MatchFuzzyIterationMark Options
MatchFuzzyKanji Options
MatchFuzzyKiKu Options
MatchFuzzyOldKana Options
MatchFuzzyProlongedSoundMark Options
MatchFuzzyPunctuation Options
MatchFuzzySmallKana Options
MatchFuzzySpace Options
MatchFuzzyTC Options
MatchFuzzyZJ Options
MatchKashida Find
MonthNames Options
MultipleWordConversionsMode Options
NameBi Font
NoLineBreakAfter Document 和 Template
NoLineBreakBefore Document 和 Template
PrintEvenPagesInAscendingOrder Options
PrintOddPagesInAscendingOrder Options
ReadingOrder Paragraph、ParagraphFormat 和 Paragraphs
RecipientNamefromLeft Envelope
RecipientNamefromTop Envelope
RecipientPostalfromLeft Envelope
RecipientPostalfromTop Envelope
SectionDirection PageSetup
SenderNamefromLeft Envelope
SenderNamefromTop Envelope
SenderPostalfromLeft Envelope
SenderPostalfromTop Envelope
ShowControlCharacters Options
ShowDiacritics Options
ShowOptionalBreaks View
SizeBi Font
SortBy Index
StrictFinalYaa Options
StrictInitialAlefHamza Options
TableDirection Rows、Table
TwoLinesInOne Range
TwoPagesOnOne PageSetup
UseCharacterUnit Options
UseDiffDiacColor Options
UseGermanSpellingReform Options
Vertical Envelope 和 MailingLabel
VisualSelection Options

特定语言的方法

仅用于亚洲或从右向左语言的方法如下表所列。

方法 对象
BoldRun Selection
CheckConsistency Document
ClearAllFuzzyOptions Find
ConvertHangulAndHanja Range
ConvertVietDoc Document
IndentCharWidth Paragraph、ParagraphFormat 和 Paragraphs
IndentFirstLineCharWidth Paragraph、ParagraphFormat 和 Paragraphs
ItalicRun Selection
KeyboardBidi Application
KeyboardLatin Application
LtrPara Selection
LtrRun Selection
ModifyEnclosure Range
PhoneticGuide Range
RtlPara Selection
RtlRun Selection
SetAllFuzzyOptions Find
TCSCConverter Range
ToggleKeyboard Application

特定语言的参数

可用于所有语言但有一个或多个特定语言参数的方法如下表所列。

方法 对象
Execute Find
InsertDateTime Range 和 Selection
InsertSymbol Range 和 Selection
PrintOut Application、Document 和 Window
Sort Column、Range、Selection 和 Table

注意  若要启用 Microsoft Word 的特定语言功能,必须运行支持特定语言的 32 位版本的 Microsoft Windows 操作系统。例如,Microsoft Windows 95 的阿拉伯语版本提供对从右向左语言的支持。详细信息,请参阅关于从右向左语言或亚洲语言的要求

Word VBA教程

Word VBA参考教程:目录1 Word VBA参考教程:目录2
Word VBA参考教程:目录3 Word VBA参考教程:目录4
Word VBA参考教程:目录5 Word VBA参考教程:目录6
Word VBA参考教程:目录7 Word VBA参考教程:目录8
Word VBA参考教程:目录9 Word VBA参考教程:目录10
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号