Page 1 of 1

Export Word - Text alignment

Posted: Mon Feb 12, 2024 7:05 pm
by Cat

Hello everyone

files exported with phpword extension do not open

VersiĆ³n 2024.8


Re: Export Word

Posted: Tue Feb 13, 2024 8:48 am
by arbei

Note that PhpWord exports .docx only. If it cannot be opened, the export might not be successful, you may open it with a text editor and check the content. You should also enable Debug and check the logs.


Re: Export Word

Posted: Tue Feb 13, 2024 9:33 am
by Cat

The exported file could be opened with open office.

Error with office365, word2017

additionally when opening the text alignment does not work as it says in the improvements of version 2024.8

Improved: Support text alignment on export (PhpSpreadsheet/PhpWord extensions)


Re: Export Word

Posted: Tue Feb 13, 2024 1:32 pm
by arbei

I only tested with office.com and it works fine. As for text alignment, make sure you have set the Style -> Align setting under View Tag.


Re: Export Word

Posted: Tue Feb 13, 2024 11:22 pm
by Cat

Hello, I just identified that all the tables that have a text field export but the file does not open when removing said field, it works


Re: Export Word

Posted: Mon Feb 19, 2024 8:44 am
by Cat

solved thank you

2024.8