Method, device and equipment for generating word file based on extensible markup language file

An extended markup language and file generation technology, applied in natural language data processing, word processing, instruments, etc., can solve the problems of high maintenance costs, achieve the effects of reducing maintenance costs, realizing personalized display, and realizing dynamic display

Pending Publication Date: 2021-11-05
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to pre-write corresponding templates for dynamic data formats when generating word files. For complex business scenarios, more templates need to be maintained. Once one of the data fields changes or the style or format is changed, all The template also needs to be modified, and the maintenance cost is relatively high. A method, device and computer equipment for generating a word file based on an extensible markup language file are provided.

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
  • Method, device and equipment for generating word file based on extensible markup language file
  • Method, device and equipment for generating word file based on extensible markup language file
  • Method, device and equipment for generating word file based on extensible markup language file

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.

[0054] It can be understood that the terms "first", "second", "third" and so on are only used for distinguishing descriptions, and should not be understood as indicating or implying relative importance. It should also be understood that although the terms "first", "second", "third", etc. are used in the text to describe various elements in some embodiments of the present application, these elements should not be limited by these terms . These terms are only used to distinguish various elements.

[0055] figure 1 An implementation environment diagram of the method for generating a word file based...

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 method, a device and equipment for generating a word file based on an extensible markup language file. The method comprises the following steps: creating a word style template; converting the word style template into an extensible markup language format file; converting the file in the extensible markup language format into a freemarker file; generating a freemarker template on the basis of the freemarker file, wherein the freemarker template is used for generating the freemarker template; and outputting the freemarker template as a word file, and outputting the freemarker template as the word file. According to the method, the word is no longer difficult to support, and the word can be driven completely through data. Personalized display and dynamic display can be realized, so that word generation is not fixed by a template any more; one template can generate the word file required by the business scene according to different data formats, and a user can also generate the word file according to own thoughts without being bound on a certain pre-generated template. Therefore, the operation of generating the word file is more convenient, and the maintenance cost is reduced.

Description

technical field [0001] The invention relates to the field of document format processing, in particular to a method, device and computer equipment for generating word files based on extensible markup language files. Background technique [0002] With the development of informatization, there is a demand for a certain format of WORD template output in many business systems, and it is not a simple WORD content output, but a WORD document needs to be generated according to a certain standard format, which is suitable for a specific environment. , such as: papers, official documents, paperwork; business process approval forms for enterprises and industries, etc. Word software has not been open source, which makes it extremely difficult to develop word software through java. There are also very few third-party plug-ins that can support the development of word software through java, and their functions are relatively single, and they can only support the editing of basic word file...

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): G06F40/14G06F40/154G06F40/186
CPCG06F40/14G06F40/154G06F40/186
Inventor 陈凯鹏
Owner CHINA PING AN PROPERTY INSURANCE CO LTD
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