Change spelling language (W/P)

Modified on Mon, 5 Oct at 1:55 PM

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:

Code
...\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").

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article