Unlock instant, AI-driven research and patent intelligence for your innovation.

System and method for converting XML format document into Word format document

A document conversion, ms-word technology, applied in special data processing applications, instruments, electrical digital data processing, etc., to reduce resources, reduce load, and avoid Com calls

Inactive Publication Date: 2013-01-30
WONDERSHARE TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, prior art still needs to improve and develop

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for converting XML format document into Word format document
  • System and method for converting XML format document into Word format document
  • System and method for converting XML format document into Word format document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] A method for converting a document in XML format to a document in Word format according to the present invention, one of its specific implementations is as attached figure 1 shown, including the following steps:

[0050] Step S100, reading the basic element information in the document in XML format;

[0051]Step S200, typesetting the read basic element information according to the typesetting style of the Word format document;

[0052] Step S300, generating an RTF (Rich Text Format, rich text format) format document from the typesetting-processed information;

[0053] Step S400, calling the Com interface of MS-Word to convert the document in RTF format into a document in Word format;

[0054] Step S500, judging whether to convert the next XML format document; if yes, return to step S100, otherwise end the conversion step.

[0055] Based on the above conversion method, the present invention also proposes a system for converting an XML format document into a Word form...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses system and method for converting an XML format document into a Word format document. The method comprises the following steps of: reading fundamental element information in the XML format document; laying out the read fundamental element information according to a layout style of the Word format document; generating an RTF format document by the layout information; and calling a Com interface of MS-Word to convert the Word format document into the RTF format document. Because the RTF format document is adopted as a conversion intermediate document, the RTF format document is used for transition in a conversion process, the invention not only supports all elements and the complicated layout style of the MS-Word, but also avoids the frequent Com calling, reduces over-occupied resources and device load, increases the generation efficiency and the stability of the RTF format document and is suitable for being used in bulk conversion.

Description

technical field [0001] The invention relates to the system field of format document conversion, and more specifically, the improvement relates to a system and method for converting an XML format document into a Word format document. Background technique [0002] Microsoft Word is a word processing application program of Microsoft Corporation. In office automation, Microsoft Word has been used more and more. However, with the wide application of office automation today, how to efficiently and stably generate Word documents in batches based on a large amount of existing XML (Extensible Markup Language, Extensible Markup Language) information has become an urgent need. [0003] Among the existing technologies, some implement the writing of MS-Word basic information by calling the interface of some mature open source document editing software, and the more popular one is to call the API interface of OpenOffice to realize the generation of Word document. Others guess the writing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/22
Inventor 解辉
Owner WONDERSHARE TECH CO LTD