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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -