cornouws wrote:Will have a look in the zipped file to see what the difference is between manually added graphics and graphics added with the macro.
Hmm, there is no difference.
I also tried some other possibilities, e.g. when placing the graphic using the cursor in a table, at a bookmark ..
Still, there is basically no difference in how the graphic is mentioned in the xml file, nor how it is place in the Pictures folder (of course) ...
So I'm really puzzled, why a graphic that I add by code, will not be removed from the file, and a graphic in the same document that is added by hand, will be removed
The most recent LibreOffice and OpenOffice.org on Ubuntu - sometimes on Windows XP