Directory
Baidu Library solution (I)-Overall Thinking
Baidu Library solution (2) -- use Jacob to call MS Office to convert the document to PDF
Baidu Library solution (3) -- use JCom to call MS Office or Acrobat API to convert the document to PDF
Similar to Baidu Library solution (4) -- use JODConverter to call OpenOffi
From: http://dungenessbin.diandian.com/post/2012-04-20/19373103
Last year, an OA system was developed, which requires one-click Document Upload and online preview, similar to the functions of Baidu Library.
System Environment: centos5.5Tools used: OpenOffice 3, ipv2swf tool, jodconverter, and flexpaper
I have found some information on the Internet. Someone has already implemented this function, but I wrote something in Java, but PHP didn't find it.Based on the implementation experien
Directory
Baidu Library solution (I)-Overall Thinking
Baidu Library solution (2) -- use Jacob to call MS Office to convert the document to PDF
Baidu Library solution (3) -- use jcom to call MS Office or Acrobat API to convert the document to PDF
Similar to Baidu Library solution (4) -- use jodconverter to call OpenOffi
Development of the customer site encountered a demand, customer requests backstage upload PDF file, front desk can be in the form of book direct access.The first thought is the use of JS solution, the user access to the front-end page, PHP will file path to JS, so that JS presents the effect of the book. Baidu on the Internet a circle also did not find ready-made plug-ins.As a result of the flash done by someone, it is necessary to
Use swftools to convert a PDF document to a SwF document for use in flexpaperviewer
Import Java. io. ioexception; import Java. io. inputstreamreader; public class stringutil {public static Boolean executecmdflash (string cmd) {stringbuffer stdout = new stringbuffer (); try {final process = runtime.getruntime(cmd.exe C (CMD); runtime. getruntime (). addshut
Package com. Iori. webapp. util;
Import java. Io. bufferedreader;Import java. Io. ioexception;Import java. Io. inputstream;Import java. Io. inputstreamreader;
Public class extends 2swfutil {/*** Use the swftools tool to convert a PDF file to a SWF file. The converted SWF file has the same name as the
Address: http://blog.sina.com.cn/s/blog_66d6c8870100u37j.html
FlashPaper is a tool for converting files in other formats (such as txt, doc, pdf, jpg, and xls) into swf files;
This is a detailed and reproducible configuration for using flashpaper.exe to convert files in web applications/sites.
Previously, I found a lot of FlashPaper configurations on the Internet
Install Swftool in linux and convert the PDF file to swf to browse files online. The linux system I installed is CentOs 5.5. Download swftools-0.9.1.tar.gz from the Internet first, and then install it using the following steps. 1. First, upload the software to the opt/software Directory through SSH. 2. cd opt/software www.2cto.com 3. decompress the software: [roo
Swftools is a set of sdks used to process Flash SWF files, including:1. Merge tool swfcombine2. Extraction Tool swfextract3. Conversion tools from PDF, JPEG, PNG, Avi, TTF, and wav to SwF: pdf2swf, jpeg2swf, png2swf, avi2swf, font2swf, and wav2swf |4. Text parsing tool swfstrings5. SWF parser swfdump6.
Preface
This blog post on creating PDF files in itext briefly introduces how to create a PDF file. In order to display the PDF file on a Web page, I also need to use the swftools tool to convert the PDF file to a SWF file, the
One, the PDF browseWith the help of the Pdf.js plugin, the advantage of using pdf.js is that there is no need to install additional plugins (such as Flash), which is a pure web-based solution. Download link for plugin: http://mozilla.github.io/pdf.js/.As you can see from the sample code inside the Pdf.js, actually browsing the PDF document is implemented through viewer.html. Follow the link by passing in th
of the class's method implementations to facilitate our mastery of the class.
Two. How to implement PDF file into SWF file
If you need to convert a PDF file to a SWF file in your project, you can introduce the Swftools plug-in into your project, the main feature of the pl
Solution 5: Convert swftools to PDF. Reference: SwF. Applications cannot create their own runtime instances. You can use the getruntime method of the runtime class to obtain the current runtime.
AD: the 2013 cloud computing architect summit is selling tickets at Ultra-low prices
The unzip 2swf tool in the swftools Toolkit can be used to
Last year, the development of an OA system, need to implement a key document upload and realize online preview, similar to the function of Baidu Library. System Environment: CentOs5.5Tools used: Openoffice 3, pdf2swf tool, Jodconverter, Flexpaper On the Internet to find some information, someone has already realized such a function, but it is written in Java, PHP did not find.Combined with the data on the Internet to achieve operational experience.Record and summarize: The whole idea is as follo
Directory
Baidu Library solution (I)-Overall Thinking
Baidu Library solution (2) -- use Jacob to call MS Office to convert the document to PDF
Baidu Library solution (3) -- use JCom to call MS Office or Acrobat API to convert the document to PDF
Similar to Baidu Library solution (4) -- use JODConverter to call OpenOffi
Use the Swftools software tool to convert PDF documents to SWF documents for use in Flexpaperviewer
Import java.io.IOException;
Import Java.io.InputStreamReader;
public class Stringutil {public static Boolean executecmdflash (String cmd) {stringbuffer stdout=new stringbuffer ();
Try {final Process process = Runtime.getruntime (). exec (CMD);
Runtime
Directory
Baidu Library solution (I)-Overall Thinking
Baidu Library solution (2) -- use Jacob to call MS Office to convert the document to PDF
Baidu Library solution (3) -- use JCom to call MS Office or Acrobat API to convert the document to PDF
Similar to Baidu Library solution (4) -- use JODConverter to call OpenOffi
The general process is to convert word to pdf format, and then convert pdf to swf format. The content displayed on the webpage is actually in the swf format. the specific implementation is as follows. if you need this content, ple
The general process is to convert word to pdf format, and then convert pdf to swf format. The content displayed on the webpage is actually in the swf format. the specific implementation is as follows. if you need this content, ple
Convert word to swf and read implementation ideas and code like Baidu Library. Copy the code as follows: SPAN requires a series of conversions to implement similar functions like Baidu Library. the general process is to convert word
The code is as follows:
Similar functions like Baidu Library require a series of conversions. the general process is to
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.