tags:

views:

348

answers:

3

Hi,

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.

Thanks man, AiWee

A: 

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

AlfaTeK
Thanks for the answer.However, these all are not RENDER libraries. They allow you to manipulate, create or modify ODF documents but do not have any extensions for rendering the ODF document in GUI windows/frames. I checked all examples of AODL http://odftoolkit.org/AODL-Examples
aiw33k
+2  A: 

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

Ryan Graham
Hey Ryan. Well, KDE (or KOffice) is a huge desktop development framework for *nix platform. However, I am unable to find any modules related to ODF rendering en all.
aiw33k
KOffice runs on Windows and Mac as well. Anything to do with rendering may be deep inside, as it's a core functionality: http://www.koffice.org/developer/apidocs/
Ryan Graham
True. In other words, lot of re-factoring/#defines has to be practiced on KOffice code to extract rendering functionality alone. Well, I believed open source meant open design...however, design is through source which makes it tough to re-factor or build a render engine in days. Thanks by the way for he answers. What about any lightweight ODF viewers in LGPL , I may use. Any ideas.
aiw33k
A: 

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.

dzen