C++ Library to render ODF documents?

2019-03-24 14:42发布

问题:

I am unable to find any open source libraries to render ODF documents using C++. I found ODKit suporting Java and AODL for .NET C#.

Does any one have any idea or provide me any pointers.

回答1:

I found a Qt source to parse ODF. Qt already has built in ODF writer.



回答2:

KOffice supports ODF and is written in C++. I suspect they may have solved whatever it is you are trying to solve. http://www.koffice.org



回答3:

It may not be the most elegant solution but OpenOffice itself is capable of rendering and the OOoSDK can be used from C++ as seen here for writer and here for spreadsheet.



回答4:

There is none. You're better AODL or any of the other libs available (python, perl, java, etc) and doing a binding to it



回答5:

KOffice can be an idea, but if I just want to display an odt file in a nice Qt QWidget, but I don't want to depends on DBus and a lots of Kde feature.

The Idea is to take a look a Flake and KoText libs as Thomas Zanders says on this Forum.



标签: c++ odf