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

Automatic complex document generating method based on XML (Extensive Markup Language) description

An automatic generation and document technology, applied in natural language data processing, special data processing applications, instruments, etc., can solve problems such as unfavorable OfficeOpenXml standard promotion and cross-platform use

Active Publication Date: 2015-05-06
JIANGNAN INST OF COMPUTING TECH
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] With the establishment of the Office OpenXml standard, for complex documents such as Word, Excel, and PowerPoint, whether it is the content information of the document, or the format and style of the document template, it can be described uniformly using the Xml language, which gives the content of complex documents The separation of style and style brings the possibility of
[0007] However, the Office OpenXml standard is mainly proposed by Microsoft, and the Office OpenXml SDK development tool provided by it depends on the Windows operating system environment and the Visual Studio programming development environment, which is not conducive to the promotion and cross-platform use of the Office OpenXml standard

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
  • Automatic complex document generating method based on XML (Extensive Markup Language) description
  • Automatic complex document generating method based on XML (Extensive Markup Language) description
  • Automatic complex document generating method based on XML (Extensive Markup Language) description

Examples

Experimental program
Comparison scheme
Effect test

specific example 1

[0050] Taking the organization and description of word processing document templates as an example, the document outline, data and style template composition and their interrelationships are as follows: image 3 As shown, the document template is divided into nine categories: outline, data group, metadata, style group, section, style (font, table, paragraph), header, footer, numbering.

[0051] The outline template is used to describe the outline of a complex document, which is a macroscopic description of the document structure. In the process of generating a complex document, dozens of document templates may be used. Most document templates can be shared in the process of generating multiple different documents, but for a certain document, only the outline template is necessary. . In the outline template, through the multi-level hierarchical design of Layer→Group[Layer], the layer-by-layer refinement of the document structure and the macro-structure description of the docum...

specific example 2

[0060] Taking the automatic generation process of word processing documents as an example, the descriptions of the outline template, data group template, style group template, data template, and section template of the example refer to Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8 .

[0061] The specific steps of the automatic generation process of the document are as follows:

[0062] 1) Obtain such as from the data source Figure 4 The outline template shown contains child nodes such as Layer, Properties, and Parts.

[0063] 2) Analyze the nodes and their attributes at all levels of the outline template. First parse the Properties node to obtain the public property information of the document. Then parse the Parts node to obtain the relevant data of the document and the definition of the style template. Finally, analyze the Layer node and its Group child nodes, and analyze the structure of the document layer by layer.

[0064] 3) Obtain and load the data...

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 provides an automatic complex document generating method based on XML (Extensive Markup Language) description. The automatic complex document generating method based on XML (Extensive Markup Language) description comprises the following steps of; firstly, executing the step 1 so as to acquire document outline template description; then executing the step 2 so as to parse a document outline template, wherein the steps 3, 4 and 5 are controlled to be performed according to document data and document style template definition information during the step 2 so as to finish acquisition of document relevant data and style templates; subsequently, controlling the steps 6,7 and 8 according to document framework description and associated index information so as to finish document data acquisition and format conversion; then executing the steps 9 and 10 according to document content and style associated information so as to finish document data and style matching and assembling; and finally executing the step 11 according to the document completion condition so as to finish final document output.

Description

technical field [0001] The present invention relates to the field of document generation, and more specifically, the present invention relates to a method for automatically generating complex documents based on XML (Extensible Markup Language, Extensible Markup Language) description. Background technique [0002] Documents have always been one of the important tools for carrying information and an important means for people to exchange information. Due to the different content of the information to be described, the types of documents are colorful, including text files (TXT), rich text files (RTF, DOC) mainly based on text information, and spreadsheet files (Excel) mainly based on chart data. There are presentation files (PPT) based on image presentations, and drawing files (Visio) based on graphic drawing. Moreover, due to the differences in various storage methods and various tool analysis methods, the formats of documents and their information also vary widely. [0003]...

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
IPC IPC(8): G06F17/30G06F17/21
CPCG06F40/154
Inventor 吴利董国良何曼徐小春
Owner JIANGNAN INST OF COMPUTING TECH