text:id is deprecated

C. Boemann cbo at boemann.dk
Thu Dec 15 15:37:04 GMT 2011


On Thursday 15 December 2011 16:24:24 Boudewijn Rempt wrote:
> In passing: it would be good if we could directly attach rdf metadata to an
> element (like text:table) instead of always having to work with bookmarks.
Yes very. Bookmarks, anchors and softbreaks are evil in that they are are non 
visible characters.

With Qt5 we are working on invisible fragments which may help. Another 
alternative is to have some sort of NonVisiblePositionsManager
> 
> 3. KoTextBlockData
> 
> This class causes a text:id to be saved in all cases, but it's only
> relevant when animations have been added. So, only then should we save the
> xml:id.
Checking for KoTextBlockData::paintStrategy() returning != 0 should probably 
do it



More information about the calligra-devel mailing list