On Sun June 25 2006 23:47, kevin johnston wrote:
> I saw in response to another recent post:
>
> "If you are comfortable with some "hacking" you have 2 options :
> ...
> 2) save the file in ODT format (turning off the "Size optimisation for
> XML" option in "Tools" -> "Options" -> "Load/Save" -> "General", then
> unzipping the ODT file, and edit the contents.xml file to remove the
> frame elements.
> You will of course have to re-zip the files to edit the document in OOo
> again."
>
> I've tried to do this a couple of times, I've never succeeded to read
> the edited xml back into OOo. Either it doesn't read at all or it says
> it's corrupted and "repairs" it to a blank document.
>
> Is there some kind of magic going on, like a checksum or CRC, that makes
> my edits unreadable? Do I need to edit some other file in addition to
> the contents.xml to keep something "in sync"?
No, and no.

> Even the simplest change I make is flagged as corrupted and unusable.
It sounds as if your re-zipping is not being done correctly.

> I'm on Windows XP, using the built-in zip. Maybe this zipper can un-zip
> the OOo zip format but doesn't (by default) re-zip in the same format?

The easiest way to test this and to get the zipping parameters correct is to 
unzip and re-zip without any changes.

-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
                                http://user-faq.openoffice.org/#FAQ

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to