XmlApi - pdx:setLanguage

pdx:setLanguage

Sets the default language of the Word document.

Note

You are reading the XMLAPI documentation. For the API method please go to setLanguage.

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: