chart2/qa/extras/xshape/data/reference/tdf90839-1.xml |   74 +-
 chart2/qa/extras/xshape/data/reference/tdf90839-2.xml |   66 +-
 chart2/qa/extras/xshape/data/reference/tdf90839-3.xml |   66 +-
 chart2/qa/extras/xshape/data/reference/tdf90839-4.xml |   64 +-
 editeng/source/editeng/editeng.cxx                    |   25 
 editeng/source/editeng/impedit.cxx                    |  131 ++--
 editeng/source/editeng/impedit.hxx                    |   78 +-
 editeng/source/editeng/impedit2.cxx                   |  573 +++++++++++-------
 editeng/source/editeng/impedit3.cxx                   |  223 ++++---
 editeng/source/editeng/impedit4.cxx                   |    4 
 editeng/source/outliner/outlin2.cxx                   |    5 
 include/editeng/editeng.hxx                           |    2 
 include/editeng/outliner.hxx                          |    2 
 sc/qa/uitest/chart/chartLegend.py                     |    4 
 sc/qa/unit/filters-test.cxx                           |    2 
 sd/qa/uitest/impress_tests/tdf91762.py                |    8 
 sd/qa/unit/data/xml/n593612_0.xml                     |    4 
 sd/qa/unit/data/xml/n758621_1.xml                     |    4 
 sd/qa/unit/layout-tests.cxx                           |  107 +++
 sd/qa/unit/tiledrendering/LOKitSearchTest.cxx         |    4 
 svx/source/svdraw/svdotext.cxx                        |    2 
 svx/source/svdraw/svdotextdecomposition.cxx           |    4 
 test/source/sheet/xsheetannotationshapesupplier.cxx   |    2 
 23 files changed, 923 insertions(+), 531 deletions(-)

New commits:
commit d0a1616ccad0dd5f5a02c1b0204f537b57d0b4b5
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu May 6 14:14:56 2021 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Tue Jun 8 14:51:29 2021 +0200

    editengine-columns: Implement layout
    
    This changes the way how different parts access positions of lines and
    paragraphs. Now there is ImpEditEngine::IterateLineAreas, which performs
    uniform iteration over all ParaPortions and lines in order, calling a
    user-provided callback function for each portion and line; it passes
    all information about current portion, line, area, and column to the
    callback, and checks the return from the callback, to decide if it needs
    to continue iteration (in case when callback indicated that if doesn't
    need further data), and if it needs calling the callback for the rest of
    current portion's lines.
    
    This allows to have the code that calculates and iterates dimensions of
    lines in one central place, without the need to have duplicating logic
    in several places.
    
    One important exception is ImpEditEngine::Paint, which iterates without
    ImpEditEngine::IterateLineAreas, because it does many atomic paint
    operations in different points of iteration process, and implementing
    ImpEditEngine::IterateLineAreas to call callback in the required places
    would require increased complexity, which is left for a future change.
    To make that possible, ImpEditEngine::IterFlag should be extended to
    indicate additional requirements.
    
    Note that in fact, ImpEditEngine::Paint was taken as the model for
    implementation of ImpEditEngine::IterateLineAreas, with its detailed
    handling of all the vertical offsets like additional line spacing and
    interparagraph spacings that depend on context.
    
    The notable result of the centralization of the iteration code is slight
    change of heights reported by ImpEditEngine::CalcTextHeight. Previously
    it simply added all pre-calculated heights of portions, and not taking
    into account all the spacing handling that ImpEditEngine::Paint did,
    which was inconsistent (calculated height was different from painted
    height). Now ImpEditEngine::CalcTextHeight should provide more accurate
    results, which required small changes in the unit tests.
    
    Change-Id: I33cbb978deb974b314d36fda8674186a03991107
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116034
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/chart2/qa/extras/xshape/data/reference/tdf90839-1.xml 
b/chart2/qa/extras/xshape/data/reference/tdf90839-1.xml
index 2af62c344940..3586969602c1 100644
--- a/chart2/qa/extras/xshape/data/reference/tdf90839-1.xml
+++ b/chart2/qa/extras/xshape/data/reference/tdf90839-1.xml
@@ -175,15 +175,15 @@
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
-     <XShape positionX="8394" positionY="4386" sizeX="9180" sizeY="8065" 
type="com.sun.star.drawing.GroupShape">
+     <XShape positionX="8395" positionY="4386" sizeX="9178" sizeY="8066" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
-       <XShape positionX="8394" positionY="4386" sizeX="9180" sizeY="8065" 
type="com.sun.star.drawing.GroupShape">
+       <XShape positionX="8395" positionY="4386" sizeX="9178" sizeY="8066" 
type="com.sun.star.drawing.GroupShape">
         <XShapes>
-         <XShape positionX="8394" positionY="4386" sizeX="9180" sizeY="8065" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
+         <XShape positionX="8395" positionY="4386" sizeX="9178" sizeY="8066" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
           <XShapes>
-           <XShape positionX="16434" positionY="9300" sizeX="1140" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
+           <XShape positionX="16433" positionY="9300" sizeX="1140" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
             <XShapes>
-             <XShape positionX="16434" positionY="9300" sizeX="1140" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Yellow&#10;33%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="16433" positionY="9300" sizeX="1140" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Yellow&#10;33%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -192,21 +192,21 @@
               <LineStart/>
               <LineEnd/>
               <Transformation>
-               <Line1 column1="1141.000000" column2="0.000000" 
column3="16434.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="9300.000000"/>
+               <Line1 column1="1141.000000" column2="0.000000" 
column3="16433.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="9300.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
-             <Line1 column1="1141.000000" column2="0.000000" 
column3="16434.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="9300.000000"/>
+             <Line1 column1="1141.000000" column2="0.000000" 
column3="16433.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="9300.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="10197" positionY="11602" sizeX="928" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
+           <XShape positionX="10198" positionY="11602" sizeX="928" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
             <XShapes>
-             <XShape positionX="10197" positionY="11602" sizeX="928" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Black&#10;28%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="10198" positionY="11602" sizeX="928" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Black&#10;28%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -215,21 +215,21 @@
               <LineStart/>
               <LineEnd/>
               <Transformation>
-               <Line1 column1="929.000000" column2="0.000000" 
column3="10197.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="11602.000000"/>
+               <Line1 column1="929.000000" column2="0.000000" 
column3="10198.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="11602.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
-             <Line1 column1="929.000000" column2="0.000000" 
column3="10197.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="11602.000000"/>
+             <Line1 column1="929.000000" column2="0.000000" 
column3="10198.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="11602.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="8394" positionY="7893" sizeX="1060" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
+           <XShape positionX="8395" positionY="7893" sizeX="1060" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
             <XShapes>
-             <XShape positionX="8394" positionY="7893" sizeX="1060" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Green&#10;6%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="8395" positionY="7893" sizeX="1060" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Green&#10;6%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -238,21 +238,21 @@
               <LineStart/>
               <LineEnd/>
               <Transformation>
-               <Line1 column1="1061.000000" column2="0.000000" 
column3="8394.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="7893.000000"/>
+               <Line1 column1="1061.000000" column2="0.000000" 
column3="8395.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="7893.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
-             <Line1 column1="1061.000000" column2="0.000000" 
column3="8394.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="7893.000000"/>
+             <Line1 column1="1061.000000" column2="0.000000" 
column3="8395.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="7893.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="10043" positionY="5033" sizeX="716" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
+           <XShape positionX="10043" positionY="5033" sizeX="716" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
             <XShapes>
-             <XShape positionX="10043" positionY="5033" sizeX="716" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Red&#10;19%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="10043" positionY="5033" sizeX="716" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Red&#10;19%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -262,20 +262,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="717.000000" column2="0.000000" 
column3="10043.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="5033.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="5033.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="717.000000" column2="0.000000" 
column3="10043.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="5033.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="5033.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="14035" positionY="4386" sizeX="1034" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
+           <XShape positionX="14034" positionY="4386" sizeX="1034" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
             <XShapes>
-             <XShape positionX="14035" positionY="4386" sizeX="1034" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="White&#10;14%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="14034" positionY="4386" sizeX="1034" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="White&#10;14%" 
fontHeight="12.000000" fontColor="595959" textAutoGrowHeight="true" 
textAutoGrowWidth="true" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="3889" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -284,36 +284,36 @@
               <LineStart/>
               <LineEnd/>
               <Transformation>
-               <Line1 column1="1035.000000" column2="0.000000" 
column3="14035.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="4386.000000"/>
+               <Line1 column1="1035.000000" column2="0.000000" 
column3="14034.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="4386.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
-             <Line1 column1="1035.000000" column2="0.000000" 
column3="14035.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="4386.000000"/>
+             <Line1 column1="1035.000000" column2="0.000000" 
column3="14034.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="4386.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
           </XShapes>
           <Transformation>
-           <Line1 column1="9181.000000" column2="0.000000" 
column3="8394.000000"/>
-           <Line2 column1="0.000000" column2="8066.000000" 
column3="4386.000000"/>
+           <Line1 column1="9179.000000" column2="0.000000" 
column3="8395.000000"/>
+           <Line2 column1="0.000000" column2="8067.000000" 
column3="4386.000000"/>
            <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
           </Transformation>
          </XShape>
         </XShapes>
         <Transformation>
-         <Line1 column1="9181.000000" column2="0.000000" 
column3="8394.000000"/>
-         <Line2 column1="0.000000" column2="8066.000000" 
column3="4386.000000"/>
+         <Line1 column1="9179.000000" column2="0.000000" 
column3="8395.000000"/>
+         <Line2 column1="0.000000" column2="8067.000000" 
column3="4386.000000"/>
          <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
         </Transformation>
        </XShape>
       </XShapes>
       <Transformation>
-       <Line1 column1="9181.000000" column2="0.000000" column3="8394.000000"/>
-       <Line2 column1="0.000000" column2="8066.000000" column3="4386.000000"/>
+       <Line1 column1="9179.000000" column2="0.000000" column3="8395.000000"/>
+       <Line2 column1="0.000000" column2="8067.000000" column3="4386.000000"/>
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
diff --git a/chart2/qa/extras/xshape/data/reference/tdf90839-2.xml 
b/chart2/qa/extras/xshape/data/reference/tdf90839-2.xml
index d7e5c4a364f9..a2719aaf69f5 100644
--- a/chart2/qa/extras/xshape/data/reference/tdf90839-2.xml
+++ b/chart2/qa/extras/xshape/data/reference/tdf90839-2.xml
@@ -14,7 +14,7 @@
    <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
   </Transformation>
  </XShape>
- <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape" name="CID/D=0">
+ <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape" name="CID/D=0">
   <XShapes>
    <XShape positionX="8207" positionY="3821" sizeX="9721" sizeY="9721" 
type="com.sun.star.drawing.RectangleShape" name="MarkHandles" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
     <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
@@ -30,7 +30,7 @@
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
-   <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.RectangleShape" name="PlotAreaIncludingAxes" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
+   <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.RectangleShape" name="PlotAreaIncludingAxes" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
     <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
     <FillGradient style="LINEAR" startColor="000000" endColor="ffffff" 
angle="0" border="0" xOffset="50" yOffset="50" startIntensity="100" 
endIntensity="100" stepCount="0"/>
     <FillHatch style="SINGLE" color="3465a4" distance="20" angle="0"/>
@@ -40,11 +40,11 @@
     <LineEnd/>
     <Transformation>
      <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-     <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+     <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
-   <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape">
+   <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape">
     <XShapes>
      <XShape positionX="8207" positionY="3819" sizeX="9721" sizeY="9723" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
@@ -175,15 +175,15 @@
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
-     <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape">
+     <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
-       <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape">
+       <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape">
         <XShapes>
-         <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
+         <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
           <XShapes>
-           <XShape positionX="17907" positionY="9977" sizeX="6114" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
+           <XShape positionX="17907" positionY="9977" sizeX="6114" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
             <XShapes>
-             <XShape positionX="17907" positionY="9977" sizeX="6114" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Yellow - The color of 
sun and honey&#10;33%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="17907" positionY="9977" sizeX="6114" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Yellow - The color of 
sun and honey&#10;33%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -193,20 +193,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6115.000000" column2="0.000000" 
column3="17907.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="9977.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="9977.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6115.000000" column2="0.000000" 
column3="17907.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="9977.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="9977.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="3974" positionY="12784" sizeX="6220" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
+           <XShape positionX="3974" positionY="12784" sizeX="6220" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
             <XShapes>
-             <XShape positionX="3974" positionY="12784" sizeX="6220" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Black - The color of 
night and coffee&#10;28%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="3974" positionY="12784" sizeX="6220" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Black - The color of 
night and coffee&#10;28%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -216,20 +216,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6221.000000" column2="0.000000" 
column3="3974.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="12784.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="12784.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6221.000000" column2="0.000000" 
column3="3974.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="12784.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="12784.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="1910" positionY="7819" sizeX="6167" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
+           <XShape positionX="1910" positionY="7819" sizeX="6167" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
             <XShapes>
-             <XShape positionX="1910" positionY="7819" sizeX="6167" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Green - The color of 
grass and hope&#10;6%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="CENTER" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="1910" positionY="7819" sizeX="6167" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Green - The color of 
grass and hope&#10;6%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="CENTER" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -239,20 +239,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6168.000000" column2="0.000000" 
column3="1910.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="7819.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="7819.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6168.000000" column2="0.000000" 
column3="1910.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="7819.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="7819.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="3813" positionY="3994" sizeX="6035" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
+           <XShape positionX="3813" positionY="3993" sizeX="6035" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
             <XShapes>
-             <XShape positionX="3813" positionY="3994" sizeX="6035" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Red - The color of rose 
and passion&#10;19%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="3813" positionY="3993" sizeX="6035" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Red - The color of rose 
and passion&#10;19%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -262,20 +262,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6036.000000" column2="0.000000" 
column3="3813.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="3994.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="3993.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6036.000000" column2="0.000000" 
column3="3813.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="3994.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="3993.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="14780" positionY="3124" sizeX="6140" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
+           <XShape positionX="14780" positionY="3123" sizeX="6140" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
             <XShapes>
-             <XShape positionX="14780" positionY="3124" sizeX="6140" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="White - The color of 
milk and purity&#10;14%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="8832" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="14780" positionY="3123" sizeX="6140" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="White - The color of 
milk and purity&#10;14%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="8832" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -285,50 +285,50 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6141.000000" column2="0.000000" 
column3="14780.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="3124.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="3123.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6141.000000" column2="0.000000" 
column3="14780.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="3124.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="3123.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
           </XShapes>
           <Transformation>
            <Line1 column1="22112.000000" column2="0.000000" 
column3="1910.000000"/>
-           <Line2 column1="0.000000" column2="10510.000000" 
column3="3124.000000"/>
+           <Line2 column1="0.000000" column2="10512.000000" 
column3="3123.000000"/>
            <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
           </Transformation>
          </XShape>
         </XShapes>
         <Transformation>
          <Line1 column1="22112.000000" column2="0.000000" 
column3="1910.000000"/>
-         <Line2 column1="0.000000" column2="10510.000000" 
column3="3124.000000"/>
+         <Line2 column1="0.000000" column2="10512.000000" 
column3="3123.000000"/>
          <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
         </Transformation>
        </XShape>
       </XShapes>
       <Transformation>
        <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-       <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+       <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
     </XShapes>
     <Transformation>
      <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-     <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+     <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
   </XShapes>
   <Transformation>
    <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-   <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+   <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
    <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
   </Transformation>
  </XShape>
-</XShapes>
\ No newline at end of file
+</XShapes>
diff --git a/chart2/qa/extras/xshape/data/reference/tdf90839-3.xml 
b/chart2/qa/extras/xshape/data/reference/tdf90839-3.xml
index 77a1ac06f80a..3c4cc8a5b51d 100644
--- a/chart2/qa/extras/xshape/data/reference/tdf90839-3.xml
+++ b/chart2/qa/extras/xshape/data/reference/tdf90839-3.xml
@@ -14,7 +14,7 @@
    <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
   </Transformation>
  </XShape>
- <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape" name="CID/D=0">
+ <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape" name="CID/D=0">
   <XShapes>
    <XShape positionX="8207" positionY="3821" sizeX="9721" sizeY="9721" 
type="com.sun.star.drawing.RectangleShape" name="MarkHandles" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
     <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
@@ -30,7 +30,7 @@
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
-   <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.RectangleShape" name="PlotAreaIncludingAxes" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
+   <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.RectangleShape" name="PlotAreaIncludingAxes" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
     <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
     <FillGradient style="LINEAR" startColor="000000" endColor="ffffff" 
angle="0" border="0" xOffset="50" yOffset="50" startIntensity="100" 
endIntensity="100" stepCount="0"/>
     <FillHatch style="SINGLE" color="3465a4" distance="20" angle="0"/>
@@ -40,11 +40,11 @@
     <LineEnd/>
     <Transformation>
      <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-     <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+     <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
-   <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape">
+   <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape">
     <XShapes>
      <XShape positionX="8207" positionY="3819" sizeX="9721" sizeY="9723" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
@@ -175,15 +175,15 @@
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
-     <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape">
+     <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
-       <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape">
+       <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape">
         <XShapes>
-         <XShape positionX="1910" positionY="3124" sizeX="22111" sizeY="10509" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
+         <XShape positionX="1910" positionY="3123" sizeX="22111" sizeY="10511" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
           <XShapes>
-           <XShape positionX="17907" positionY="9977" sizeX="6114" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
+           <XShape positionX="17907" positionY="9977" sizeX="6114" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
             <XShapes>
-             <XShape positionX="17907" positionY="9977" sizeX="6114" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Yellow - The color of 
sun and honey&#10;33%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="17907" positionY="9977" sizeX="6114" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Yellow - The color of 
sun and honey&#10;33%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="7129" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -193,20 +193,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6115.000000" column2="0.000000" 
column3="17907.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="9977.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="9977.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6115.000000" column2="0.000000" 
column3="17907.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="9977.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="9977.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="3974" positionY="12784" sizeX="6220" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
+           <XShape positionX="3974" positionY="12784" sizeX="6220" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
             <XShapes>
-             <XShape positionX="3974" positionY="12784" sizeX="6220" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Black - The color of 
night and coffee&#10;28%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="3974" positionY="12784" sizeX="6220" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Black - The color of 
night and coffee&#10;28%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -216,20 +216,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6221.000000" column2="0.000000" 
column3="3974.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="12784.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="12784.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6221.000000" column2="0.000000" 
column3="3974.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="12784.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="12784.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="1910" positionY="7819" sizeX="6167" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
+           <XShape positionX="1910" positionY="7819" sizeX="6167" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
             <XShapes>
-             <XShape positionX="1910" positionY="7819" sizeX="6167" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Green - The color of 
grass and hope&#10;6%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="CENTER" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="1910" positionY="7819" sizeX="6167" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Green - The color of 
grass and hope&#10;6%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="CENTER" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -239,20 +239,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6168.000000" column2="0.000000" 
column3="1910.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="7819.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="7819.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6168.000000" column2="0.000000" 
column3="1910.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="7819.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="7819.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="3813" positionY="3994" sizeX="6035" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
+           <XShape positionX="3813" positionY="3993" sizeX="6035" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
             <XShapes>
-             <XShape positionX="3813" positionY="3994" sizeX="6035" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="Red - The color of rose 
and passion&#10;19%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="3813" positionY="3993" sizeX="6035" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="Red - The color of rose 
and passion&#10;19%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -262,20 +262,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6036.000000" column2="0.000000" 
column3="3813.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="3994.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="3993.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6036.000000" column2="0.000000" 
column3="3813.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="3994.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="3993.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="14780" positionY="3124" sizeX="6140" sizeY="849" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
+           <XShape positionX="14780" positionY="3123" sizeX="6140" sizeY="850" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
             <XShapes>
-             <XShape positionX="14780" positionY="3124" sizeX="6140" 
sizeY="849" type="com.sun.star.drawing.TextShape" text="White - The color of 
milk and purity&#10;14%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="14780" positionY="3123" sizeX="6140" 
sizeY="850" type="com.sun.star.drawing.TextShape" text="White - The color of 
milk and purity&#10;14%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="0" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -285,50 +285,50 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6141.000000" column2="0.000000" 
column3="14780.000000"/>
-               <Line2 column1="0.000000" column2="850.000000" 
column3="3124.000000"/>
+               <Line2 column1="0.000000" column2="851.000000" 
column3="3123.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6141.000000" column2="0.000000" 
column3="14780.000000"/>
-             <Line2 column1="0.000000" column2="850.000000" 
column3="3124.000000"/>
+             <Line2 column1="0.000000" column2="851.000000" 
column3="3123.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
           </XShapes>
           <Transformation>
            <Line1 column1="22112.000000" column2="0.000000" 
column3="1910.000000"/>
-           <Line2 column1="0.000000" column2="10510.000000" 
column3="3124.000000"/>
+           <Line2 column1="0.000000" column2="10512.000000" 
column3="3123.000000"/>
            <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
           </Transformation>
          </XShape>
         </XShapes>
         <Transformation>
          <Line1 column1="22112.000000" column2="0.000000" 
column3="1910.000000"/>
-         <Line2 column1="0.000000" column2="10510.000000" 
column3="3124.000000"/>
+         <Line2 column1="0.000000" column2="10512.000000" 
column3="3123.000000"/>
          <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
         </Transformation>
        </XShape>
       </XShapes>
       <Transformation>
        <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-       <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+       <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
     </XShapes>
     <Transformation>
      <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-     <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+     <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
   </XShapes>
   <Transformation>
    <Line1 column1="22112.000000" column2="0.000000" column3="1910.000000"/>
-   <Line2 column1="0.000000" column2="10510.000000" column3="3124.000000"/>
+   <Line2 column1="0.000000" column2="10512.000000" column3="3123.000000"/>
    <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
   </Transformation>
  </XShape>
-</XShapes>
\ No newline at end of file
+</XShapes>
diff --git a/chart2/qa/extras/xshape/data/reference/tdf90839-4.xml 
b/chart2/qa/extras/xshape/data/reference/tdf90839-4.xml
index 6b182821f1c9..c8327f6e3e95 100644
--- a/chart2/qa/extras/xshape/data/reference/tdf90839-4.xml
+++ b/chart2/qa/extras/xshape/data/reference/tdf90839-4.xml
@@ -14,7 +14,7 @@
    <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
   </Transformation>
  </XShape>
- <XShape positionX="1737" positionY="2768" sizeX="21967" sizeY="11230" 
type="com.sun.star.drawing.GroupShape" name="CID/D=0">
+ <XShape positionX="1737" positionY="2767" sizeX="21967" sizeY="11232" 
type="com.sun.star.drawing.GroupShape" name="CID/D=0">
   <XShapes>
    <XShape positionX="8034" positionY="3894" sizeX="9575" sizeY="9575" 
type="com.sun.star.drawing.RectangleShape" name="MarkHandles" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
     <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
@@ -30,7 +30,7 @@
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
-   <XShape positionX="1737" positionY="2768" sizeX="21967" sizeY="11230" 
type="com.sun.star.drawing.RectangleShape" name="PlotAreaIncludingAxes" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
+   <XShape positionX="1737" positionY="2767" sizeX="21967" sizeY="11232" 
type="com.sun.star.drawing.RectangleShape" name="PlotAreaIncludingAxes" 
fontHeight="12.000000" fontColor="ffffffff" textAutoGrowHeight="true" 
textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" 
textHorizontalAdjust="CENTER" textVerticalAdjust="CENTER" textLeftDistance="0" 
textRightDistance="0" textUpperDistance="0" textLowerDistance="0" 
textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" 
textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" 
textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" 
textAnimationStartInside="false" textAnimationStopInside="false" 
textWritingMode="LR_TB" fillStyle="NONE" fillColor="729fcf" 
fillTransparence="0" fillTransparenceGradientName="">
     <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
     <FillGradient style="LINEAR" startColor="000000" endColor="ffffff" 
angle="0" border="0" xOffset="50" yOffset="50" startIntensity="100" 
endIntensity="100" stepCount="0"/>
     <FillHatch style="SINGLE" color="3465a4" distance="20" angle="0"/>
@@ -40,11 +40,11 @@
     <LineEnd/>
     <Transformation>
      <Line1 column1="21968.000000" column2="0.000000" column3="1737.000000"/>
-     <Line2 column1="0.000000" column2="11231.000000" column3="2768.000000"/>
+     <Line2 column1="0.000000" column2="11233.000000" column3="2767.000000"/>
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
-   <XShape positionX="1737" positionY="2768" sizeX="21967" sizeY="11230" 
type="com.sun.star.drawing.GroupShape">
+   <XShape positionX="1737" positionY="2767" sizeX="21967" sizeY="11232" 
type="com.sun.star.drawing.GroupShape">
     <XShapes>
      <XShape positionX="8034" positionY="3892" sizeX="9575" sizeY="9577" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
@@ -175,15 +175,15 @@
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
-     <XShape positionX="1737" positionY="2768" sizeX="21967" sizeY="11230" 
type="com.sun.star.drawing.GroupShape">
+     <XShape positionX="1737" positionY="2767" sizeX="21967" sizeY="11232" 
type="com.sun.star.drawing.GroupShape">
       <XShapes>
-       <XShape positionX="1737" positionY="2768" sizeX="21967" sizeY="11230" 
type="com.sun.star.drawing.GroupShape">
+       <XShape positionX="1737" positionY="2767" sizeX="21967" sizeY="11232" 
type="com.sun.star.drawing.GroupShape">
         <XShapes>
-         <XShape positionX="1737" positionY="2768" sizeX="21967" sizeY="11230" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
+         <XShape positionX="1737" positionY="2767" sizeX="21967" sizeY="11232" 
type="com.sun.star.drawing.GroupShape" 
name="CID/D=0:CS=0:CT=0:Series=0:DataLabels=">
           <XShapes>
-           <XShape positionX="17590" positionY="9958" sizeX="6114" 
sizeY="1273" type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
+           <XShape positionX="17590" positionY="9958" sizeX="6114" 
sizeY="1274" type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=0">
             <XShapes>
-             <XShape positionX="17590" positionY="9958" sizeX="6114" 
sizeY="1273" type="com.sun.star.drawing.TextShape" text="Yellow - The color of 
sun and honey&#10;120&#10;33%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="17590" positionY="9958" sizeX="6114" 
sizeY="1274" type="com.sun.star.drawing.TextShape" text="Yellow - The color of 
sun and honey&#10;120&#10;33%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -193,20 +193,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6115.000000" column2="0.000000" 
column3="17590.000000"/>
-               <Line2 column1="0.000000" column2="1274.000000" 
column3="9958.000000"/>
+               <Line2 column1="0.000000" column2="1275.000000" 
column3="9958.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6115.000000" column2="0.000000" 
column3="17590.000000"/>
-             <Line2 column1="0.000000" column2="1274.000000" 
column3="9958.000000"/>
+             <Line2 column1="0.000000" column2="1275.000000" 
column3="9958.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="3770" positionY="12725" sizeX="6220" 
sizeY="1273" type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
+           <XShape positionX="3770" positionY="12725" sizeX="6220" 
sizeY="1274" type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=1">
             <XShapes>
-             <XShape positionX="3770" positionY="12725" sizeX="6220" 
sizeY="1273" type="com.sun.star.drawing.TextShape" text="Black - The color of 
night and coffee&#10;100&#10;28%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="3770" positionY="12725" sizeX="6220" 
sizeY="1274" type="com.sun.star.drawing.TextShape" text="Black - The color of 
night and coffee&#10;100&#10;28%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="TOP" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -216,20 +216,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6221.000000" column2="0.000000" 
column3="3770.000000"/>
-               <Line2 column1="0.000000" column2="1274.000000" 
column3="12725.000000"/>
+               <Line2 column1="0.000000" column2="1275.000000" 
column3="12725.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6221.000000" column2="0.000000" 
column3="3770.000000"/>
-             <Line2 column1="0.000000" column2="1274.000000" 
column3="12725.000000"/>
+             <Line2 column1="0.000000" column2="1275.000000" 
column3="12725.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="1737" positionY="7614" sizeX="6167" sizeY="1273" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
+           <XShape positionX="1737" positionY="7614" sizeX="6167" sizeY="1274" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=2">
             <XShapes>
-             <XShape positionX="1737" positionY="7614" sizeX="6167" 
sizeY="1273" type="com.sun.star.drawing.TextShape" text="Green - The color of 
grass and hope&#10;20&#10;6%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="CENTER" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="1737" positionY="7614" sizeX="6167" 
sizeY="1274" type="com.sun.star.drawing.TextShape" text="Green - The color of 
grass and hope&#10;20&#10;6%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="CENTER" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -239,20 +239,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6168.000000" column2="0.000000" 
column3="1737.000000"/>
-               <Line2 column1="0.000000" column2="1274.000000" 
column3="7614.000000"/>
+               <Line2 column1="0.000000" column2="1275.000000" 
column3="7614.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6168.000000" column2="0.000000" 
column3="1737.000000"/>
-             <Line2 column1="0.000000" column2="1274.000000" 
column3="7614.000000"/>
+             <Line2 column1="0.000000" column2="1275.000000" 
column3="7614.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="3614" positionY="3626" sizeX="6035" sizeY="1273" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
+           <XShape positionX="3614" positionY="3625" sizeX="6035" sizeY="1274" 
type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=3">
             <XShapes>
-             <XShape positionX="3614" positionY="3626" sizeX="6035" 
sizeY="1273" type="com.sun.star.drawing.TextShape" text="Red - The color of 
rose and passion&#10;70&#10;19%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="3614" positionY="3625" sizeX="6035" 
sizeY="1274" type="com.sun.star.drawing.TextShape" text="Red - The color of 
rose and passion&#10;70&#10;19%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="RIGHT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="6977" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -262,20 +262,20 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6036.000000" column2="0.000000" 
column3="3614.000000"/>
-               <Line2 column1="0.000000" column2="1274.000000" 
column3="3626.000000"/>
+               <Line2 column1="0.000000" column2="1275.000000" 
column3="3625.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6036.000000" column2="0.000000" 
column3="3614.000000"/>
-             <Line2 column1="0.000000" column2="1274.000000" 
column3="3626.000000"/>
+             <Line2 column1="0.000000" column2="1275.000000" 
column3="3625.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
-           <XShape positionX="14509" positionY="2768" sizeX="6140" 
sizeY="1273" type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
+           <XShape positionX="14509" positionY="2767" sizeX="6140" 
sizeY="1274" type="com.sun.star.drawing.GroupShape" 
name="CID/MultiClick/CID/D=0:CS=0:CT=0:Series=0:DataLabels=:DataLabel=4">
             <XShapes>
-             <XShape positionX="14509" positionY="2768" sizeX="6140" 
sizeY="1273" type="com.sun.star.drawing.TextShape" text="White - The color of 
milk and purity&#10;50&#10;14%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="8664" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
+             <XShape positionX="14509" positionY="2767" sizeX="6140" 
sizeY="1274" type="com.sun.star.drawing.TextShape" text="White - The color of 
milk and purity&#10;50&#10;14%" fontHeight="12.000000" fontColor="595959" 
textAutoGrowHeight="true" textAutoGrowWidth="true" textContourFrame="false" 
textFitToSize="NONE" textHorizontalAdjust="LEFT" textVerticalAdjust="BOTTOM" 
textLeftDistance="0" textRightDistance="0" textUpperDistance="0" 
textLowerDistance="0" textMaximumFrameHeight="0" textMaximumFrameWidth="8664" 
textMinimumFrameHeight="1" textMinimumFrameWidth="1" textAnimationAmount="0" 
textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" 
textAnimationKind="NONE" textAnimationStartInside="false" 
textAnimationStopInside="false" textWritingMode="LR_TB" fillStyle="NONE" 
fillColor="ffffff" fillTransparence="0" fillTransparenceGradientName="">
               <FillTransparenceGradient style="LINEAR" startColor="000000" 
endColor="000000" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillGradient style="LINEAR" startColor="000000" 
endColor="ffffff" angle="0" border="0" xOffset="50" yOffset="50" 
startIntensity="100" endIntensity="100" stepCount="0"/>
               <FillHatch style="SINGLE" color="3465a4" distance="20" 
angle="0"/>
@@ -285,49 +285,49 @@
               <LineEnd/>
               <Transformation>
                <Line1 column1="6141.000000" column2="0.000000" 
column3="14509.000000"/>
-               <Line2 column1="0.000000" column2="1274.000000" 
column3="2768.000000"/>
+               <Line2 column1="0.000000" column2="1275.000000" 
column3="2767.000000"/>
                <Line3 column1="0.000000" column2="0.000000" 
column3="1.000000"/>
               </Transformation>
              </XShape>
             </XShapes>
             <Transformation>
              <Line1 column1="6141.000000" column2="0.000000" 
column3="14509.000000"/>
-             <Line2 column1="0.000000" column2="1274.000000" 
column3="2768.000000"/>
+             <Line2 column1="0.000000" column2="1275.000000" 
column3="2767.000000"/>
              <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
             </Transformation>
            </XShape>
           </XShapes>
           <Transformation>
            <Line1 column1="21968.000000" column2="0.000000" 
column3="1737.000000"/>
-           <Line2 column1="0.000000" column2="11231.000000" 
column3="2768.000000"/>
+           <Line2 column1="0.000000" column2="11233.000000" 
column3="2767.000000"/>
            <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
           </Transformation>
          </XShape>
         </XShapes>
         <Transformation>
          <Line1 column1="21968.000000" column2="0.000000" 
column3="1737.000000"/>
-         <Line2 column1="0.000000" column2="11231.000000" 
column3="2768.000000"/>
+         <Line2 column1="0.000000" column2="11233.000000" 
column3="2767.000000"/>
          <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
         </Transformation>
        </XShape>
       </XShapes>
       <Transformation>
        <Line1 column1="21968.000000" column2="0.000000" column3="1737.000000"/>
-       <Line2 column1="0.000000" column2="11231.000000" column3="2768.000000"/>
+       <Line2 column1="0.000000" column2="11233.000000" column3="2767.000000"/>
        <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
       </Transformation>
      </XShape>
     </XShapes>
     <Transformation>
      <Line1 column1="21968.000000" column2="0.000000" column3="1737.000000"/>
-     <Line2 column1="0.000000" column2="11231.000000" column3="2768.000000"/>
+     <Line2 column1="0.000000" column2="11233.000000" column3="2767.000000"/>
      <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
     </Transformation>
    </XShape>
   </XShapes>
   <Transformation>
    <Line1 column1="21968.000000" column2="0.000000" column3="1737.000000"/>
-   <Line2 column1="0.000000" column2="11231.000000" column3="2768.000000"/>
+   <Line2 column1="0.000000" column2="11233.000000" column3="2767.000000"/>
    <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
   </Transformation>
  </XShape>
diff --git a/editeng/source/editeng/editeng.cxx 
b/editeng/source/editeng/editeng.cxx
index cb1244f2e30f..b90ad3127fee 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx

... etc. - the rest is truncated
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to