Forum


Replies: 6   Views: 5338
Issue to convet 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 labuser  · 10-12-2014 - 11:45

Hello I am working one of my project http://offensive-logic.com nad we have purchase your lince and we develop report as per your demo & example but we are looking for 2 points. 1. When I create PDF from Docx that time table content did not convert in PDF. So can you please advice me on same. 2. Our report have more than 5 section and I want to section name in header according section running in docx so can you advice me what is feature use for same. I have lot of try for same but did not get idea on same.

Posted by admin  · 10-12-2014 - 16:51

Hello, To test the conversion plugin run the included example transformDocument using the CLI mode and enabling the debug option in this method: http://www.phpdocx.com/api-documentation/format-conversion/convert-Word-docx-into-pdf-with-PHP and check the output. About your other issue please send us a DOCX that exemplify what you need to do to contact@phpdocx.com. Regards.

Posted by labuser  · 11-12-2014 - 06:49

Thanks for quick reply. I have laready convert DOCX to pdf and working fine but issue is that I have created table content in word document with help of (http://www.phpdocx.com/api-documentation/word-content/add-table-of-contents-TOC-Word-document-with-PHP) and it is working fine with DOCX. When I convert this doc to PDF that time table of content did not trasfer in pdf so can you please suggest me appropreiate solution for same.

Posted by admin  · 11-12-2014 - 07:32

Hello, Due to how the TOC works in Word (the TOC must be updated manually), it's not transformed. You'd need to create it manually using lists. We're searching for a solution to add support to TOC in a future. Regards.

Posted by labuser  · 18-12-2014 - 11:48

Hello I need folowing link correct example codes so please provide us. Here in document given code is wrong. URL : http://www.phpdocx.com/api-documentation/word-content/add-textbox-Word-document-with-PHP I need correct code for example2 and example3 correct code. Thanks in advance

Posted by admin  · 18-12-2014 - 13:29

Hello, The package include all examples. Please check it in the examples folder after you extract the package. We'll check that page and solve any issue. Regards.

Posted by henri2398  · 24-03-2015 - 06:54

Spam is not allowed.