本文已被:浏览 1777次 下载 4179次
Received:October 06, 2014 Revised:November 14, 2014
Received:October 06, 2014 Revised:November 14, 2014
中文摘要: 针对当前信息系统(Information System, IS)中文档批量生成与报表技术繁琐复杂的问题, 提出了一种基于Aspose技术的自定义模板文档生成方法. 首先建立模板文档, 划分常量域与变量域, 对其通用格式进行自定义设置, 然后重点借助Aspose组件调用模板文档并初始化, 进而对其变量域进行实际数据填充, 最后导出为目标格式的文档. 通过多次应用实践, 证明了该方法具有较高的鲁棒性与有效性.
Abstract:Aiming at the problem that document generation in batch and report technology is overly burdensome and complex in current information system(IS), this paper proposes a document generation method based on aspose and custom template. First, the template document is built, the constant and variable domains of which are divided, and the custom settings for general format of which are completed. Then, the template document is called and initialized by means of aspose component. After actual data filling for the variable domains through aspose component, the document in target format is exported. Many application results show the high robustness and effectiveness of this mothed.
文章编号: 中图分类号: 文献标志码:
基金项目:陕西省科技厅自然基金(2013JM8034);陕西省教育厅自然科学专项(12JK0947)
引用文本:
周千明,朱欣娟,胡西民.基于Aspose技术的自定义模板文档生成方法.计算机系统应用,2015,24(6):236-239
ZHOU Qian-Ming,ZHU Xin-Juan,HU Xi-Min.Document Generation Method Based on Aspose Technology and Custom Template.COMPUTER SYSTEMS APPLICATIONS,2015,24(6):236-239
周千明,朱欣娟,胡西民.基于Aspose技术的自定义模板文档生成方法.计算机系统应用,2015,24(6):236-239
ZHOU Qian-Ming,ZHU Xin-Juan,HU Xi-Min.Document Generation Method Based on Aspose Technology and Custom Template.COMPUTER SYSTEMS APPLICATIONS,2015,24(6):236-239