Revision 698767

Go back to digest for 12th August 2007

Features in Office

Jan Hambrecht committed changes in /trunk/koffice:

Implemented loading of shape groups. This was a little more work as the child shapes of the group had to be added to the document after loading so I put them into the loading context.

After loading the document, the apps KoShapeControllerBase implementaion has to transfer the collected shapes from the context to itself. The creation of the group shape is hardwired into the shape registry as we do not want a shape group appear inside the shape selector (when using a KoShapeGroupFactory).

Additionally I changed the shapes to save their global transformation matrix, as that is what they are in ODF.

File Changes

Modified 11 files
  • /trunk/koffice
  •   /karbon/karbon_part.cc
  •   /karbon/karbon_part.h
  •   /karbon/core/vdocument.cc
  •   /karbon/core/vdocument.h
  •   /libs/flake/KoShape.cpp
  •   /libs/flake/KoShapeGroup.cpp
  •   /libs/flake/KoShapeGroup.h
  •   /libs/flake/KoShapeLoadingContext.cpp
  •   /libs/flake/KoShapeLoadingContext.h
  •   /libs/flake/KoShapeRegistry.cpp
  •   /libs/flake/KoToolManager.cpp
11 files changed in total