(a) Java implementation document online Browsing-Introduction __java online document browsing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.