, Php,flex parsing pdf,office,text documents, similar to the principle of Baidu Library or source code

Source: Internet
Author: User
Help, Php,flex parsing pdf,office,text documents, similar to the principle of Baidu Library or source code
Just like the effect of Baidu Library

After uploading a file, you can use Flex, or Flash to parse files such as office,pdf,text,ppt.

Prior investigation, there is a imagemagicx, you can parse the PDF into a picture,

I Caishuxueqian, ask a tall man, Baidu library How did they do that?

or know to parse a single office,pdf,text,ppt file, write a thought, or source code

Seek the superior.

------Solution--------------------
If you interpret these documents directly in Word PDF ppt, you need an official API to interpret them.
------Solution--------------------
Parsing is difficult, but it seems to be easy to turn into flash.

There is software available to print them in Flash.


------Solution--------------------
PPT into SWF's
Word turns into flash
------Solution--------------------
G According to my understanding, the bottom of the Baidu Library to write the document conversion code, and then into the SWF format, and then transmitted to Baidu's own development of the reader reader.swf to read the completed. If we convert, we can convert all the documents into PDF using PDFCreator, convert them into SWF via Swftools, and finally you can change the reader of Baidu, reader.swf or flex to display the final PDF; personal understanding
------Solution--------------------
discuss
Can not use PHP conversion, without this, CS software. This system requires B/s to do

------Solution--------------------
discuss
Can not use PHP conversion, without this, CS software. This system requires B/s to do

------Solution--------------------
The front desk uploads an. xls,. ppt,. doc file to the background
Background PHP, you can use
Phpexcel
Phpword
Phppowerpoint
These three open source PHP classes to parse, processing binary files as strings and pictures, sounds, stored in a database or folder

Flex to access, back-office production XML to the foreground



You want to read PPT, it seems that you are doing synchronization classroom and other educational software?
  • 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.