text:id is deprecated
Boudewijn Rempt
boud at valdyas.org
Wed Jan 4 10:55:14 GMT 2012
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.
--
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
More information about the calligra-devel
mailing list