C++ Library to render ODF documents?

2019-03-24 14:40发布

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.

标签: c++ odf
5条回答
Deceive 欺骗
2楼-- · 2019-03-24 14:58

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

查看更多
\"骚年 ilove
3楼-- · 2019-03-24 14:59

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

查看更多
Luminary・发光体
5楼-- · 2019-03-24 15:06

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.

查看更多
贪生不怕死
6楼-- · 2019-03-24 15:24

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.

查看更多
登录 后发表回答