A method and apparatus for deriving an electronic document

An electronic document and document technology, applied in the computer field, can solve the problems of heavy workload, difficult to troubleshoot problems, and many repetitive labors, so as to solve the problem of time-consuming and labor-intensive, improve R&D efficiency, and realize the effect of version storage.

Active Publication Date: 2019-06-25
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF12 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing solution has a large workload for the secondary development of word xml, and the subsequent modification will cause a lot of repetitive labor, and it is not easy to troubleshoot problems.

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 and apparatus for deriving an electronic document
  • A method and apparatus for deriving an electronic document
  • A method and apparatus for deriving an electronic document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0043] figure 1 It is a schematic diagram of main steps of a method for exporting a word document according to an embodiment of the present invention.

[0044] Such as figure 1 As shown, the method for exporting a word document in the embodiment of the present invention mainly includes the following steps S101 to S103.

[0045] Step S101: Generate a word xml file contai...

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 method and device for exporting an electronic document, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: generating an xml file comprising a placeholder and a custom tag according to a received electronic document template; Analyzing the placeholder and the user-defined label to obtain an xml file template; And converting the xml file template into a template file in a preset format, and loading service data into the template file to export the electronic document. According to the implementation mode,secondary development of the xml file is avoided, the electronic document is automatically exported, the maintainability is high, the workload of personnel is reduced, time and labor are saved, the research and development efficiency is improved, dynamic data exporting of the electronic document of a complex type is supported, visual operation is supported, version control can be carried out, andversion storage of a page level can be achieved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for exporting electronic documents. Background technique [0002] In the traditional development process, the common ways for developers to read and write word are Apache POI (open source library of Apache Software Foundation) or iText. These two methods have few functions, heavy workload for developers, and unsatisfactory results. . Existing schemes can also generate word documents with the help of FreeMarker, but there are still some problems in this scheme. The main reasons are as follows: First, R&D personnel are required to develop the generated xml file twice. The xml file saved in word is a unique tag type of word file. This kind of tag is very complicated, the readability is poor, and there are few related documents. The placeholder ${} replaced in the template will be disassembled automatically, and there are word-specific tag types in the...

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): G06F17/22G06F17/24
CPCY02D10/00
Inventor 刘杨徐淼
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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