Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我帮助在 KOffice 中编写 RTF 导入导出过滤器。 您可以在 https://cgit.kde 查看代码.org/koffice.git/tree/filters/kword/rtf。 该代码是模块化的,仅依赖于 Qt。
I helped writing the RTF import export filter in KOffice. You can have a look at the code at https://cgit.kde.org/koffice.git/tree/filters/kword/rtf. The code is modular and it depends only on Qt.
快速 SourceForge 搜索建议 librtf。 它已经有一段时间没有开发了,但被列为稳定的并且处于 LGPL 之下。 我不知道它是否会支持您所需要的,但我总是建议在 SourceForge 中搜索库。
A quick SourceForge search suggests librtf. It hasn't been developed in a while, but is listed as stable and is under the LGPL. I don't know whether it will support what you need, but I always suggest searching SourceForge for libraries.
您可以通过 irc 询问
irc.freenode.org
上的#koffice
人员。 他们的程序kword
能够打开RTF文件,而且确实也是用Qt编写的。 我相信他们会很乐意告诉您他们是如何做到的。You can ask the
#koffice
guys onirc.freenode.org
over irc. Their programkword
is able to open RTF files, and is indeed also written in Qt. I'm sure they would be glad to tell you about how they do it.