现在我们一起来看看,用java如何操作Microsoft Word。jacob,官网是http://danadler.com/jacob这是一个开源的工具。最新版本1.7官方的解释是:The JACOB PRoject: A JAva-COM Bridge这是官方对下载文件的说明:
jacob.jar:a JAR file for the java classes which you must add to your CLASSPATH. The package names replace com.ms with com.jacob (for example com.ms.com.Variant maps to com.jacob.com.Variant.
jacob.dll:a small Win32 DLL which you must add to your PATH.
samples:provided in Java source and compiled form to demonstrate various features of the product. In particular, a set of wrapper classes for Microsoft® ADO are provided as samples.