text:id is deprecated

Thorsten Zachmann t.zachmann at zagge.de
Thu Jan 5 03:27:51 GMT 2012


On Wednesday, January 04, 2012 11:55:14 Boudewijn Rempt wrote:
> On Thursday 15 December 2011 Dec, Boudewijn Rempt wrote:
> > It turns out that currently, only the rdf system keeps the actual id
> > strings after loading is finished, the other parts of calligra only
> > use the id strings to build their mappings during loading, and
> > recreate them during saving.
> 
> Turns out that this isn't correct. The changetracking system also keeps a
> map, so I'll have to create the a class that keeps the map, can update
> items and a listener interface  that can be used to make sure all
> dependent objects are informed when the xml-id is regenerated during a
> save operation.
> 
> This should in all likelihood improve the rdf code as well.

Can you please point me to the place where you see this. 

The only place where I found it is the KoGenChanges. If that is the place you 
talk about then it is not needed to have a mapping as that is only used on 
saving.

Thorsten



More information about the calligra-devel mailing list