|All requests||>||What is the best PHP docx to pdf class?||>||Request new recommendation||>||Featured requests||>||No recommendations|
by saurabh karve - 3 years ago (2016-01-13)
I want to view the currently uploaded files (which are in Excel format) in PDF format.
If I upload a docx or pptx file, then I should be able to view in PDF reader or in PDF format.
2. by Arash. Ataei - 3 years ago (2016-01-20) Reply
If you wanna convert a file into another file ( .docx -> .pdf ), you need to know the scenario. I will post the scenarion as soon as possible.
1. by Axel Hahn - 3 years ago (2016-01-19) Reply
You need to convert office documents first. It can be done with a libreoffice installation (that requires java on your webserver).
/usr/bin/lowriter --headless --convert-to pdf [infile]
it converts minimum "doc", "docx", "ppt", "pptx", "rtf", "xls", "xlsx"
With a few traffic you can start the converter ie.e. with exec(). This creates a new process on your system and many of it will end in a high system load. Then you need a spooler.
Do you search for a converter or a spooler?
Upload you DOCX file PHP-Reports Template Manager and convert / download from your code.