从Java读取Microsoft Works和/或OneNote文件 [英] Read Microsoft Works and/or One Note files from Java
问题描述
我已经成功地使用Apache POI和Tika库来提取文本大多数其他Micrososft格式,但这两个仍然难以捉摸。
谢谢,
Frank
从我可以告诉.one(OneNote)文件格式是专有的,但有一个COM API:
http://msdn.microsoft.com/en-us/library/ms788684(office.12).aspx#Office2007OneNoteWhatsNew_OneNote2007COMAPI 您可能能够写一些东西来转换另一种语言的数据,并调用它?
一些谷歌搜索显示程序,可以转换wps文件,但我没有看到任何Java API或任何文档。这可能是可行的。不知道你有多少文件处理,但你可能需要使用另一个应用程序来转换文件,或让你的用户运行另一个应用程序首先转换它?
I'm looking for a way to read Microsoft Works (.wps) and One Note (.one) files in a Java application. Actually, all I care about is extracting readable text from these files so I can index them.
I've had success using the Apache POI and Tika libraries to extract text from most other Micrososft formats, but these two are still elusive.
Thanks, Frank
From what I can tell the .one (One Note) file format is proprietary but there is a COM API: http://msdn.microsoft.com/en-us/library/ms788684(office.12).aspx#Office2007OneNoteWhatsNew_OneNote2007COMAPI which you might be able to write something to convert the data in another language and call it?
A couple of google search reveal programs that can convert wps files, but I don't see any java api or any documentation. It might be doable. Not sure how many files you are dealing with, but you might need to use another application to convert the file or have you users run another app to convert it first?
这篇关于从Java读取Microsoft Works和/或OneNote文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!