PHP Classes

What is the best PHP docx to pdf class?: View DOCX or PPTX uploaded files in PDF format

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP docx to pdf class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP docx to pdf class?

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of saurabh karve by saurabh karve - 9 years ago (2016-01-13)

View DOCX or PPTX uploaded files in PDF format

This request is clear and relevant.
This request is not clear or is not relevant.

+5

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 Clarification requests
  • 2. Picture of Arash. Ataei by Arash. Ataei - 9 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. Picture of Axel Hahn by Axel Hahn - 9 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?

      Ask clarification

      1 Recommendation

      PHP Reports: Generate PDF and DOCX reports from Word templates

      This class can generate PDF and DOCX reports from Word templates.

      It can send HTTP requests to the PHP Reports API to generate report documents in PDF or DOCX files from templates defined in the Microsoft Word format DOCX.

      The class can take the identifier of the template document to use, template variables to replace in the template, and serves the generated report document for download.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +2

      Picture of Murat Cileli by Murat Cileli package author package author Reputation 220 - 9 years ago (2016-04-17) Comment

      Upload you DOCX file PHP-Reports Template Manager and convert / download from your code.


      Recommend package
      : 
      :