[Differential] [Request, 52 lines] D128: Restore loading of defaultstyles.xml

kossebau (Friedrich W. H. Kossebau) noreply at phabricator.kde.org
Sat Jun 27 20:27:12 BST 2015


kossebau created this revision.
kossebau added a subscriber: Calligra-Devel-list.

REVISION SUMMARY
  Fetching the resource dirs for "styles" from the main componentdata failed, as the
  resource dirs were registered by the factories with componentdata instances which
  never become main components, as they are only created after the KApplication
  instance, which itself already creates and registers a main componentdata .
  
  Also did the old approach only work with one type of document. Which conflicts
  at least with Gemini, which wants to support among others text documents
  and presentations in the very same application.

REPOSITORY
  rCALLIGRA Calligra

BRANCH
  fixFindingDefaultStylesXml

REVISION DETAIL
  https://phabricator.kde.org/D128

AFFECTED FILES
  flow/part/FlowFactory.cpp
  libs/kopageapp/KoPADocument.cpp
  libs/kopageapp/KoPADocument.h
  libs/kopageapp/KoPAPastePage.cpp
  libs/odf/KoOdfLoadingContext.cpp
  libs/odf/KoOdfLoadingContext.h
  stage/part/KPrFactory.cpp
  words/part/KWFactory.cpp
  words/part/KWOdfLoader.cpp
  words/part/author/CAuFactory.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kossebau
Cc: Calligra-Devel-list



More information about the calligra-devel mailing list