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.
In PDF the "A. Lorem" is all underlined, in the docx only "Lorem" is.
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.
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