Revision f1003bd...

Go back to digest for 8th July 2012

Bug Fixes in Office

Thorsten Zachmann committed changes in [calligra] /:

Improve painting of stretched pattern background

For page backgrounds it happens that the image gets shown quite badly when stretch
mode is used. See bug. When tesing the fix I found out that this effects quite a
lot presentations. Not all as bad as in the bug report. With the patch all the images
improve nicely.
Problem was that the images generated for the pattern background did not generate a
image as big as needed but some fixed one that resulted in not so good looking background
images.

The patch is quite big as 2 new parameters (KoViewConverter and KoShapePaintingContext)
are added to the KoShapeBackground::paint method. The KoShapePaintingContext is not yet
used but this is needed for animations in stage that change the background color and as
I was already at it I added it too.


REVIEW: 105458

File Changes

Modified 33 files
  •   libs/flake/KoColorBackground.cpp
  •   libs/flake/KoColorBackground.h
  •   libs/flake/KoGradientBackground.cpp
  •   libs/flake/KoGradientBackground.h
  •   libs/flake/KoOdfGradientBackground.cpp
  •   libs/flake/KoOdfGradientBackground.h
  •   libs/flake/KoPathShape.cpp
  •   libs/flake/KoPathShape.h
  •   libs/flake/KoPatternBackground.cpp
  •   libs/flake/KoPatternBackground.h
  •   libs/flake/KoShapeBackground.h
  •   libs/flake/KoShapeManager.cpp
  •   libs/flake/KoUnavailShape.cpp
  •   libs/flake/KoUnavailShape.h
  •   libs/kopageapp/KoPAMasterPage.cpp
  •   libs/kopageapp/KoPAPage.cpp
  •   libs/kopageapp/KoPAPage.h
  •   libs/kopageapp/KoPAPageBase.cpp
  •   libs/kopageapp/KoPAPageBase.h
  •   libs/kopageapp/KoPAViewModeNormal.cpp
  •   plugins/artistictextshape/ArtisticTextShape.cpp
  •   plugins/artistictextshape/ArtisticTextShape.h
  •   plugins/chartshape/ChartShape.cpp
  •   plugins/chartshape/Legend.cpp
  •   plugins/chartshape/PlotArea.cpp
  •   plugins/textshape/TextShape.cpp
  •   stage/part/KPrAnimationDirector.cpp
  •   karbon/ui/widgets/KarbonSmallStylePreview.cpp
  •   libs/flake/tests/TestShapeBackgroundCommand.cpp
  •   plugins/dockers/styledocker/StylePreview.cpp
  •   words/part/frames/KWFrameLayout.cpp
  •   kexi/plugins/shapes/relationdesign/kexirelationdesignshape.cpp
  •   kexi/plugins/shapes/relationdesign/kexirelationdesignshape.h
33 files changed in total