文件名称:exportwordsrc
介绍说明--下载内容均来自于网络,请自行研究使用
如果您要在应用程序中处理Word文档,可以参考MSDN. Lori Turner. Automating Microsoft Office 97 and Office 2000,该文内容详细全面,但是要在C++程序中导出Word文档,按照文中的方法来处理是很麻烦的,特别是需要填写的参数太多,所以我们考虑生成正确的VB脚本,然后执行生成Word文档的操作,这个方法的优点在于:一方面可以少填写参数;另一方面可以使用在Word中录制的宏脚本,而只需作少量的修改。我们给出了一些简单的函数来方便生成Word文档(主要是简单的表格)和直接运行内存中的VB脚本,此外,还附带了一个小小的例子。-If you want to process the application processing Word documents, can refer to the MSDN. Lori Turner. Automating Microsoft Office 97 and Office 2000, the paper detailed and comprehensive content, but to the C procedures derived Word documents, in accordance with the text of ways to deal with is very troublesome, particularly the need to fill write too many parameters, we consider it generate the correct VB scr ipt, and then the implementation of Word documents generated, the operation of the advantages of this method is : on the one hand less filling parameters; on the other hand, can use Word's macro-recording scr ipts, and only for a small number of amendments. We give a simple function to facilitate the formation Word documents (mainly simple form) and direct memory running the VB scr
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ExportWordsrc
.............\Automating Office.doc
.............\ExportWordDoc.cpp
.............\ExportWordDoc.sln
.............\ExportWordDoc.vcproj
.............\ScriptHost.dll
.............\ScriptHost.lib
.............\tab.txt
.............\temp.vbs
.............\temp.vbs.txt
.............\vbs.cpp
.............\vbs.h
.............\Automating Office.doc
.............\ExportWordDoc.cpp
.............\ExportWordDoc.sln
.............\ExportWordDoc.vcproj
.............\ScriptHost.dll
.............\ScriptHost.lib
.............\tab.txt
.............\temp.vbs
.............\temp.vbs.txt
.............\vbs.cpp
.............\vbs.h