Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (9): 104-106.
• 研发、设计、测试 • Previous Articles Next Articles
YE Ming,ZHANG Zheng
Received:
Revised:
Online:
Published:
Contact:
叶 明,张 诤
通讯作者:
Abstract: Automatic report generation function is an important component of office automation system.In this paper,Using C#.net calling COM to control Word,the text and tables in the document are inserted into Word report separately.Meanwhile,brings up the cursor positioning methods to control the document format and location,and the content is inserted into the corresponding position.
Key words: C#.net, Word document, report generation
摘要: 自动生成Word文档报告功能是办公自动化系统中的重要组成部分。采用调用COM组件实现C#.net对Word的控制的技术,将文档中的文字部分和表格部分分别插入到Word报告中,同时提出了使用文档光标跟随定位的方法来控制文档的起始位置和格式,并在相应的位置上插入对应的内容。
关键词: C#.net, Word文档, 报告生成
YE Ming,ZHANG Zheng. Development of Word report generation function based on C#.net[J]. Computer Engineering and Applications, 2008, 44(9): 104-106.
叶 明,张 诤. 基于C#.NET的Word报告生成功能开发[J]. 计算机工程与应用, 2008, 44(9): 104-106.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/
http://cea.ceaj.org/EN/Y2008/V44/I9/104