Re: words: images with anchoring enabled will be saved twice to odf.

2011-12-16 Thread Thorsten Zachmann
On Friday, December 16, 2011 10:54:22 Silvio Heinrich wrote: > There is a problem when saving a text document that contains anchored > images. > In the saving process the saveOdf method of the shape (the pictureshape > in this case) is called twice because the shape itself exists twice in > the doc

Re: words: images with anchoring enabled will be saved twice to odf.

2011-12-16 Thread Boudewijn Rempt
On Friday 16 December 2011 Dec, Silvio Heinrich wrote: > There is a problem when saving a text document that contains anchored > images. > In the saving process the saveOdf method of the shape (the pictureshape > in this case) is called twice because the shape itself exists twice in > the docume

Re: text:id is deprecated

2011-12-16 Thread Boudewijn Rempt
On Thursday 15 December 2011 Dec, Jos van den Oever wrote: > I generally like the plan and could not find any problem. A question though: > would the classes KoElementReferenceData know if there are any > KoElementReference instances that point to it? If there aren't any, there is > no need to

words: images with anchoring enabled will be saved twice to odf.

2011-12-16 Thread Silvio Heinrich
There is a problem when saving a text document that contains anchored images. In the saving process the saveOdf method of the shape (the pictureshape in this case) is called twice because the shape itself exists twice in the document. The shape is added to the KWDocument and if it is anchored it