XmlApi - pdx:setLanguage

pdx:setLanguage

Sets the default language of the Word document.

Description

Element definition

Sets the default language for the whole Word document.

This is important for grammar and spell checking in the Word interface.

Attributes and sub-elements

value

The language-country ISO codes: en-US, es-ES...

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code

The resulting Word document looks like: