I have a need to replace a image in document with barcode image created with webservice...
I have done in this way:
1.) unziped odt file on disk
2.) saved my barcode.jpg file inside Pictures directory
3.) In content.xml I replaced a "template" image with barcode image (changed path to my barcode image) (and saved content.xml)
4.) ziped all folders...
(Entire process is done on Oracle database with java procedures... we use odt files as template/report engine)
If I run the file I get a dialog that open office noticed something was changed and after that it opens a document without any problem..
What I'am doing wrong? I would like to avoid that dialog showing that file was modified..
Pictures in my folder

Replaced template images with barcode "name" with my barcode image....

This is the final document.. but I would like to avoid warrning dialog that file is "corupted"...

Here is my corrupted file: https://drive.google.com/file/d/0B6Z9wN ... sp=sharing

