Forum


Replies: 3   Views: 1695
Columns setting after converted to pdf
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by kobbe  · 29-05-2020 - 07:29

We are using CreateDocxFromTemplate to open a docx, modify it and then create it with createDocx.
To create a PDF file we use transformDocument with libreoffice.

There is two issues we can not figure out.

1)
In PDF the "A. Lorem" is all underlined, in the docx only "Lorem" is.

2)
Looks like a setting is activated that makes column equal height in the PDF, in docx they are not.
We found a way to get equal height in word files also (by adding "continous section break" in end of file), but in this case we do not want it.

Example files:
Original docx - http://by-fireld.se/org.docx
Docx created via phpdocx (looks same as original): https://by-fireld.se/phpdocx.docx
PDF file created from the phpdocx file: http://by-fireld.se/libre.pdf