Forum


Replies: 2   Views: 3449
Convertion of docx 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 tinu  · 05-04-2013 - 12:51

Hi all,

I am using corporate license and openoffice 3.4
I have also started openoffice headless service.

When I convert my docx to pdf, the header, footer(addHeader() and addFooter functions) and pagebreak('type' => 'page') are all not working in my pdf, but they work in docx.

I am using the below code for conversion:
-------------------------------------------------------------------------
$docx->createDocx('report');
$document = new TransformDoc();
$document->setStrFile('report.docx');
$document->generatePDF();
-------------------------------------------------------------------------
Please let me know what's the issue.

Thanks in advance,
Tinu

Posted by admin  · 11-04-2013 - 12:13

Hello,

PHPDocX Pro + and PHPDocX Corporate packages include a new method to transform documents. Please check this page:

http://www.phpdocx.com/help/conversion-plugin-docx-to-pdf

Regards. Jorge.