Re: help developing an editor to view openoffice files.
- From: "krishnakant Mane" <researchbase@xxxxxxxxx>
- Date: Wed, 14 Mar 2007 14:47:44 +0530
On 14/03/07, Paul Hummer <paul@xxxxxxxxxxxxxxxxxxxx> wrote:
I actually just read this in the O'Reilly book "Python Cookbook," so Iit is indeed a huge project but I need to get started.
know this answer off the top of my head. OpenOffice files are merely
zip files with well documented XML inside. Use the builtin zip module
to open them, and then it's just XML parsing. As far as the editor,
you'll have to familiarize yourself with the XML data from the
documentation, and it sounds like that's quite a project.
I know that it is xml inside a zipped archive. but reading the
documents is one thing and rendering them is another.
just in case we can convert it to html and then render it in some kind
of a html browser or html text area and then when user makes changes
to the document, we can save it back to odt. but for that we need
both way conversion.
Just out of curiosity, why not just download OpenOffice?I wished I could use it out of the box.
but the problem is that open office does not provide any accessibility
on windows and on linux the work is going on.
regards.
Krishnakant.
.
- References:
- help developing an editor to view openoffice files.
- From: krishnakant Mane
- help developing an editor to view openoffice files.
- Prev by Date: how to catch system errors in python
- Next by Date: Re: Iterating across a filtered list
- Previous by thread: Re: help developing an editor to view openoffice files.
- Next by thread: Eureka moments in Python
- Index(es):
Relevant Pages
|