How to display DOC/PDF documents on a webpage

Source: Internet
Author: User
How to display DOC/PDF documents on a webpage

How to display DOC/PDF documents online like Baidu Library and. There are two main elements: first, how to convert DOC/PDF documents into swf format, the second is how to display the SWF file. The following briefly describes the two aspects:

Conversion of SwF using DOC/PDF

We recommend that you use the flashpaper2 doc、pptto swf, and swftools(%2swf.exe) to convert the data.

After the two tools are installed, set the corresponding command file path to the environment variable, and use the web development language to call the command in the system for conversion.

Note:

Swftools is a set of utilities that work with Adobe Flash files (SWF files. This toolkit includes SWF files for reading, combining them, and creating programs from other content (such as, sound files, videos or source code) with them. Swftools is released under GPL.

Display SWF System

Display SWF files. We can use the flexpaper open-source system.

Flexpaper is an open-source lightweight component used to display various documents in a browser. It is designed to be used with ipv2swf to display PDF in flex, this process does not require the support of the PDF software environment. It can be used as a flex library. The system URL is as follows:

Http://flexpaper.devaldi.com/

Https://code.google.com/p/flexpaper/

Demo

Http://devaldi.com/adaptiveui/Intl_Monetary_Fund.php? RO = flash, html

Http://devaldi.com/adaptiveui/Intl_Monetary_Fund.php? RO = HTML, flash & prefer = true

Http://devaldi.com/adaptiveui/Intl_Monetary_Fund.php? RO = HTML5, HTML & prefer = true

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.