如何在我的应用程序中使用 OpenOffice.org 拼写检查器 (VB6)
It is possible to use Microsoft Word to spell chek an arbitrary document.
What I want is to use OpenOffice.org to do the same.
Is it possible? How?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
OpenOffice 开发人员指南位于此处。
OpenOffice 有 COM 绑定,您可以在此处阅读相关内容。
API 参考位于此处
linguistic2 模块是您感兴趣的内容以及有关 拼写的文档检查器。
我认为,实现这一点相当复杂,并且只有在您计划将 OpenOffice 作为解决方案的一部分时才有用。我会查看各种第三方提供的 VB6 和拼写检查服务。
The OpenOffice Developer's Guide is here.
OpenOffice has COM bindings which you can read about here.
The API reference is here
The linguistic2 module is what you interested in and has documentation on the spell checker.
My opinion that it is rather involved to get this going and only of use if you are planning to have OpenOffice as part of your solution. I would look at the various 3rd party offering for VB6 and spell checking.
可能性不大。 OpenOffice 是用 Java 编写的,而您想使用 VB6。除非您能找到 Java->VB6 桥接器,否则不会非常有效。 [相对(桥梁不知道其速度)]
Its not very likely. OpenOffice is written in Java and you want to use VB6. Unless you can find a Java->VB6 bridge it won't happen very effecently. [relatively (bridges aren't known for their speed)]
Google 找到了这篇文章展示如何使用 OpenOffice 拼写检查器来自 C#。
免责声明:我还没有对此进行测试(或者实际上阅读了整篇文章)。
您可以编写 COM-visible C#(或VB.Net)组件,并从VB6调用它。
Google turns up this article showing how to use the OpenOffice spellchecker from C#.
Disclaimer: I haven't tested this (or actually read the whole article).
You could write a COM-visible C# (or VB.Net) component, and call it from VB6.