Revision 1192455

Go back to digest for 7th November 2010

Features in Office

Boudewijn Rempt committed changes in /branches/work/koffice-essen:

Nearly working shape caching

This implements caching of shapes using QPixmapCache following the
design of QGraphicsView's caching, with some flake-specific changes.
(Flake can show different sets of shapes on different canvases, while
QGraphicsView shows the same scene on different paint devices.)

Current problems:

* when editing, shapes get overpainted incorrectly
* in kword, the margin offset seems wrong, so the page is broken
off at the wrong place.
* editing text doesn't work atm

File Changes

Added 2 files
  • /branches/work/koffice-essen/libs/flake
  •   /KoShapeManagerCachedPaintingStrategy.cpp
  •   /KoShapeManagerCachedPaintingStrategy.h
Modified 8 files
  • /branches/work/koffice-essen
  •   /kword/part/KWCanvasBase.cpp
  •   /libs/flake/CMakeLists.txt
  •   /libs/flake/KoShape.cpp
  •   /libs/flake/KoShape.h
  •   /libs/flake/KoShape_p.h
  •   /libs/flake/KoShapeManager.cpp
  •   /libs/flake/KoShapeManager.h
  •   /libs/flake/KoShapeManagerPaintingStrategy.h
10 files changed in total