DWQA QuestionsCategory: ProgramWhat technology should be used to realize the interface of office file format exchange?
Make a fuss asked 4 months ago

At present, there is a need to convert office document format to web version, and to convert. PDF. Doc. PPT and other formats.
The Aspose plug-in can realize this conversion function, but I think it is only in. Net version.
The back-end language I use is PHP. I want to process the user’s interactive upload file and other functions through PHP, and then use the Aspose plug-in to convert the user’s uploaded documents. How can the two interact?

1 Answers
Mr_houzi answered 4 months ago

You can use phpword to convert word to HTML, and then use dompdf to convert HTML to PDF
https://github.com/PHPOffice/…
https://github.com/dompdf/dompdf
Recommend a place
https://github.com/ziadoz/awe…