Revision 912275

Go back to digest for 18th January 2009

Features in Office

Thorsten Zachmann committed changes in /trunk/koffice:

o Added a way to make it possible to define default styles.
The default styles are a normal odf file styles.xml file where you can define styles that are used as default e.g. when there are no styles found for a specific type. They are not used automatically. The usage of these styles need to be programmed.

o Fix: Add page layouts if they are not defined in the odp file.
This tries as best as possible to only add layouts that are not defined in the presentation e.g. if there is already a layout with a title and a outline the default layout with title and outline is not added.

With that all presentations should have layouts at hand to use.

File Changes

Added 3 files
  • /trunk/koffice/kpresenter/styles
  •   /CMakeLists.txt
  •   /defaultstyles.xml
Modified 8 files
  • /trunk/koffice
  •   /kpresenter/CMakeLists.txt
  •   /kpresenter/part/KPrFactory.cpp
  •   /libs/kopageapp/KoPADocument.cpp
  •   /libs/kopageapp/KoPALoadingContext.cpp
  •   /libs/kopageapp/KoPALoadingContext.h
  •   /libs/kopageapp/KoPAPastePage.cpp
  •   /kivio/src/part/KivioFactory.cpp
  •   /kpresenter/part/pagelayout/KPrPageLayouts.cpp
11 files changed in total