The previous stage has been busy graduation design, which is required to online browsing technology to achieve the document online browsing, but because of tight time, but also did not contact, so then directly jumped past. But the heart has always seemed to have a lump, always want to solve it, can not resist the desire of the heart, now idle down to spend time to study, of course, just simple to achieve the function, as the follow-up to the expansion of the need for in-depth research, the following we will understand it.
In this article, the online browsing technology, not the implementation of the browser to open Word, xls, PPT, PDF and other documents, but through the program to upload a variety of user-formatted documents to the SWF file (Flash file) displayed in the browser, rendering the effect of online browsing, Of course, program developers can customize other functions that can be manipulated when browsing online, such as editing, searching, and so on.
If we want to achieve such a function, we need to do the following:
Step One: Download OpenOffice, install, and invoke OpenOffice.org system services to convert Office documents to PDF
Step Two: Download Swftools, call Swftools convert PDF to SWF
step three: Download Flexpaper, use Flexpaper to browse SWF files in the foreground
Note: In this case, the tools use the version:
Openoffice:apache_openoffice_4.1.1_win_x86_install_zh-cn.exe
Swftools:swftools 0.9.2
flexpaper_2.2.1
This section is a simple introduction and will be implemented in the following sections.
Reference: http://www.cnblogs.com/star-studio/archive/2011/12/09/2281807.html
This article uses the tool and the project source code to be able to download through this link: Http://yunpan.cn/cw3wqzhqh238B access password D8D5