is there any mature solution for PHP to realize online preview of OFFICE-related files
is there any mature solution for PHP to realize online preview of OFFICE-related files
after the file is converted to pdf, then preview pdf
it is recommended that you directly use the parsing service provided by Microsoft. It is very convenient and effective.
is also super easy to use, just refer to the absolute address of the office file directly. Like this:
https://view.officeapps.live.com/op/view.aspx?src=http://www.a.com/test.doc
where http://www.a.com/test.doc is the absolute address of the document. Call the spliced address directly to iframe, and you can see the effect. Try it
.Note: all files of office series can be previewed. Documents, tables and ppt are all right.
< hr > Technology Stack
php exec/shell
Liboffice converts office files pdf
Firefox's open source project pdf.js
Previous: The following error occurred in pycurl under Centos
Next: The incomprehension of the scope of python and js variables