摘要
自动生成Word文档报告功能是办公自动化系统中的重要组成部分。采用调用COM组件实现C#.net对Word的控制的技术,将文档中的文字部分和表格部分分别插入到Word报告中,同时提出了使用文档光标跟随定位的方法来控制文档的起始位置和格式,并在相应的位置上插入对应的内容。
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.
出处
《计算机工程与应用》
CSCD
北大核心
2008年第9期104-106,共3页
Computer Engineering and Applications
基金
国家自然科学基金(the National Natural Science Foundation of China under Grant No.70371007)
北京市自然科学基金(the NaturalScience Foundation of Beijing City of China under Grant No.9052006)