Revision 1bfe8cc...

Go back to digest for 6th November 2011

Bug Fixes in Office

C. Boemann committed changes in [calligra] /:

Fix the inheritance of paragraph styles
before we loaded every inherited value into the child style too

Make ParagraphStyle a subclass of KoCharacterStyle so we handle the
char properties as one style and not auxillary style.

We also no longer add the character properties to the stylemanager as
a character style of it's own. And thus we no longer need the hack
that prevented them from being seen by the user in StylesModel.

Let characterstyles have inheritance too
This proves to be a big improvement getting font's right in a lot of files

File Changes

Modified 24 files
  •   tables/Cell.cpp
  •   tables/Map.cpp
  •   libs/kotext/KoTextEditor.cpp
  •   libs/textlayout/KoTextLayoutArea.cpp
  •   plugins/chartshape/Axis.cpp
  •   plugins/textshape/TextShape.cpp
  •   plugins/textshape/TextTool.cpp
  •   words/part/KWDocument.cpp
  •   libs/kotext/opendocument/KoTextSharedLoadingData.cpp
  •   libs/kotext/opendocument/KoTextSharedLoadingData.h
  •   libs/kotext/opendocument/KoTextWriter_p.cpp
  •   libs/kotext/styles/KoCharacterStyle.cpp
  •   libs/kotext/styles/KoCharacterStyle.h
  •   libs/kotext/styles/KoListLevelProperties.cpp
  •   libs/kotext/styles/KoParagraphStyle.cpp
  •   libs/kotext/styles/KoParagraphStyle.h
  •   libs/kotext/styles/KoStyleManager.cpp
  •   libs/kotext/styles/KoStyleManager.h
  •   libs/kotext/styles/KoTableCellStyle.cpp
  •   plugins/textshape/dialogs/StyleManager.cpp
  •   plugins/textshape/dialogs/StylesModel.cpp
  •   libs/kotext/opendocument/tests/TestLoadStyle.cpp
  •   libs/kotext/styles/tests/TestOpenDocumentStyle.cpp
  •   libs/kotext/styles/tests/TestStyles.cpp
24 files changed in total