CMD
This command is called: BaseExtensions:set-proofing-language
Examples of the command:<Cmd case="BaseExtensions:set-proofing-language" ProofingLanguage="wdEstonian" StylesSetProofingLanguage="wdStyleHeading1;wdStyleHeading2;wdStyleHeading3" />
<Cmd case="BaseExtensions:set-proofing-language" ProofingLanguage="wdEstonian" StylesSetProofingLanguage="All" />
Parameters
ProofingLanguage or proofing-language
Required. The new proofing language which should be used and it must be selected from this WdLanguageID
StylesSetProofingLanguage or styles-set-proofing-language
Defines which styles in the document should update their proofing language. It is a list of strings separated by ; and it can include builtin stylenames from WdBuiltinStyle or custom names as string.
A third option is "All" which will update all styles that has a languageID-property.
If omitted only the Normal-style (wdStyleNormal) will be updated.
Example: StylesSetProofingLanguage="Normal;wdStyleHeading1;wdStyleHeading2"
Note: Stylenames are subject to user-language so "Heading 1" is not always "Heading 1" for the user.
Comments
0 comments
Please sign in to leave a comment.