Re: Enhancement of package OpenDocument
| From: | Peter Bittner | Date: | Wed, 20 May 2009 13:51:00 +0000 |
| Subject: | Re: Enhancement of package OpenDocument | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51825@lists.php.net to get a copy of this message | ||
Hello all,
I have modified my concept and instead of implementing a "raw mode" I
have implemented a "defensive mode". The implementation is now
working, defensive mode is default:
When an existing file is opened, modified and saved only the parts of
the ODT-archive are updated which have been touched (practically, the
rest of the ZIP remains as it is); when a new document is created the
same approach is applied with the template file (default.odt) being
taken as the "original" which is being updated.
I will update some other parts of the implementation to ensure that
updating the content of the ODT is "as defensive as possible", leaving
the XML-data and XML-structure as it is when replacing text or parts
of a text only.
When I'm done I would love to provide my changes to the PEAR project
as version 0.2.0 of OpenDocument, if that's alright. I hope you will
approve and will give me feedback soon.
Cheers, Peter
2009/5/15 Peter Bittner <peter.bittner@gmx.net>:
> Hi there,
>
> I am about to work on the package OpenDocument
> (http://pear.php.net/package/OpenDocument/). I have enhanced the
> examples files to allow for a quicker dive-in of a newbie.
>
> In addition, I plan to enhance its functionality with a "raw mode", as
> I call it, if using the XML document for my updates does not prove to
> be sufficient enough. I would like to contribute to this project as I
> find it useful for my current work, but reading and writing is still
> not fully working.
>
> I'd be happy to be admitted for a PEAR account!
>
> Cheers, Peter
>
> --
> Dipl.-Ing. Peter Bittner
> Vienna, Austria