Forum


Replies: 6   Views: 3954
Convert docx to pdf whilst not losing line number
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 jorgelj  · 20-05-2014 - 13:08

Hi,



If you don't use Odfconverter to do the transformation:



$docx->transformDocx('pages-word2-output-1-This-is-my-amazing-title.docx', 'example_text.pdf', null, array('odfconverter' => false));



The PDF will include the line numbering. We're going to check OdfConverter to find any issue but this is a quick solution if your documents don't use complex tables.



Regards.