TemplateProcessor: How to Remove [Compatibility Mode] text in the MS Word title bar
Author: codoCreated Mar 27, 2026Updated Mar 27, 2026
How to Remove [Compatibility Mode] text in the MS Word title bar. I know in PhpWord it can be done like this: $phpWord = new PhpWord(); $phpWord->getCompatibility()->setOoxmlVersion(15); $languageNL = new PhpOffice\PhpWord\Style\Language(PhpOffice\PhpWord\Style\Language::NL_NL); $phpWord->getSettings()->setThemeFontLang($languageNL);
Does anyone know how to do it for the TemplateProcessor?
Source: PHPOffice/PHPWord