GAO Le~1, ZHAO Yong-sheng~2. Application of MS Word in test software based on OLE Automation[J]. 2006, (2): 13-15+18.DOI:
基于OLE Automation技术实现MS Word在上位机软件中的应用
摘要
介绍了借助OLE A utom ation技术实现Borland C++Bu ilder与M S W ord融合的方法。重点阐述了用编程手段在M SW ord文档中自动完成试验报告的排版和编写
并将试验数据直接导入M SW ord文档
填写在相应的表格里
并根据测试项目的要求探讨了试验报告的排版和格式。
Abstract
Method based on OLE(Object Linking and Embedding)Automation technique that Combines Borland C
++
Builder and MS Word is introduced.Test report is automatically typesetted and compiled in Word document by programming and experiment data which is directly imported into MS Word document and filled in relevant table.According to requirement of test items
the format and typeset of test report are discussed.The practical application shows that the method are valid