Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
I'm trying to convert docx templates to pdf on a Linux server using OpenOffice ("transformDocument()" method of new phpdocx 4).
The template includes a table in the header. When converted, this table is positioned completely worng, the resulting pdf is unusable. I tried many things, but couldn't get a result as expected.
On the test server, wich is running Windows + MS Word, the converted odf is perfect.
I understand, that OpenOffice doesn't work 100% as MS Word does, but my question is how to solve the issue?
Can the conversion result with OpenOffice be improved?
If not, is there an online service (API) running on a windows server, where the docx can be sent to and a pdf is returned?
Thanks for your suggestions.