Converting OpenOffice File Formats to text format

The Application Programming Interface and the OASIS Open Document Format

Converting OpenOffice File Formats to text format

Postby mohan2sree » Mon Nov 03, 2008 12:38 pm

Welcome beginner. What is your question or comment?
Please try to briefly and clearly tell us: What you want, What you tried, and What happened.
-----------------------------------------------------------------------------------------------------------
Dear Team,

I am new to this. I need an information regarding Converting(Parsing) OpenOffice file formats such as (.odt, .ods, .odp) to text format. Can you please some information regarding this and if possible send me some sample Api's.

Thanks&Regards,
Mohansai
OOo 2.1.X on Mandriva
mohan2sree
 
Posts: 2
Joined: Mon Nov 03, 2008 12:27 pm

Re: Converting OpenOffice File Formats to text format

Postby Caracalla » Mon Nov 03, 2008 1:21 pm

you mean .txt files? With .odt files it's simple, open the file in OOo and save as .txt Of course, most formatting will be lost that way.
.ods and .odp files cannot be converted to ure text i think, how could they be?
Has your question been answered? Then please add [solved] to the title of your thread.
My pet peeve, No support for international ordinal numbering
please vote

Er is nu ook een Nederlandstalig forum!
OOo 3.0.X on Ms Windows XP + Opensuse 11.1
Caracalla
Volunteer
 
Posts: 474
Joined: Thu Nov 22, 2007 2:35 pm
Location: Netherlands, EU

Re: Converting OpenOffice File Formats to text format

Postby mohan2sree » Mon Nov 03, 2008 2:16 pm

Dear caracalla,

Thanks for your reply. I need in the txt format that mean as a String.which i need to read and Send to OutputStream . Can you send me some API for converting OpenOffice files to txt . I mean , need the content of the file in a String Value. Can you please provide that.

Thanks in Advance
OOo 2.1.X on Mandriva
mohan2sree
 
Posts: 2
Joined: Mon Nov 03, 2008 12:27 pm


Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 2 guests