file upload - Conversion of complex DOCXs to PDFs in a PHP web environment -


i working on php web application programatically generates docx files. want these files to converted pdf, layout complex not php-pdf generator library (dompdf, tcpdf, etc.) works well. result in poorly formatted pdf in each case.

in situation, have decided let google drive conversion. this, have to:

  1. upload docx files gdrive
  2. and export them in pdf...

i have seen of gdrive api documentation, poorly documented. want execute 1 single php script which:

  • uploads file gdrive
  • downloads exported pdf version
  • lets pdf downloaded when script finished...

i searching optimal way achieve behaviour... (with or without gdrive, since libreoffice/openffice cli command not option because on web hosting , can't install software...).

have considered using file conversion service ?

for complete transparency work zamzar (an online file conversion website), have released developer api - https://developers.zamzar.com/ allow convert docx files pdf little or no loss of formatting.

this eradicate need convert file(s) using google drive api. check out our extensive docs here - https://developers.zamzar.com/docs.


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

Save and close a word document by giving a name in R -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -