Forum


Replies: 6   Views: 3834
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 acunnington  · 16-05-2014 - 10:54

Hi again,



To save some time, I will just show the code that generates it. If you NEED a screenshot/file, I will upload in due course.




$lineNumberingOptions = array(
'countBy' => 5,
'start' => 1,
'restart' => 'newPage'
);
$docx->addLineNumbering($lineNumberingOptions);


Thanks,

Harry