Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/PHPOffice/PHPWord into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
troosan committed Jun 4, 2021
2 parents eec9e97 + 612fefd commit 5a5562c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ The default language of the document can be change with the following.
$phpWord->getSettings()->setThemeFontLang(new Language(Language::FR_BE));
``Language`` has 3 parameters, one for Latin languages, one for East Asian languages and one for Complex (Bi-Directional) languages.
A couple of language codes are provided in the ``PhpOffice\PhpWord\ComplexType\Language`` class but any valid code/ID can be used.
A couple of language codes are provided in the ``PhpOffice\PhpWord\Style\Language`` class but any valid code/ID can be used.

In case you are generating an RTF document the language need to be set differently.

Expand Down

0 comments on commit 5a5562c

Please sign in to comment.