摘 要: 本文的在线生成在当前的信息系统中有广泛的应用,基于现有的POI和Itext等API无法实现的问题进行扩 展。文中研究了文档的直接生成中的难点问题,包括复杂表格的生成、单元格的合并等;还研究了对Word和Excel的内 容进行替换的文档生成方式,总结了适用于Word和Excel文档的最优生成方式。以上方法均已在项目中进行应用,并取 得了良好的效果。 |
关键词: 文档生成;写入生成;自定义模板;信息系统 |
中图分类号: TP311
文献标识码: A
|
基金项目: 大连市青年科技之星培育计划项目(ZX2015KJ023). |
|
Research and Application of Document Generation Technology |
SHAO Xinxin,ZHANG Minghui,GAO Zijun
|
( Department of Software Engineering, Dalian Neusoft University of Information, Dalian 116023, China)
|
Abstract: Text online generated have a wide range of applications in current information systems.Aiming at the problem of document generation in POI and Itext technology,the difficulties of generating documents are studied,including the generation of the complicated form,the cell's merger etc.Replacing content of Word and Excel is studied.The optimal generation of Word and Excel document is proposed.These methods have been applied in the project,and achieved good results. |
Keywords: document generation;written generation;custom template;information system |