This feature can be used as a tool for changing the spelling language in the document or presentation. We target all placeholders and elements on all slides, thus our feature is more thorough than the built-in Office feature. The spelling language can also be changed by using document properties.
Modules are located here:
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\02_P_spellingLanguage.xml
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\03_WP_changeSpellingLanguageDocProp.xml
CMD
<Cmd case="BaseExtensions:change-spelling"/>
Parameters
limit
This parameter limits the amount of fetched shapes. If there is a grouped shape having more than defined limit number of child shapes, this grouped shape is excluded from new spelling language change.
wordlang
Document property for Word must be a name from this list, e.g. "wdDanish".
pplang
Document property for PowerPoint must be a value from this list, e.g. "1030".
The parameters "wordlang" and "pplang" should always be used in same command as in this example:
doc-prop-override
This parameter can be defined as either "wordlang" or "pplang". If a document property called "wordlang" or "pplang" is found, the spelling language will be overridden by the value in the document property.
active-slide
Define if changing the spelling language should only happen on the active slide using true
or false
.
If true
, the change in spelling language will only happen on the active slide. If false
or omitted, the command will change the spelling language for the entire presentation.
ianaProp
This parameter is only supported for PowerPoint. Define the name of a document property that has an IANA language code as value. If the parameter is defined, it will overrule the "pplang".
Find the IANA language codes in this list (under "Abbreviation").
Comments
0 comments
Article is closed for comments.