Revision 1193959
Go back to digest for 14th November 2010Bug Fixes in Office
Thomas Zander committed changes in /trunk/koffice/libs/kotext/opendocument:
Fix loading of character styles to remember the name.
In many cases a character style applied to a smaller piece of text
will have an automatic-style introduced in between to store any extra
properties. It is important to remember the parent on loading since
otherwise the text just becomes an anonymous piece of formatted
text and we lose the whole advantage of characters styles.
This commit makes sure that we keep this relationship intact.
File Changes
Added 1 files
- /trunk/koffice/libs/kotext/opendocument/tests/data/TextContents/TextFormatting/charStyle.odt
Modified 3 files
- /trunk/koffice/libs/kotext/opendocument
- /KoTextSharedLoadingData.cpp
- /KoTextSharedLoadingData.h
- /tests/CMakeLists.txt
4 files changed in total