BCB环境中处理应用程序导出Word文档时,大多采用OLE方式调用Word服务器或使用服务器组件控件的方法,但这两种方法都存在导出速度慢的缺陷。本文提出了使用RTF规范来实现导出Word文档的新方法,并将该方法应用于现有的RichView控件,从而改进了使用该控件导出Word文档方法的性能。文中还给出该应用的编程方法,并总结了应用程序实现Word文档导出的技术开发新路径。%In the BCB environment,exporting a Word document generally uses the OLE to call the Word server or server component control method,but both of them are quite slow to export the Word documents.In this paper,the new fast approach to export the Word documents is proposed and applied to the "RichView-control" and the corresponding programming method is given.The practical test results indicate that the proposed approach is fast and feasible as well as reliable compared to the corresponding current approaches.
展开▼