changed KoTextBlockData usage
Review Request #106559 - Created Sept. 24, 2012 and submitted
I've changed KoTextBlockData from being stored directly in QtextBlock::userData to storing it's private class The usage of the class has also changed slightly. Now the class stores itself (well it's private class) on the block KoTextBlockData itself has become a use-and-throw-away class. It takes care of storing itself on the block
So far only basic usage of Words. And I have several other commits that use it so I'm fairly sure the idea works. Have no tried Stage and in particular the new animation stuff
To files in the stage tests need also to be change to make this change compile with tests enabled. When running cstester I found the following documents to generate wrong numbering with the patch: www.itrainonline.org%2Fitrainonline%2Fmmtk%2Fwireless_en%2Ffiles_2%30%308%2F14_en_wimax-and-non-standard-solutions_handout.odt www.ivoa.net%2Finternal%2FIVOA%2FIvoaGridAndWebServices%2FVOSupportInterfacesMandatory-%30.26.odt www.jisc.ac.uk%2Fuploaded_documents%2FTechnical%20Framework%20feb%304.doc www.oasis-open.org%2Fcommittees%2Fdownload.php%2F2%30492%2FUCR.odt The animation of text seem to still work correctly.
Review request changed
fixed unittests and the list problem reported
Revision 2 (+196 -226)