Re: help developing an editor to view openoffice files.



On 14/03/07, Paul Hummer <paul@xxxxxxxxxxxxxxxxxxxx> wrote:

I actually just read this in the O'Reilly book "Python Cookbook," so I
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.

it is indeed a huge project but I need to get started.
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.
.



Relevant Pages

  • Re: XmlTextWriter Encodes HTML Entities?
    ... as XML, ... Most of us and most documentation including W3C documentation define & ... as an HTML character entity. ... specific text characters as HTML character entities. ...
    (microsoft.public.dotnet.xml)
  • Re: XmlTextWriter Encodes HTML Entities?
    ... Most of us and most documentation including W3C documentation define & ... drop the verbiage "HTML" when describing character entities. ... XML but not part of HTML, while ö is part of HTML but not of XML; ... use of the language. ...
    (microsoft.public.dotnet.xml)
  • Re: XmlTextWriter Encodes HTML Entities?
    ... Most of us and most documentation including W3C documentation define & ... drop the verbiage "HTML" when describing character entities. ... XML but not part of HTML, while ö is part of HTML but not of XML; ... if you speak about those in HTML you refer to hundreds of them. ...
    (microsoft.public.dotnet.xml)
  • Re: PHP/pear http put method and text/xml?
    ... As you insisted in a previous posting that the examples serve as documentation, ... When putting it as a binary, the XML ... > And what message appears when you do HTTP PUT with Python or Java? ... > the response when using the PEAR class? ...
    (comp.lang.php)
  • Re: libxml: is it possible not to use doctype declaration?
    ... am not sure how to conclude that from the documentation. ... those were supposed to be class variables. ... of your xml before trying to parse it, ... Is using libxml the right thing to do to, ...
    (comp.lang.ruby)