PHP realizes the effect of imitating Baidu library and Douding online documents (word, excel, ppt to flash)

The example in this article describes the effect of PHP’s imitation of Baidu library and Douding online documents. Share it with everyone for your reference, as follows: Because the project needs to realize the function similar to Baidu library, and it is a project I do alone, so I thought of finding a free and ready-made one to use. The ones found online are all the same. As follows: Flash Paper supports direct conversion of Office documents (.doc,.xls,.ppt) to PDF or SWF, with fast speed and good effect. Unfortunately, Flash Paper has not been updated after V2.2. After installing Flash Paper, you can directly use commands to call FlashPrinter.exe to realize batch conversion. For example: C:\FlashPaper2.2\FlashPrinter.exe C:\Flex Technology Introduction.ppt -o C:\Flex Technology Introduction.swf Download a FlashPaper, after installation, a virtual printer will appear in the printer of the control panel, this means that the installation is successful, I have tried 32-bit and 64-bit under win7, but it cannot be installed. Try the above command on the command line, and adjust the path according to yourself. After execution, it means that it can be used successfully. Next is the use of php, php uses exec, or system, etc. to execute cmd…

Detailed explanation of html to realize the function of online preview of word, excel, pdf and other files (with code)

Detailed html implementation online The function of previewing word, excel, pdf and other files (with code) The function is very convenient, let’s take a look together, if there is any deficiency, I hope everyone can point it out. Directly refer to the method provided by Microsoft through iframe In https Note: Links containing Chinese need to be URL encoded, and the document must be publicly accessible on the Internet Official Use Document pdf online browsing PDF.js download address http://jhyt.oss-cn-shanghai.aliyuncs. com/images/1531367199089_PDFObject.js How to use Introduce pdf.js file c Create a p for display Dynamically add the pdf address that needs to be browsed through js var optiOns = { height: “550px”, pdfOpenParams: {view: 'FitV', page: '0' }, name: “mans”, fallbackLink: “Your browser does not support this pdf, please download the latest browser” }; PDFObject.embed(url, “#example1″,options); Preview Thank you for reading, I hope you will benefit from it. This article is transferred from: https://blog.csdn.net/superKM/article/details/81013304 Recommended tutorial: “HTML Tutorial” The above is the detailed explanation of HTML implementation online Preview the details of the functions (with codes) of word, excel, pdf and other files. For more information, please pay attention to other related articles on 1024programmer.com!

Detailed explanation of html to realize the function of online preview of word, excel, pdf and other files (with code)

Detailed html implementation online The function of previewing word, excel, pdf and other files (with code) The function is very convenient, let’s take a look together, if there is any deficiency, I hope everyone can point it out. Directly refer to the method provided by Microsoft through iframe In https Note: Links containing Chinese need to be URL encoded, and the document must be publicly accessible on the Internet Official Use Document pdf online browsing PDF.js download address http://jhyt.oss-cn-shanghai.aliyuncs. com/images/1531367199089_PDFObject.js How to use Introduce pdf.js file c Create a p for display Dynamically add the pdf address that needs to be browsed through js var optiOns = { height: “550px”, pdfOpenParams: {view: 'FitV', page: '0' }, name: “mans”, fallbackLink: “Your browser does not support this pdf, please download the latest browser” }; PDFObject.embed(url, “#example1″,options); Preview Thank you for reading, I hope you will benefit from it. This article is transferred from: https://blog.csdn.net/superKM/article/details/81013304 Recommended tutorial: “HTML Tutorial” The above is the detailed explanation of HTML implementation online Preview the details of the functions (with codes) of word, excel, pdf and other files. For more information, please pay attention to other related articles on 1024programmer.com!

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索