Report document automation method easy for secondary development

A report document and secondary development technology, applied in the information field, can solve the problems of effectively realizing report automation, single report format, poor typesetting effect, etc., and achieve the effect of simple and convenient automatic generation, time saving, and high development efficiency.

Pending Publication Date: 2020-10-02
ELECTRIC POWER SCI & RES INST OF STATE GRID TIANJIN ELECTRIC POWER CO +2
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is a tool for professional-level development, and the layout effect is not professional enough, such as paging the report, controlling the header and footer, generating the report directory, and the impact of the amount of content in the variable in the report on paging It is difficult to fine-tune the control, and the page number error often occurs during the printing process, the header and footer are not in the corresponding position, and the flexibility and professionalism of typesetting are poor.
[0006] To sum up, in the existing technology, the automatic generation of reports has the problems of inflexible implementation, poor typesetting effect, and single report format due to the mixture of templates and data. It is impossible to quickly and effectively realize the report based on the existing report documents. Automation, for this problem, no effective solution has been proposed so far

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
  • Report document automation method easy for secondary development

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0025] A report document automation method that is easy for secondary development, such as figure 1 shown, including the following steps:

[0026] Step 1. Make a report document template, use Word to edit the existing report document, and use a unified placeholder to replace all the text in the existing report document that needs to be updated according to the test data.

[0027] In this step, the placeholder is composed of several consecutive characters and remains consistent, and the content of the placeholder is specified by the developer. In addition, the placeholder needs to ensure that it does not repeat any string of the same length in the report document, and whether it contains rare words or special characters. In the test, in order to ensure the efficiency of the regular matching algorithm, the length of the placeholder should be 3 to 6 characters...

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 relates to a report document automation method easy for secondary development. The technical characteristic of the method comprises: replacing the text which needs to be updated according to the test data with placeholders in the report document; enqueueing the test data according to the sequence in the report document and a pairing algorithm to generate queue data; and retrieving placeholders of the report document by using a function of the COM model, when the placeholders are retrieved, replacing the placeholders with corresponding data in the queue data, circulating to the end of the report document, and outputting the report document after updating the data. According to the invention, the simple and convenient automatic generation function of the report document is realized, the existing format of the report document is reserved, the method has the advantages of low learning cost and high development efficiency, and the time for making the report document by workerscan be saved.

Description

technical field [0001] The invention belongs to the field of information technology, in particular to an automatic method for report documents which is easy for secondary development. Background technique [0002] Word is the most widely used word processing system in the world. A large number of Word reports need to be prepared in various industries every day. For most reports, the format templates of the reports are the same, and the difference is only in the data elements. , these data elements include text, tables, pictures, charts, various mathematical and chemical formulas, etc. In addition to these elements, there are also controls on styles such as font, font size, color, leading distance, paragraph trailing distance, word spacing, Line spacing, bullets, indentation, headers and footers, borders, shading, and more. If the preparation of a report is done manually, the workload will be huge and cumbersome, time-consuming, inefficient, and relatively low in accuracy, a...

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 Applications(China)
IPC IPC(8): G06F40/12G06F40/186
CPCG06F40/12G06F40/186
Inventor 李浩然王季孟张长志周连升甘智勇倪玮晨赵毅王建军王建
Owner ELECTRIC POWER SCI & RES INST OF STATE GRID TIANJIN ELECTRIC POWER CO
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