CN110532524A - A kind of system and method for PPT document automatic conversion html5 document - Google Patents

A kind of system and method for PPT document automatic conversion html5 document Download PDF

Info

Publication number
CN110532524A
CN110532524A CN201910591093.2A CN201910591093A CN110532524A CN 110532524 A CN110532524 A CN 110532524A CN 201910591093 A CN201910591093 A CN 201910591093A CN 110532524 A CN110532524 A CN 110532524A
Authority
CN
China
Prior art keywords
document
ppt
conversion
html5
unit
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
Application number
CN201910591093.2A
Other languages
Chinese (zh)
Inventor
王国涛
赵国炯
崔小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Waasu Education Technology Co ltd
Original Assignee
Hangzhou Bosch Data Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Bosch Data Network Co Ltd filed Critical Hangzhou Bosch Data Network Co Ltd
Priority to CN201910591093.2A priority Critical patent/CN110532524A/en
Publication of CN110532524A publication Critical patent/CN110532524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to the conversion methods of electronic document, concretely relate to the document conversion method of multi-platform preview, more particularly to a kind of system and method for PPT document automatic conversion html5 document, comprising: management conversion unit, for assuming overall responsibility for the whole life cycle of document conversion;Document conversion unit, for PPT document to be automatically converted to html5 document;Monitoring unit is converted, for monitoring document conversion process and making a response.The beneficial effects of the invention are as follows realization PPT documents to be automatically converted to html5 document.

Description

A kind of system and method for PPT document automatic conversion html5 document
Technical field
The present invention relates to the conversion methods of electronic document, concretely relate to the document conversion method of multi-platform preview, More particularly to a kind of system and method for PPT document automatic conversion html5 document.
Background technique
Multi-platform preview to electronic document is trend of the times, especially in today of mobile terminal Showed Very Brisk, either Traditional doc document or PPT document, the multi-platform preview demand to these documents are existing, before us solutions The following nothing more than:
Continue to use the solution of flash preview;
Newly-built HTMl5Slide;
Flash solution technique is outmoded, does not meet the demand for development of web today.And newly-built html5Slider goes through huge It is even more the problem that not may span across for history document.
Summary of the invention
In order to solve the above technical problems, the present invention proposes system and the side of a kind of PPT document automatic conversion html5 document Method, to realize that PPT document is automatically converted to html5 document.
A kind of system of PPT document automatic conversion html5 document, comprising:
Management conversion unit, for assuming overall responsibility for the whole life cycle of document conversion;
Document conversion unit, for PPT document to be automatically converted to html5 document;
Monitoring unit is converted, for monitoring document conversion process and making a response.
Preferably, the whole life cycle for assuming overall responsibility for document conversion includes:
After obtaining conversion message, downloading needs the PPT document converted;
It opens convert task and monitors convert task;
Document conversion unit is operated by convert task calling interface;
After the completion of convert task, sends transformation result and give conversion monitoring unit.
Preferably, described PPT document is automatically converted to html5 document to include:
It initializes microsoft office component and instantiates a PPT document object;
PPT document is opened, mouse events open ispring plug-in unit, open monitoring task;
The PPT conversion function of ispring plug-in unit is opened using mouse events;
Monitoring task, which captures after ispring plug-in unit converts window, terminates monitoring task;
It completes PPT document and converts html5 document.
Preferably, it the monitoring document conversion process and makes a response and includes:
PPT document is monitored, for monitoring opening, closing and the office component pop-up window of PPT document;
The conversion of ispring plug-in unit is monitored, for monitoring ispring plug-in unit conversion progress and result.
Preferably, further includes:
Document management unit, for the management to PPT document and html5 document.
Preferably, the management to PPT document and html5 document includes:
Conversion message is obtained, parsing message gets PPT relevant information;
PPT document is downloaded by File Transfer Protocol and is stored in local;
After Transformation Service converts, deletes local PPT document and delete the PPT document of distal end by File Transfer Protocol;
By the html compressing file after conversion at zip packet and the zip packet of PPT document thumbnail, then pass through File Transfer Protocol Upload to specified ftp server.
Preferably, further includes:
Utils unit, for providing service function for document conversion.
Preferably, described service function is provided to include: for document conversion
Utils unit provides downloading to PPT document and html5 document based on File Transfer Protocol for offer, uploads, deletion Operation.
A kind of method of PPT document automatic conversion html5 document, comprising the following steps:
S1: setting running environment;
S2: the converting system built is installed;
S3: configuration transition system;
S4: PPT document is imported;
S5: PPT document is automatically converted to html5 document;
S6: output html5 document.
Preferably, it needs to import XLConverterService.dll library file when the configuration transition system, match simultaneously Set Python running environment.
Beneficial effects of the present invention: the whole life cycle for assuming overall responsibility for document conversion is realized by management conversion unit;Pass through Document conversion unit, which is realized, is automatically converted to html5 document for PPT document;Document conversion process is monitored by conversion monitoring unit And it makes a response.
Detailed description of the invention
Specific embodiments of the present invention will be further explained with reference to the accompanying drawing:
Fig. 1 is a kind of structural schematic diagram of the system of the PPT document automatic conversion html5 document of the embodiment of the present invention one;
Fig. 2 is that administrative unit is converted in a kind of system of the PPT document automatic conversion html5 document of the embodiment of the present invention one Flow diagram;
Fig. 3 is document conversion unit in a kind of system of the PPT document automatic conversion html5 document of the embodiment of the present invention one Flow diagram;
Fig. 4 is that monitoring unit is converted in a kind of system of the PPT document automatic conversion html5 document of the embodiment of the present invention one Flow diagram;
Fig. 5 is document management unit in a kind of system of the PPT document automatic conversion html5 document of the embodiment of the present invention one Structural schematic diagram;
Fig. 6 is the knot of Utils unit in a kind of system of the PPT document automatic conversion html5 document of the embodiment of the present invention one Structure schematic diagram;
Fig. 7 is a kind of flow diagram of the method for the PPT document automatic conversion html5 document of the embodiment of the present invention two.
Specific embodiment
Below in conjunction with attached drawing, technical scheme of the present invention will be further described, but the present invention is not limited to these realities Apply example.
Embodiment one
A kind of system of PPT document automatic conversion html5 document, as shown in Figure 1, comprising: management conversion unit, for total Pull the whole life cycle of document conversion;Document conversion unit, for PPT document to be automatically converted to html5 document;Conversion prison Unit is listened, for monitoring document conversion process and making a response.
In the present embodiment, management conversion unit controls the entire life of its PPT document conversion by monitoring convert task Order the period.The premise for realizing automatic conversion is the links controlled in conversion process, and either document opens or closes behaviour Make or document is converted and various translation exceptions.Specific steps are as shown in Figure 2:
S11: after obtaining conversion message, downloading needs the PPT document converted;
S12: it opens convert task and monitors convert task;
S13: document conversion unit is operated by convert task calling interface;
S14: it after the completion of convert task, sends transformation result and gives conversion monitoring unit.
Document conversion unit mainly pass through windows platform mouse events, Microsoft's Office component and Ispring is embedded into office to realize that PPT is automatically converted to html5 document with card format.Specific steps such as Fig. 3 institute Show:
S21: one PPT document object of initialization microsoft office component and instantiation;
S22: opening PPT document, and mouse events open ispring plug-in unit, opens monitoring task;
S23: the PPT conversion function of ispring plug-in unit is opened using mouse events;
S24: monitoring task, which captures after ispring plug-in unit converts window, terminates monitoring task;
S25: it completes PPT document and converts html5 document.
Document conversion unit not only includes document conversion operation, further includes the control management of iSring plug-in unit.This each Convert task can all create a convertTask to handle these work.ISpring plug-in unit is in MS Powerpoint Also there is an Addin plug-in unit, convertTask realizes document automatic conversion by the interface for calling the plug-in unit to expose.Pass through text Shelves converting unit may be implemented the automatic conversion of PPT document, or even realize batch automatic conversion.
Monitoring task in PPT document conversion unit is opened and closed along with PPT conversion process, conversion prison Listening unit is to carry out monitoring service based on capture window.Wherein monitoring classification is divided into: monitoring PPT document and monitors ispring Plug-in unit conversion, only can guarantee that Transformation Service can automate by the cooperation of two kinds of monitorings.
Wherein, PPT document is monitored, for monitoring opening, closing and the office component pop-up window of PPT document.
Wherein, the conversion of ispring plug-in unit is monitored, for monitoring ispring plug-in unit conversion progress and result.
Conversion monitoring unit is used to handle the various abnormal and interruption in document conversion process.Such as PPT collapse, ISpring is abnormal etc., it is therefore an objective to realize lasting conversion, not allow erroneous effects other conversion process.
As the preferred of the present embodiment, as shown in figure 4, a kind of system of PPT document automatic conversion html5 document is also wrapped It includes:
Document management unit, for the management to PPT document and html5 document.PPT document management entirely services An important ring, it be by get conversion message come be downloaded save delete etc. sequence of operations management, while it Manage remote document.Specific steps are as shown in Figure 5:
S31: obtaining conversion message, and parsing message gets PPT relevant information;
S32: PPT document is downloaded by File Transfer Protocol and is stored in local;
S33: it after Transformation Service converts, deletes local PPT document and deletes the PPT text of distal end by File Transfer Protocol Shelves;
S34: by the html compressing file after conversion at zip packet and the zip packet of PPT document thumbnail, then pass through FTP Agreement uploads to specified ftp server.
As the preferred of the present embodiment, as shown in fig. 6, a kind of system of PPT document automatic conversion html5 document is also wrapped It includes:
Utils unit, for providing service function for document conversion.Utils unit is based on FTP agreement pair for providing PPT document and html5 document provide downloading, upload, delete operation.
Embodiment two
A kind of method of PPT document automatic conversion html5 document, as shown in fig. 7, comprises following steps:
S1: setting running environment;
S2: the converting system built is installed;
S3: configuration transition system;
S4: PPT document is imported;
S5: PPT document is automatically converted to html5 document;
S6: output html5 document.
Environment needed for conversion of the PPT document to html5 document is: 64 bit manipulation system of window7;Minimum iSpring Suite8 external member product;2.7 or more python.
On the basis of setting running environment and the conversion built is installed, need to import in configuration transition system XLConverterService.dll library file, while configuring Python running environment.Wherein, subsidiary source code mainly includes two Class: ConvertAddin source code controls MSOffice plug-in unit and iSpring plug-in unit;PythonConvertManager, document The control management of conversion.It when starting for the first time, needs to be arranged iSpring plug-in unit output parameter, it is defeated that iSpring is set again later Pattern out adds toolbar plug-in unit.
It is above-mentioned with postponing in completion, PPT document can be imported, realizes that PPT document is automatically converted to the output of html5 document.
In addition to above preferred embodiment, there are other embodiments of the invention, and those skilled in the art can be according to this Invention makes various changes and modifications, and as long as it does not depart from the spirit of the invention, should belong to appended claims of the present invention and determines The range of justice.

Claims (10)

1. a kind of system of PPT document automatic conversion html5 document characterized by comprising
Management conversion unit, for assuming overall responsibility for the whole life cycle of document conversion;
Document conversion unit, for PPT document to be automatically converted to html5 document;
Monitoring unit is converted, for monitoring document conversion process and making a response.
2. a kind of system of PPT document automatic conversion html5 document according to claim 1, which is characterized in that described total Pulling the whole life cycle that document is converted includes:
After obtaining conversion message, downloading needs the PPT document converted;
It opens convert task and monitors convert task;
Document conversion unit is operated by convert task calling interface;
After the completion of convert task, sends transformation result and give conversion monitoring unit.
3. a kind of system of PPT document automatic conversion html5 document according to claim 1, which is characterized in that described to incite somebody to action PPT document is automatically converted to html5 document
It initializes microsoft office component and instantiates a PPT document object;
PPT document is opened, mouse events open ispring plug-in unit, open monitoring task;
The PPT conversion function of ispring plug-in unit is opened using mouse events;
Monitoring task, which captures after ispring plug-in unit converts window, terminates monitoring task;
It completes PPT document and converts html5 document.
4. a kind of system of PPT document automatic conversion html5 document according to claim 1, which is characterized in that the prison It listens document conversion process and makes a response and include:
PPT document is monitored, for monitoring opening, closing and the office component pop-up window of PPT document;
The conversion of ispring plug-in unit is monitored, for monitoring ispring plug-in unit conversion progress and result.
5. a kind of system of PPT document automatic conversion html5 document according to any one of claims 1 to 4, feature exist In, further includes:
Document management unit, for the management to PPT document and html5 document.
6. a kind of system of PPT document automatic conversion html5 document according to claim 5, which is characterized in that described right The management of PPT document and html5 document includes:
Conversion message is obtained, parsing message gets PPT relevant information;
PPT document is downloaded by File Transfer Protocol and is stored in local;
After Transformation Service converts, deletes local PPT document and delete the PPT document of distal end by File Transfer Protocol;
By the html compressing file after conversion at zip packet and the zip packet of PPT document thumbnail, then uploaded by File Transfer Protocol To specified ftp server.
7. a kind of system of PPT document automatic conversion html5 document according to any one of claims 1 to 4, feature exist In, further includes:
Utils unit, for providing service function for document conversion.
8. a kind of system of PPT document automatic conversion html5 document according to claim 7, which is characterized in that described to be Document conversion provides service function
Utils unit provides downloading to PPT document and html5 document based on File Transfer Protocol for offer, uploads, delete operation.
9. a kind of method of PPT document automatic conversion html5 document, which comprises the following steps:
S1: setting running environment;
S2: the converting system built is installed;
S3: configuration transition system;
S4: PPT document is imported;
S5: PPT document is automatically converted to html5 document;
S6: output html5 document.
10. a kind of method of PPT document automatic conversion html5 document according to claim 9, which is characterized in that described It needs to import XLConverterService.dll library file when configuration transition system, while configuring Python running environment.
CN201910591093.2A 2019-07-02 2019-07-02 A kind of system and method for PPT document automatic conversion html5 document Pending CN110532524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910591093.2A CN110532524A (en) 2019-07-02 2019-07-02 A kind of system and method for PPT document automatic conversion html5 document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910591093.2A CN110532524A (en) 2019-07-02 2019-07-02 A kind of system and method for PPT document automatic conversion html5 document

Publications (1)

Publication Number Publication Date
CN110532524A true CN110532524A (en) 2019-12-03

Family

ID=68659463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910591093.2A Pending CN110532524A (en) 2019-07-02 2019-07-02 A kind of system and method for PPT document automatic conversion html5 document

Country Status (1)

Country Link
CN (1) CN110532524A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127410A (en) * 2021-03-10 2021-07-16 浙江学海教育科技有限公司 Method and system for converting PPT file format

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130226979A1 (en) * 2011-10-17 2013-08-29 Brainshark, Inc. Systems and methods for multi-device rendering of multimedia presentations
KR20140098389A (en) * 2013-01-31 2014-08-08 정우식 Systems and methods for auto converting dps from various docs to html5 type docs
CN104796455A (en) * 2015-03-12 2015-07-22 安徽讯飞皆成软件技术有限公司 Cross-platform multi-screen interacting method, device and system
CN105045802A (en) * 2015-05-22 2015-11-11 杭州亿方云网络科技有限公司 Message-driven multi-type file preview system
CN105224510A (en) * 2015-09-21 2016-01-06 杭州施强网络科技有限公司 A kind of conversion method of document format file
CN105630459A (en) * 2014-10-25 2016-06-01 上海未达数码科技有限公司 Method for converting PPT document to HTML page
CN107015950A (en) * 2017-03-20 2017-08-04 厦门云开云科技有限公司 The generation method and device of a kind of SCORM coursewares
CN107515762A (en) * 2016-06-17 2017-12-26 上海理优教育科技有限公司 More people based on mobile intelligent terminal can interactive multimedia COURSEWARE SYSTEM
CN109376255A (en) * 2018-09-26 2019-02-22 浙江万朋教育科技股份有限公司 Based on the pictured method for realizing electronic slides multiple terminals animation collaborative browse

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130226979A1 (en) * 2011-10-17 2013-08-29 Brainshark, Inc. Systems and methods for multi-device rendering of multimedia presentations
KR20140098389A (en) * 2013-01-31 2014-08-08 정우식 Systems and methods for auto converting dps from various docs to html5 type docs
CN105630459A (en) * 2014-10-25 2016-06-01 上海未达数码科技有限公司 Method for converting PPT document to HTML page
CN104796455A (en) * 2015-03-12 2015-07-22 安徽讯飞皆成软件技术有限公司 Cross-platform multi-screen interacting method, device and system
CN105045802A (en) * 2015-05-22 2015-11-11 杭州亿方云网络科技有限公司 Message-driven multi-type file preview system
CN105224510A (en) * 2015-09-21 2016-01-06 杭州施强网络科技有限公司 A kind of conversion method of document format file
CN107515762A (en) * 2016-06-17 2017-12-26 上海理优教育科技有限公司 More people based on mobile intelligent terminal can interactive multimedia COURSEWARE SYSTEM
CN107015950A (en) * 2017-03-20 2017-08-04 厦门云开云科技有限公司 The generation method and device of a kind of SCORM coursewares
CN109376255A (en) * 2018-09-26 2019-02-22 浙江万朋教育科技股份有限公司 Based on the pictured method for realizing electronic slides multiple terminals animation collaborative browse

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭婉仪等: "一种将XML文档转换为HTML格式文档的算法", 《电脑与信息技术》 *
杨黎等: "EAST文档自动化的研究与实现", 《计算机应用与软件》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127410A (en) * 2021-03-10 2021-07-16 浙江学海教育科技有限公司 Method and system for converting PPT file format

Similar Documents

Publication Publication Date Title
CN104899325A (en) APP (application) acquired data collection method, terminal, server and system
CN102497423B (en) Method, device and system for playing songs in webpage chat room
CN111385127B (en) Intelligent processing system and method
CN104144087A (en) Remote desktop detection system and detection method thereof
CN106844047A (en) A kind of application program optimization method of intelligent terminal
CN106453541A (en) Data synchronization method, server and data synchronization system
DE102021127247B4 (en) Dynamically configurable templates to support versatile deployment of configurations to network devices
CN101984430A (en) Multi-user collaborative graphic editing method and system for mobile terminal
CN109155804A (en) Approaches to IM and system based on card
CN107547820A (en) Building talkback entrance guard controlling method and system based on Quick Response Code
CN110532524A (en) A kind of system and method for PPT document automatic conversion html5 document
CN105553871A (en) Method and system for remotely managing equipment parameters
CN104462996B (en) Realize the method and system that cooperating forensic analysis is carried out to long-range evidence obtaining target terminal
CN107645597A (en) The synchronous method and terminal of application program
CN105281943A (en) Webpage-based remote equipment management method and device
CN101442529A (en) Device management system and device management command scheduling method thereof
CN109120742A (en) A kind of power distribution network terminal collecting method and device based on UDP
CN105704320B (en) A kind of data network control method and system
CN107645567A (en) A kind of method of remote control intelligent terminal
CN113055253B (en) Method, device, equipment and storage medium for rapidly opening home gateway
CN103457834A (en) Method and client terminal for triggering ITEM voice searching in instant messaging
CN106993100A (en) A kind of smart mobile phone management system from behavioural analysis
CN107341228A (en) A kind of digital archives and external system filing data integrated approach
CN111586081B (en) Internet of things implementation method based on object model
CN110765879A (en) Real-time video analysis system and method based on B/S architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231012

Address after: Room 415, 4th Floor, Huachuang Building, Jianye Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province, 310000

Applicant after: Hangzhou Waasu Education Technology Co.,Ltd.

Address before: 15/F, Smart e Valley, No. 482, Qianmo Road, Binjiang District, Hangzhou, Zhejiang, 310000

Applicant before: HANGZHOU BOSHI DATA NETWORK CO.,LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203