本文已被:浏览 1566次 下载 3504次
Received:November 22, 2011 Revised:December 26, 2011
Received:November 22, 2011 Revised:December 26, 2011
中文摘要: 针对信息管理系统中Web 报表打印的问题,设计了一套基于导出的Web 报表打印方案。对于样式有严格要求的报表,基于Word 模板通过数据替代生成工作报表导出打印。对于样式要求不高的报表,直接导出生成Excel 报表,运用二维数组向报表区域赋值。在降低编程难度,提高代码通用性和提高程序执行效率方面做出研究。同时,详细介绍了该Web 报表打印方法的实现过程。在实践当中,该方法已经在某行业协会信息管理系统中成功使用。
中文关键词: Web 报表 报表打印 模板 数据导出 Office 自动化程序
Abstract:For the Web report printing in information management system, a method based on data export is designed. The reports with strict requirements for the reporting style are generated through replacing the data in a Word template. Then they can be downloaded and printed. For less demanding style statements, data are exported and assigned to range by using two-dimensional array to directly generate Excel reports. It is studied how to reduce the difficulty of programming, improve versatility and improve the code efficiency of program execution. At the same time, the implementation of the Web report printing method is introduced in details. In practice, the method has been used successfully in information management system for a trade association.
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
GUO Ling | School of Computer Engineering, Shenzhen Polytechnic, Shenzhen 518055, China |
Author Name | Affiliation |
GUO Ling | School of Computer Engineering, Shenzhen Polytechnic, Shenzhen 518055, China |
引用文本:
郭玲.一种Web 报表打印方法的实现.计算机系统应用,2012,21(8):144-147,151
GUO Ling.Design and Implementation of a Web Report Printing Method.COMPUTER SYSTEMS APPLICATIONS,2012,21(8):144-147,151
郭玲.一种Web 报表打印方法的实现.计算机系统应用,2012,21(8):144-147,151
GUO Ling.Design and Implementation of a Web Report Printing Method.COMPUTER SYSTEMS APPLICATIONS,2012,21(8):144-147,151