CN103729338A - File on-line previewing method - Google Patents
File on-line previewing method Download PDFInfo
- Publication number
- CN103729338A CN103729338A CN201310743351.7A CN201310743351A CN103729338A CN 103729338 A CN103729338 A CN 103729338A CN 201310743351 A CN201310743351 A CN 201310743351A CN 103729338 A CN103729338 A CN 103729338A
- Authority
- CN
- China
- Prior art keywords
- file
- previewing
- wps
- line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention relates to the technical field of WEB development, in particular to a file on-line previewing method. A text file is converted into a PDF file through the third-party tool wps, and the PDF file is displayed through a front-end PDF plug-in so that the on-line previewing can be achieved. The file on-line previewing method is more rapid, safer, more accurate, higher in speed and smaller in number of lost data. The file on-line previewing method can be widely applied to the file converting and file previewing operation functions.
Description
Technical field
The present invention relates to EB development technique field, be specifically related to the online method for previewing of a kind of file.
Background technology
At present, in internet, a lot of platforms are all supported text, and as the online preview effect of txt, office file, this technology is all changed realization by file at present: the first step, first transfers the various files of txt or office to the file of pdf form; Second step, transfers pdf file to the file of swf form; The 3rd step, by third party swf plug-in unit, shows the file of swf form, reaches the effect of online preview.
Because in traditional method, need to increase and transfer pdf file the flow process of swf file to, therefore can be slow in speed, and in transfer process along with the increase of conversion times, the phenomenon of data distortion also can increase thereupon.Therefore poor on whole structure.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of file online method for previewing; Need only can realize by a file conversion the online preview of file.
The technical scheme that the present invention solves the problems of the technologies described above is:
By third party's instrument wps, transfer text to pdf document, then show by front end PDF plug-in unit, thereby realize online preview.
Comprise the following steps:
The 1st step, installation wps Open-Source Tools;
The 2nd step, server, by wps Open-Source Tools, read the particular content of text;
The 3rd step, by calling the method that saves as of wps, directly file is saved as to pdf document;
The 4th step, the front end JSP page, by PDFObject plug-in unit, read pdf document flow by the mode of stream from specified path, and be presented in PDFObject framework.
The text formatting of supporting comprises DOC, DOCX, PPT, PPTX, XLS, XLSX, TXT, PPD.
The invention has the beneficial effects as follows: the inventive method speed is faster, because only needing a file conversion can reach preview effect; Secondly, to the pressure of server still less, server is without the file that pdf file is transferred to swf form for this method; The 3rd, still less, because lacked once conversion, data validity is higher for the probability that data distortion appears in this method; Wps file is to save as method by directly calling it, and original file is saved as to pdf document, and therefore at server resource, taking can be still less.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Accompanying drawing is the inventive method process flow diagram.
Embodiment
As shown in drawings, the present invention, by third party's instrument wps, transfers text to pdf document, then shows by front end PDF plug-in unit, thereby realizes online preview.Concrete steps are as follows:
The 1st step, installation wps Open-Source Tools;
The 2nd step, server, by wps Open-Source Tools, read the particular content of text;
The 3rd step, by calling the method that saves as of wps, directly file is saved as to pdf document;
The 4th step, the front end JSP page, by PDFObject plug-in unit, read pdf document flow by the mode of stream from specified path, and be presented in PDFObject framework.
Preceding method supports that text formatting comprises under DOC, DOC, T, PPD under PPT, PPT, under lower LS, lower LS, under T.
Claims (3)
1. the online method for previewing of file, is characterized in that: by third party's instrument wps, transfer text to pdf document, then show by front end PDF plug-in unit, thereby realize online preview.
2. the online method for previewing of file according to claim 1, is characterized in that: comprise the following steps:
The 1st step, installation wps Open-Source Tools;
The 2nd step, server, by wps Open-Source Tools, read the particular content of text;
The 3rd step, by calling the method that saves as of wps, directly file is saved as to pdf document;
The 4th step, the front end JSP page, by PDFObject plug-in unit, read pdf document flow by the mode of stream from specified path, and be presented in PDFObject framework.
3. the online method for previewing of file according to claim 1 and 2, is characterized in that: the text formatting of support comprises DOC, DOCX, PPT, PPTX, XLS, XLSX, TXT, PPD.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310743351.7A CN103729338A (en) | 2013-12-29 | 2013-12-29 | File on-line previewing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310743351.7A CN103729338A (en) | 2013-12-29 | 2013-12-29 | File on-line previewing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103729338A true CN103729338A (en) | 2014-04-16 |
Family
ID=50453417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310743351.7A Pending CN103729338A (en) | 2013-12-29 | 2013-12-29 | File on-line previewing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103729338A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105573967A (en) * | 2015-12-04 | 2016-05-11 | 福建亿榕信息技术有限公司 | Multi-format file online browsing method and system |
CN109829139A (en) * | 2019-01-30 | 2019-05-31 | 中国软件与技术服务股份有限公司 | The method and apparatus that a kind of stream-oriented file of DOC/DOCX format is converted into the layout files of OFD format |
CN110191128A (en) * | 2019-05-30 | 2019-08-30 | 山东浪潮商用系统有限公司 | A kind of tax shared file system and implementation method based on HDFS |
CN110619113A (en) * | 2019-09-06 | 2019-12-27 | 北京新橙科技有限公司 | Method and device for previewing iOS specific format file |
CN112612978A (en) * | 2020-12-17 | 2021-04-06 | 山东浪潮商用系统有限公司 | File online browsing method based on browser |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872364A (en) * | 2010-07-02 | 2010-10-27 | 苏州阔地网络科技有限公司 | Method for converting document into picture on line |
CN102004779A (en) * | 2010-11-19 | 2011-04-06 | 百度在线网络技术(北京)有限公司 | Document sharing platform and document processing method |
CN102156742A (en) * | 2011-04-19 | 2011-08-17 | 北京神州数码思特奇信息技术股份有限公司 | Method and middleware for supporting structured document display with own browser of mobile phone |
CN102243665A (en) * | 2011-08-22 | 2011-11-16 | 上海梅花信息有限公司 | Document online playing system and method thereof |
CN102254005A (en) * | 2011-07-15 | 2011-11-23 | 苏州阔地网络科技有限公司 | Method for transforming and displaying document on webpage |
CN102289497A (en) * | 2011-08-22 | 2011-12-21 | 上海梅花信息有限公司 | Document preview image generating system and method |
CN102542018A (en) * | 2011-12-16 | 2012-07-04 | 深圳中兴网信科技有限公司 | Web online file viewing system and file conversion device |
-
2013
- 2013-12-29 CN CN201310743351.7A patent/CN103729338A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872364A (en) * | 2010-07-02 | 2010-10-27 | 苏州阔地网络科技有限公司 | Method for converting document into picture on line |
CN102004779A (en) * | 2010-11-19 | 2011-04-06 | 百度在线网络技术(北京)有限公司 | Document sharing platform and document processing method |
CN102156742A (en) * | 2011-04-19 | 2011-08-17 | 北京神州数码思特奇信息技术股份有限公司 | Method and middleware for supporting structured document display with own browser of mobile phone |
CN102254005A (en) * | 2011-07-15 | 2011-11-23 | 苏州阔地网络科技有限公司 | Method for transforming and displaying document on webpage |
CN102243665A (en) * | 2011-08-22 | 2011-11-16 | 上海梅花信息有限公司 | Document online playing system and method thereof |
CN102289497A (en) * | 2011-08-22 | 2011-12-21 | 上海梅花信息有限公司 | Document preview image generating system and method |
CN102542018A (en) * | 2011-12-16 | 2012-07-04 | 深圳中兴网信科技有限公司 | Web online file viewing system and file conversion device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105573967A (en) * | 2015-12-04 | 2016-05-11 | 福建亿榕信息技术有限公司 | Multi-format file online browsing method and system |
CN109829139A (en) * | 2019-01-30 | 2019-05-31 | 中国软件与技术服务股份有限公司 | The method and apparatus that a kind of stream-oriented file of DOC/DOCX format is converted into the layout files of OFD format |
CN109829139B (en) * | 2019-01-30 | 2023-04-18 | 中国软件与技术服务股份有限公司 | Method and device for converting DOC/DOCX format streaming file into OFD format file |
CN110191128A (en) * | 2019-05-30 | 2019-08-30 | 山东浪潮商用系统有限公司 | A kind of tax shared file system and implementation method based on HDFS |
CN110619113A (en) * | 2019-09-06 | 2019-12-27 | 北京新橙科技有限公司 | Method and device for previewing iOS specific format file |
CN112612978A (en) * | 2020-12-17 | 2021-04-06 | 山东浪潮商用系统有限公司 | File online browsing method based on browser |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103729338A (en) | File on-line previewing method | |
JP5562977B2 (en) | Technology for automatically syndicating content over the network | |
WO2011056350A3 (en) | Social browsing | |
JP2012512487A5 (en) | ||
JP2017532621A5 (en) | ||
JP2016517064A5 (en) | ||
JP2016517051A5 (en) | ||
WO2009134790A3 (en) | Authorization system with split messaging | |
RU2010144041A (en) | METHODS FOR MODIFICATION OF A DOCUMENT USING A HIDDEN TRANSFER SURFACE | |
WO2010113043A3 (en) | Dynamic content linked to contact identifiers | |
CN102609503A (en) | Method and device for generating static webpages | |
WO2008118358A3 (en) | System and method for text-based encryption | |
GB2454439A (en) | Method and system to validate a write for a device on a serial bus | |
JP2008259212A5 (en) | ||
WO2012088326A9 (en) | Methods for emailing labels as portable data files and devices thereof | |
CN102567019A (en) | Method for supporting various character sets during application of EXCEL plug-in unit in WEB | |
CN101610195A (en) | The method of AJAX cross-domain synchronous transmission of high volume data | |
KR20140098389A (en) | Systems and methods for auto converting dps from various docs to html5 type docs | |
CN102654886A (en) | Data capture system for B/S (Browser/Server) structure system | |
CN104317505A (en) | Pinyin outputting system and method | |
CN104216868A (en) | Adaptation method and device for document display format | |
Si et al. | An error estimate of EEP super-convergent solutions of simplified form in one-dimensional Ritz FEM | |
CN103365866A (en) | Device for modularizing WYSIWYG management webpage template and management method of WYSIWYG management webpage template | |
CN102708178A (en) | Data fetching method of B (browser)/S (server) structural system | |
JP2010117867A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140416 |