Revision 743552

Go back to digest for 2nd December 2007

Features in Office

Thorsten Zachmann committed changes in /trunk/koffice:

o Implement copy and paste of shapes.
With that the basis for copy and paste of shapes between different applications is done.

It is now possible to copy a shape e.g. in kpresenter and insert it in karbon.

This does not yet work with text shapes as there is an assert in the text shape loading code that checks that there is a valid KoDocument in KoOasisLoadinContext.

The KoDocument in the KoOasisLoadingContext is not yet used in koffice 2.0. It was used in koffice 1.6 for loading in the KoFieldVariable to access the url of a document and some other document related stuff.

How will this be done in koffice 2.0? Will we still need the KoDocument for doing that or can the KoDocument be removed from The KoOasisLoadingContext?

File Changes

Added 4 files
  • /trunk/koffice/libs/flake
  •   /KoShapeOdfSaveHelper.cpp
  •   /KoShapeOdfSaveHelper.h
  •   /KoShapePaste.cpp
  •   /KoShapePaste.h
Modified 8 files
  • /trunk/koffice
  •   /karbon/
  •   /kpresenter/part/kpresenter.rc
  •   /libs/flake/CMakeLists.txt
  •   /libs/kopageapp/KoPAView.cpp
  •   /libs/kopageapp/KoPAView.h
  •   /kivio/src/part/kivio.rc
  •   /plugins/defaultTools/defaulttool/DefaultTool.cpp
  •   /plugins/defaultTools/defaulttool/DefaultTool.h
12 files changed in total