首页 | 官方网站   微博 | 高级检索  
     

基于Aspose技术的自定义模板文档生成方法
引用本文:周千明,朱欣娟,胡西民.基于Aspose技术的自定义模板文档生成方法[J].计算机系统应用,2015,24(6):236-239.
作者姓名:周千明  朱欣娟  胡西民
作者单位:西安工程大学计算机科学学院,西安,710048
基金项目:陕西省科技厅自然基金(2013JM8034);陕西省教育厅自然科学专项(12JK0947)
摘    要:针对当前信息系统(Information System, IS)中文档批量生成与报表技术繁琐复杂的问题,提出了一种基于Aspose技术的自定义模板文档生成方法。首先建立模板文档,划分常量域与变量域,对其通用格式进行自定义设置,然后重点借助Aspose组件调用模板文档并初始化,进而对其变量域进行实际数据填充,最后导出为目标格式的文档。通过多次应用实践,证明了该方法具有较高的鲁棒性与有效性。

关 键 词:文档生成  自定义模板  Aspose组件  数据报表  信息系统
收稿时间:2014/10/6 0:00:00
修稿时间:2014/11/14 0:00:00

Document Generation Method Based on Aspose Technology and Custom Template
ZHOU Qian-Ming,ZHU Xin-Juan and HU Xi-Min.Document Generation Method Based on Aspose Technology and Custom Template[J].Computer Systems& Applications,2015,24(6):236-239.
Authors:ZHOU Qian-Ming  ZHU Xin-Juan and HU Xi-Min
Affiliation:College of Computer Science, Xi'an Polytechnic University, Xi'an 710048, China;College of Computer Science, Xi'an Polytechnic University, Xi'an 710048, China;College of Computer Science, Xi'an Polytechnic University, Xi'an 710048, China
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.
Keywords:document generation  custom template  aspose component  data report  information system
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号