#1253 - add explanatory comment

This commit is contained in:
Martin Hanzl 2018-10-11 11:28:44 +02:00
parent 7eb19c8f76
commit e19de8e8a4
1 changed files with 2 additions and 0 deletions

View File

@ -503,6 +503,8 @@ class TemplateProcessor
}
/**
* Usually, the name of main part document will be 'document.xml'. However, some .docx files (possibly those from Office 365, experienced also on documents from Word Online created from blank templates) have file 'document22.xml' in their zip archive instead of 'document.xml'. This method searches content types file to correctly determine the file name.
*
* @return string
*/
protected function getMainPartName()