A method and apparatus for deriving an electronic document
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 2 
Figure 3
Abstract
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...