作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (5): 279-280,284. doi: 10.3969/j.issn.1000-3428.2012.05.086

• 开发研究与设计技术 • 上一篇    下一篇

基于动态网页的Word报告自动生成方法

刘 鹏,秦 巍,周永辉,郭义琪   

  1. (北京空间飞行器总体设计部,北京 100094)
  • 收稿日期:2011-09-05 出版日期:2012-03-05 发布日期:2012-03-05
  • 作者简介:刘 鹏(1981-),男,硕士研究生,主研方向:航天器在轨数据处理;秦 巍,高级工程师;周永辉,工程师;郭义琪,研究员

Automatic Generation Method of Word Report Based on Dynamic Web Page

LIU Peng, QIN Wei, ZHOU Yong-hui, GUO Yi-qi   

  1. (Beijing Institute of Spacecraft System Engineering, Beijing 100094, China)
  • Received:2011-09-05 Online:2012-03-05 Published:2012-03-05

摘要: 为减少日常工作中Word报告编制的工作量,提出一种基于动态网页的可扩展Word报告自动生成方法。将数据处理方法封装为数据占位符,并插入Word文档中定制报告模板。利用报告模板生成ASPX动态网页,根据用户操作调用相应的数据处理方法进行信息录入和检索,替换报告模板中的数据占位符,从而生成最终报告。应用结果表明,该方法能提高Word报告编制的效率。

关键词: 动态网页, Word报告, 报告模板, 占位符

Abstract: In order to reduce the workload of daily Word report generation, this paper presents a scalable method of automated Word report generation based on dynamic Web pages. The symbols encapsulated from data processing methods are inserted into Word document in order to customize the report template, which is converted to ASPX Web pages. The corresponding data processing methods are invoked to input or retrieve information according to the user operation. The symbols are replaced by the information in order to generate the final report. Application results demonstrate that the method can improve the efficiency of Word report generation.

Key words: dynamic Web page, Word report, report template, placeholder

中图分类号: