Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for automatically generating documents based on format templates

A template and document technology, applied in the field of automatic document generation based on format templates, can solve problems such as poor flexibility, and achieve the effects of improving efficiency, improving reuse performance, and improving flexibility and reliability.

Active Publication Date: 2021-12-07
NO 719 RES INST CHINA SHIPBUILDING IND
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This improves the flexibility and reliability of document generation, increases the versatility and flexibility of template documents, and solves the problem that codes or programs often need to be recompiled when document templates are modified or new documents need to be generated, and the flexibility is very poor.

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
  • A method for automatically generating documents based on format templates

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0054] figure 1 It is a flowchart of an automatic document generation method based on a format template according to an embodiment of the present invention. like figure 1 As shown, the present invention is based on the dot template and COM technology of Office software. The basic principle of automatic document generation is to create an insertion point in the dot template, then find the mark...

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 a document automatic generation method based on a format template, which comprises the following steps: creating a dot format template document, marking insertion points for content that needs to be customized by the user, and organizing the marked dot format template document To form an XML tag set and construct an XML structure tree, traverse each tag node of the XML structure tree to construct a tag array containing tag attributes; according to the tag array and the attributes of each tag, a user input interface is formed for user input to be inserted Store the completed inserted content in the XML structure tree in the form of node values, traverse the XML structure tree again, find and insert tag values ​​in the dot format template document to form a new document template. The document automatic generation method of the present invention enables a program code to be matched with different template format description files, and can generate document files based on arbitrary templates in batches, thereby improving the flexibility and reliability of document generation.

Description

technical field [0001] The invention belongs to the technical field of document generation, and more particularly relates to an automatic document generation method based on a format template. Background technique [0002] Documents refer to electronic documents with the suffix doc or docx based on the Microsoft Office suite. Document templates generally refer to files with the suffix dot format. COM (cluster communication port) interface technology is often used, that is, serial interface technology to operate dot documents . Electronic documents are an essential form of communication, exchange and collaboration in modern social life and in all walks of life. With the help of many word processing tools, compared with traditional paper documents, electronic documents have the advantages of being easy to make, modify, copy, and save. [0003] With the popularity of electronic documents, many industries have gradually formed standardized and formatted document templates, suc...

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): G06F40/14
CPCG06F40/14
Inventor 张磊洪昌建
Owner NO 719 RES INST CHINA SHIPBUILDING IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products