Automatic document generating method based on format template

An automatic generation and template technology, applied in word processing, special data processing applications, instruments, etc., can solve problems such as poor flexibility, and achieve the effect of improving efficiency, increasing versatility and flexibility, and improving richness

Active Publication Date: 2018-11-06
NO 719 RES INST CHINA SHIPBUILDING IND
View PDF7 Cites 16 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 t

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 document generating method based on format template

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0053] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but 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 conflict with each other.

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

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 an automatic document generating method based on a format template. The method comprises the following steps of creating a template document in a dot format, performing insertion point marking on contents needed to be self-defined by a user, organizing the marked template document in the dot format to form an XML label set, constructing an XML structure tree, and traversingmarking nodes of the XML structure tree to construct a label array containing label attributes; and according to the label array and the attributes of the labels, forming a user input interface for the user to input to-be-inserted contents, storing the completed inserted contents in the XML structure tree in a node value form, traversing the XML structure tree again, and searching for and inserting label values in the template document in the dot format to form a new document template. According to the automatic document generating method, a program code is matched with different template format description files, and document files based on any template can be generated in batches, so that the flexibility and reliability of document generation are improved.

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