You're right, I was doing something wrong, it was probably because I
created a new zip file like Niklas said. Tried it again and it works
just fine. Though I could have sworn I had already tried that, but I
guess not then, and I'm not complaining about finally solving this.
Sorry for inconveniencing all of you. Thanks for your input, this issue
has been solved.

-----Oorspronkelijk bericht-----
Van: Ariel Constenla-Haile [mailto:[email protected]]

Verzonden: woensdag 1 december 2010 14:21
Aan: [email protected]
Onderwerp: Re: [dev] Re: Code for Pictures

Hello Annika,

On Wednesday 01 December 2010, 10:01, Annika Westerlaken wrote:
> Thanks for your input. You're right about the entry being needed in
> manifest.xml, that was already taken care of however. I'm sorry for
not
> being clear enough in my initial message.
> 
> If I were to unzip an odt file containing a picture and rename this
> picture in content.xml, manifest,xml and the actual file in the
Pictures
> folder and rezip it, OOo will ask to repair the document when I try to
> open it.

my guess is you might be doing something wrong. 
I've tried this manually and worked ok:

* unzip the odt document
* rename the picture
* change the content.xml and META-INF/manifest.xml
* zip the document back

OOo opens the modified document just fine, no warnings at all:
http://arielch.fedorapeople.org/devel/ooo/test_orig.odt
http://arielch.fedorapeople.org/devel/ooo/test_modif.odt

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to