JAVA 操作 word
Java 操作 Microsoft Word 之 jacob(1)
现在我们一起来看看,用 J1ava 如何操作 Microsoft Word。
jacob,官网是 http://danadler.com/jacob 这是一个开源的工具。最新版本 1.7
官方的解释是:The JACOB Project: A JAva-COM Bridge
这是官方对下载文件的说明:
jacob.jar: a JAR %le 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.
开发环境:
JDK 1.6
MyEclipse Enterprise Workbench Version: 7.0 Milestone-1
Tomcat 5.5.27
现在 MyEclipse 中新建一个项目 jacob,将 jacob 的 jar 包放到该项目的类库中。
我的 jacob 版本是 1.14.3 。
评论14
最新资源