Docx和odt到文本的转换 [英] Conversion of Docx and odt to Text
本文介绍了Docx和odt到文本的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在做一个跨平台项目,该项目需要将文档转换为纯文本.而且我必须使用该纯文本进行进一步处理.是否有可以将docx和odt文件转换为文本文件的c ++库?是否有任何独立于平台的c ++库可供转换?
在此先感谢您.
Hi,
I''m doing a cross platform project that requires a conversion of document to plain text. And i have to use that plain text for further processing. Are there any c++ libraries that can convert docx and odt file to text file? Are there any platform independent c++ libraries for conversion?
Thanks in advance.
推荐答案
我了解您不希望使用任何专有软件,例如Microsoft Office,以及为什么.我知道的唯一开放源代码是OpenOffice本身(.odt的来源)及其 fork LibreOffice.请参阅:
http://en.wikipedia.org/wiki/OpenOffice.org [ http://www.openoffice.org/ [ ^ ],
http://en.wikipedia.org/wiki/LibreOffice [ http://www.libreoffice.org/ [ ^ ].
您可以下载源代码并找到适用于几乎所有版本的Office文档的代码.当然还有.ODT和所有其他OpenOffice/LibreOffice文档.
—SA
I understand that you don''t want to use any proprietary software like Microsoft Office and why. The only open-source code I know is OpenOffice itself (where .odt came from) and its fork LibreOffice. Please see:
http://en.wikipedia.org/wiki/OpenOffice.org[^],
http://www.openoffice.org/[^],
http://en.wikipedia.org/wiki/LibreOffice[^],
http://www.libreoffice.org/[^].
You can download the source and find the code working with nearly all versions of Office documents. And, of course, .ODT and all other OpenOffice/LibreOffice documents.
—SA
这篇关于Docx和odt到文本的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文