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.
CN109933752AActive Publication Date: 2019-06-25BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Publication Date
2019-06-25

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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