是否有任何Java API可用于比较两个微词文档? [英] Is there any Java API available to compare two microsoft word documents?
问题描述
我在寻找可以比较两个微软Word文档的Java API。
我们使用的是Linux服务器,因此我们无法安装Microsoft Word。 / p>
编辑: - 我们要比较两个文档,有什么不常见的,我们必须用一些颜色或任何其他方式突出显示...所以我的事以合并不常见的文档和高亮内容。
有一个 Apache POI - Java API 来执行此操作。
示例源代码是这里。
我发现另一篇文章在做同样的事情在Java,但使用Windows COM这样做。如果你使用Linux,它建议使用远程Windows机器来完成这项工作。本文包含详细说明:来自Java的Word
I am looking for a Java API which can compare two microsoft word documents.
We are using Linux server so we can't install Microsoft Word in it.
EDIT :- We want to compare two document and what ever things are not common that we have to highlight with some color or any other way ... So I thing we have to merge both document and highlight content which are not common.
There is an Apache POI - Java API to do this.
Example source code is here.
I found another article doing the same thing in Java, but uses windows COM to do this. If you are using Linux, it suggests using a remote windows machine to do the work. The article contains detailed explanation: Word from Java
这篇关于是否有任何Java API可用于比较两个微词文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!