Hello,
I just red this old post.
I hope you inbetween got the answer.
I have a C++ codeblock projet and I want to open an odt file and save it in RTF.
Could you please tell me what (and how) to install ?
Could you please also give me an example of how to open an odf file ?
Thanks in advance
Philippe
Split from topic with very different subject, floris v, moderator
C++ open an odt file and save it in RTF
C++ open an odt file and save it in RTF
Openoffice 4.1.1
Re: C++ open an odt file and save it in RTF
You need install the AOO or the LO (the whole office suite).Could you please tell me what (and how) to install ?
Of course you need install the C++ IDE (compiler, etc...)
You can use the API functions for the loading, saving and for the conversion. See the API descriptions ans Andrew Pitonyak's books.
I suppose, you need use the loadComponentFromURL() API function for open an .odf file, and the storeComponentToURL() or storeComponentAsURL() API function with a well adjusted export filter for the saving the converted file.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.