Merge branch 'master' of https://github.com/PHPOffice/PHPWord into develop
This commit is contained in:
commit
5a5562cd99
|
|
@ -228,7 +228,7 @@ The default language of the document can be change with the following.
|
||||||
$phpWord->getSettings()->setThemeFontLang(new Language(Language::FR_BE));
|
$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.
|
``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.
|
In case you are generating an RTF document the language need to be set differently.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue