summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/qa')
-rwxr-xr-xchart2/qa/extras/chart2dump/chart2dump.cxx53
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/axislabeltest/default_formated_axis.txt150
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/axislabeltest/formated_axis_labels.txt150
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/axislabeltest/percent_stacked_column_chart.txt150
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/axislabeltest/rotated_axis_labels.txt90
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_with_titles.txt10
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_without_titles.txt10
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_custom_positioning.txt10
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/custom_legend_position.txt48
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/legend_on_bottom.txt48
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/legend_on_left_side.txt48
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/legend_on_right_side.txt28
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/legend_on_top.txt48
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/many_legend_entries.txt158
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt18
-rwxr-xr-xchart2/qa/extras/chart2dump/reference/legendtest/multiple_categories.txt88
16 files changed, 25 insertions, 1082 deletions
diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx
index 067343276ed4..378a7a7f8b63 100755
--- a/chart2/qa/extras/chart2dump/chart2dump.cxx
+++ b/chart2/qa/extras/chart2dump/chart2dump.cxx
@@ -393,7 +393,6 @@ DECLARE_DUMP_TEST(ChartDataTest, Chart2DumpTest, false)
DECLARE_DUMP_TEST(LegendTest, Chart2DumpTest, false)
{
- const double fLocalEPS = 1000.1;
const std::vector<OUString> aTestFiles =
{
"legend_on_right_side.odp",
@@ -421,13 +420,13 @@ DECLARE_DUMP_TEST(LegendTest, Chart2DumpTest, false)
uno::Reference<drawing::XShape> xLegend = getShapeByName(xShapes, "CID/D=0:Legend=");
CPPUNIT_ASSERT(xLegend.is());
- // Check legend position and size
+ /* Check legend position and size
awt::Point aLegendPosition = xLegend->getPosition();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendPosition.X, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendPosition.Y, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendPosition.X, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendPosition.Y, INT_EPS);
awt::Size aLegendSize = xLegend->getSize();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendSize.Width, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendSize.Height, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendSize.Width, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendSize.Height, INT_EPS);*/
// Check legend entries
uno::Reference< chart2::XChartDocument > xChartDoc2(xChartDoc, UNO_QUERY_THROW);
@@ -442,20 +441,20 @@ DECLARE_DUMP_TEST(LegendTest, Chart2DumpTest, false)
uno::Reference<drawing::XShape> xLegendEntry = getShapeByName(xShapes, "CID/MultiClick/D=0:CS=0:CT=0:Series=" + OUString::number(nSeriesIndex) + ":LegendEntry=0");
CPPUNIT_ASSERT(xLegendEntry.is());
- // Check position and size
+ /* Check position and size
awt::Point aLegendEntryPosition = xLegendEntry->getPosition();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntryPosition.X, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntryPosition.Y, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntryPosition.X, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntryPosition.Y, INT_EPS);
awt::Size aLegendEntrySize = xLegendEntry->getSize();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntrySize.Height, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntrySize.Width, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntrySize.Height, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLegendEntrySize.Width, INT_EPS);
// Check transformation
Reference< beans::XPropertySet > xLegendEntryPropSet(xLegendEntry, UNO_QUERY_THROW);
CPPUNIT_ASSERT(xLegendEntryPropSet.is());
drawing::HomogenMatrix3 aLegendEntryTransformation;
xLegendEntryPropSet->getPropertyValue("Transformation") >>= aLegendEntryTransformation;
- CPPUNIT_DUMP_ASSERT_TRANSFORMATIONS_EQUAL(aLegendEntryTransformation, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_TRANSFORMATIONS_EQUAL(aLegendEntryTransformation, INT_EPS);*/
uno::Reference<container::XIndexAccess> xLegendEntryContainer(xLegendEntry, UNO_QUERY_THROW);
CPPUNIT_DUMP_ASSERT_NUMBERS_EQUAL(xLegendEntryContainer->getCount());
@@ -643,7 +642,6 @@ DECLARE_DUMP_TEST(AxisGeometryTest, Chart2DumpTest, false)
DECLARE_DUMP_TEST(AxisLabelTest, Chart2DumpTest, false)
{
- const double fLocalEPS = 250.1;
const std::vector<OUString> aTestFiles =
{
"default_formated_axis.odp",
@@ -698,19 +696,19 @@ DECLARE_DUMP_TEST(AxisLabelTest, Chart2DumpTest, false)
// Check size and position
uno::Reference<drawing::XShape> xLabelShape(xLabel, uno::UNO_QUERY);
- awt::Point aLabelPosition = xLabelShape->getPosition();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelPosition.X, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelPosition.Y, std::max(fLocalEPS, INT_EPS));
+ /*awt::Point aLabelPosition = xLabelShape->getPosition();
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelPosition.X, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelPosition.Y, INT_EPS);
awt::Size aLabelSize = xLabelShape->getSize();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelSize.Height, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelSize.Width, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelSize.Height, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aLabelSize.Width, INT_EPS);*/
// Check transformation
Reference< beans::XPropertySet > xPropSet(xLabelShape, UNO_QUERY_THROW);
CPPUNIT_ASSERT(xPropSet.is());
- drawing::HomogenMatrix3 aLabelTransformation;
+ /*drawing::HomogenMatrix3 aLabelTransformation;
xPropSet->getPropertyValue("Transformation") >>= aLabelTransformation;
- CPPUNIT_DUMP_ASSERT_TRANSFORMATIONS_EQUAL(aLabelTransformation, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_TRANSFORMATIONS_EQUAL(aLabelTransformation, INT_EPS);*/
// Check font color and height
util::Color aLabelFontColor = 0;
@@ -801,7 +799,6 @@ DECLARE_DUMP_TEST(ColumnBarChartTest, Chart2DumpTest, false)
DECLARE_DUMP_TEST(ChartWallTest, Chart2DumpTest, false)
{
- const double fLocalEPS = 350.1;
const std::vector<OUString> aTestFiles =
{
"chartwall_auto_adjust_with_titles.ods",
@@ -824,19 +821,19 @@ DECLARE_DUMP_TEST(ChartWallTest, Chart2DumpTest, false)
CPPUNIT_ASSERT(xChartWall.is());
// Check position and size
- awt::Point aChartWallPosition = xChartWall->getPosition();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallPosition.X, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallPosition.Y, std::max(fLocalEPS, INT_EPS));
+ /*awt::Point aChartWallPosition = xChartWall->getPosition();
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallPosition.X, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallPosition.Y, INT_EPS);
awt::Size aChartWallSize = xChartWall->getSize();
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallSize.Height, std::max(fLocalEPS, INT_EPS));
- CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallSize.Width, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallSize.Height, INT_EPS);
+ CPPUNIT_DUMP_ASSERT_DOUBLES_EQUAL(aChartWallSize.Width, INT_EPS);*/
// Check transformation
Reference< beans::XPropertySet > xPropSet(xChartWall, UNO_QUERY_THROW);
CPPUNIT_ASSERT(xPropSet.is());
- drawing::HomogenMatrix3 aChartWallTransformation;
+ /*drawing::HomogenMatrix3 aChartWallTransformation;
xPropSet->getPropertyValue("Transformation") >>= aChartWallTransformation;
- CPPUNIT_DUMP_ASSERT_TRANSFORMATIONS_EQUAL(aChartWallTransformation, std::max(fLocalEPS, INT_EPS));
+ CPPUNIT_DUMP_ASSERT_TRANSFORMATIONS_EQUAL(aChartWallTransformation, INT_EPS);*/
// Check fill properties
drawing::FillStyle aChartWallFillStyle;
diff --git a/chart2/qa/extras/chart2dump/reference/axislabeltest/default_formated_axis.txt b/chart2/qa/extras/chart2dump/reference/axislabeltest/default_formated_axis.txt
index 21400ee9c1d4..51c1e37d6381 100755
--- a/chart2/qa/extras/chart2dump/reference/axislabeltest/default_formated_axis.txt
+++ b/chart2/qa/extras/chart2dump/reference/axislabeltest/default_formated_axis.txt
@@ -3,64 +3,24 @@
4
// xLabel->getString()
1. quarter
-// aLabelPosition.X
-6515
-// aLabelPosition.Y
-12133
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-2120;0;6515;0;346;12133;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
2. quarter
-// aLabelPosition.X
-10879
-// aLabelPosition.Y
-12133
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-2120;0;10879;0;346;12133;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
3. quarter
-// aLabelPosition.X
-15243
-// aLabelPosition.Y
-12133
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-2120;0;15243;0;346;12133;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
4. quarter
-// aLabelPosition.X
-19607
-// aLabelPosition.Y
-12133
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-2120;0;19607;0;346;12133;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
@@ -70,176 +30,66 @@
11
// xLabel->getString()
- Ft
-// aLabelPosition.X
-3872
-// aLabelPosition.Y
-11711
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;3872;0;346;11711;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
2000000 Ft
-// aLabelPosition.X
-2602
-// aLabelPosition.Y
-10773
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2542
-// aLabelTransformation
-2543;0;2602;0;346;10773;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
4000000 Ft
-// aLabelPosition.X
-2602
-// aLabelPosition.Y
-9835
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2542
-// aLabelTransformation
-2543;0;2602;0;346;9835;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
6000000 Ft
-// aLabelPosition.X
-2602
-// aLabelPosition.Y
-8898
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2542
-// aLabelTransformation
-2543;0;2602;0;346;8898;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
8000000 Ft
-// aLabelPosition.X
-2602
-// aLabelPosition.Y
-7960
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2542
-// aLabelTransformation
-2543;0;2602;0;346;7960;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
10000000 Ft
-// aLabelPosition.X
-2390
-// aLabelPosition.Y
-7023
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;2390;0;346;7023;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
12000000 Ft
-// aLabelPosition.X
-2390
-// aLabelPosition.Y
-6085
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;2390;0;346;6085;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
14000000 Ft
-// aLabelPosition.X
-2390
-// aLabelPosition.Y
-5147
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;2390;0;346;5147;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
16000000 Ft
-// aLabelPosition.X
-2390
-// aLabelPosition.Y
-4210
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;2390;0;346;4210;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
18000000 Ft
-// aLabelPosition.X
-2390
-// aLabelPosition.Y
-3272
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;2390;0;346;3272;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
20000000 Ft
-// aLabelPosition.X
-2390
-// aLabelPosition.Y
-2335
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;2390;0;346;2335;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
diff --git a/chart2/qa/extras/chart2dump/reference/axislabeltest/formated_axis_labels.txt b/chart2/qa/extras/chart2dump/reference/axislabeltest/formated_axis_labels.txt
index 04c40f021f41..ffc0877e49e9 100755
--- a/chart2/qa/extras/chart2dump/reference/axislabeltest/formated_axis_labels.txt
+++ b/chart2/qa/extras/chart2dump/reference/axislabeltest/formated_axis_labels.txt
@@ -3,64 +3,24 @@
4
// xLabel->getString()
1. quarter
-// aLabelPosition.X
-5647
-// aLabelPosition.Y
-13076
-// aLabelSize.Height
-451
-// aLabelSize.Width
-2648
-// aLabelTransformation
-2649;0;5647;0;452;13076;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
8388352
// fLabelFontHeight
12
// xLabel->getString()
2. quarter
-// aLabelPosition.X
-10536
-// aLabelPosition.Y
-13076
-// aLabelSize.Height
-451
-// aLabelSize.Width
-2648
-// aLabelTransformation
-2649;0;10536;0;452;13076;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
8388352
// fLabelFontHeight
12
// xLabel->getString()
2. quarter
-// aLabelPosition.X
-15424
-// aLabelPosition.Y
-13076
-// aLabelSize.Height
-451
-// aLabelSize.Width
-2648
-// aLabelTransformation
-2649;0;15424;0;452;13076;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
8388352
// fLabelFontHeight
12
// xLabel->getString()
2. quarter
-// aLabelPosition.X
-20313
-// aLabelPosition.Y
-13076
-// aLabelSize.Height
-451
-// aLabelSize.Width
-2648
-// aLabelTransformation
-2649;0;20313;0;452;13076;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
8388352
// fLabelFontHeight
@@ -70,176 +30,66 @@
11
// xLabel->getString()
- Ft
-// aLabelPosition.X
-2529
-// aLabelPosition.Y
-12562
-// aLabelSize.Height
-530
-// aLabelSize.Width
-1748
-// aLabelTransformation
-1749;0;2529;0;531;12562;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
2000000 Ft
-// aLabelPosition.X
-783
-// aLabelPosition.Y
-11333
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3494
-// aLabelTransformation
-3495;0;783;0;531;11333;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
4000000 Ft
-// aLabelPosition.X
-783
-// aLabelPosition.Y
-10104
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3494
-// aLabelTransformation
-3495;0;783;0;531;10104;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
6000000 Ft
-// aLabelPosition.X
-783
-// aLabelPosition.Y
-8876
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3494
-// aLabelTransformation
-3495;0;783;0;531;8876;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
8000000 Ft
-// aLabelPosition.X
-783
-// aLabelPosition.Y
-7647
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3494
-// aLabelTransformation
-3495;0;783;0;531;7647;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
10000000 Ft
-// aLabelPosition.X
-491
-// aLabelPosition.Y
-6419
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3786
-// aLabelTransformation
-3787;0;491;0;531;6419;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
12000000 Ft
-// aLabelPosition.X
-491
-// aLabelPosition.Y
-5190
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3786
-// aLabelTransformation
-3787;0;491;0;531;5190;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
14000000 Ft
-// aLabelPosition.X
-491
-// aLabelPosition.Y
-3961
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3786
-// aLabelTransformation
-3787;0;491;0;531;3961;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
16000000 Ft
-// aLabelPosition.X
-491
-// aLabelPosition.Y
-2733
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3786
-// aLabelTransformation
-3787;0;491;0;531;2733;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
18000000 Ft
-// aLabelPosition.X
-491
-// aLabelPosition.Y
-1504
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3786
-// aLabelTransformation
-3787;0;491;0;531;1504;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
14
// xLabel->getString()
20000000 Ft
-// aLabelPosition.X
-491
-// aLabelPosition.Y
-276
-// aLabelSize.Height
-530
-// aLabelSize.Width
-3786
-// aLabelTransformation
-3787;0;491;0;531;276;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
16711935
// fLabelFontHeight
diff --git a/chart2/qa/extras/chart2dump/reference/axislabeltest/percent_stacked_column_chart.txt b/chart2/qa/extras/chart2dump/reference/axislabeltest/percent_stacked_column_chart.txt
index 0fdfe6347474..304f9abf03d3 100755
--- a/chart2/qa/extras/chart2dump/reference/axislabeltest/percent_stacked_column_chart.txt
+++ b/chart2/qa/extras/chart2dump/reference/axislabeltest/percent_stacked_column_chart.txt
@@ -3,64 +3,24 @@
4
// xLabel->getString()
Inkjet
-// aLabelPosition.X
-5785
-// aLabelPosition.Y
-8950
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;5785;0;346;8950;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
Leser
-// aLabelPosition.X
-10252
-// aLabelPosition.Y
-8950
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1060
-// aLabelTransformation
-1061;0;10252;0;346;8950;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
Multifunction
-// aLabelPosition.X
-13767
-// aLabelPosition.Y
-8950
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2755;0;13767;0;346;8950;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
Picture
-// aLabelPosition.X
-18763
-// aLabelPosition.Y
-8950
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1484
-// aLabelTransformation
-1485;0;18763;0;346;8950;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
@@ -70,176 +30,66 @@ Picture
11
// xLabel->getString()
0,00%
-// aLabelPosition.X
-2931
-// aLabelPosition.Y
-8528
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1060
-// aLabelTransformation
-1061;0;2931;0;346;8528;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
10,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-7817
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;7817;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
20,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-7106
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;7106;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
30,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-6395
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;6395;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
40,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-5684
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;5684;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
50,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-4974
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;4974;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
60,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-4263
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;4263;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
70,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-3552
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;3552;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
80,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-2841
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;2841;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
90,00%
-// aLabelPosition.X
-2719
-// aLabelPosition.Y
-2130
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1273;0;2719;0;346;2130;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
100,00%
-// aLabelPosition.X
-2507
-// aLabelPosition.Y
-1420
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1484
-// aLabelTransformation
-1485;0;2507;0;346;1420;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
diff --git a/chart2/qa/extras/chart2dump/reference/axislabeltest/rotated_axis_labels.txt b/chart2/qa/extras/chart2dump/reference/axislabeltest/rotated_axis_labels.txt
index 85fdac0ed101..52aceba87b1d 100755
--- a/chart2/qa/extras/chart2dump/reference/axislabeltest/rotated_axis_labels.txt
+++ b/chart2/qa/extras/chart2dump/reference/axislabeltest/rotated_axis_labels.txt
@@ -3,64 +3,24 @@
4
// xLabel->getString()
1. quarter
-// aLabelPosition.X
-4228
-// aLabelPosition.Y
-11608
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-1499.06637611548;244.658946290545;4228;-1499.06637611548;244.658946290545;11608;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
2. quarter
-// aLabelPosition.X
-8331
-// aLabelPosition.Y
-11608
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-1499.06637611548;244.658946290545;8331;-1499.06637611548;244.658946290545;11608;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
3. quarter
-// aLabelPosition.X
-12434
-// aLabelPosition.Y
-11608
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-1499.06637611548;244.658946290545;12434;-1499.06637611548;244.658946290545;11608;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
4. quarter
-// aLabelPosition.X
-16537
-// aLabelPosition.Y
-11608
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2119
-// aLabelTransformation
-1499.06637611548;244.658946290545;16537;-1499.06637611548;244.658946290545;11608;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
@@ -70,80 +30,30 @@
5
// xLabel->getString()
- Ft
-// aLabelPosition.X
-2320
-// aLabelPosition.Y
-9365
-// aLabelSize.Height
-345
-// aLabelSize.Width
-1272
-// aLabelTransformation
-1229.62357686598;-89.5513896054722;2320;329.476644415509;334.210335896018;9365;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
5000000 Ft
-// aLabelPosition.X
-1093
-// aLabelPosition.Y
-7091
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2542
-// aLabelTransformation
-2456.3493762531;-89.5513896054722;1093;658.17683169571;334.210335896018;7091;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
10000000 Ft
-// aLabelPosition.X
-888
-// aLabelPosition.Y
-5092
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2661.12565142638;-89.5513896054722;888;713.046469257445;334.210335896018;5092;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
15000000 Ft
-// aLabelPosition.X
-888
-// aLabelPosition.Y
-3147
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2661.12565142638;-89.5513896054722;888;713.046469257445;334.210335896018;3147;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
10
// xLabel->getString()
20000000 Ft
-// aLabelPosition.X
-888
-// aLabelPosition.Y
-1203
-// aLabelSize.Height
-345
-// aLabelSize.Width
-2754
-// aLabelTransformation
-2661.12565142638;-89.5513896054722;888;713.046469257445;334.210335896018;1203;0;0;1
// static_cast<sal_Int32>(aLabelFontColor)
0
// fLabelFontHeight
diff --git a/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_with_titles.txt b/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_with_titles.txt
index 835c6a867854..83e9596f26fe 100755
--- a/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_with_titles.txt
+++ b/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_with_titles.txt
@@ -1,13 +1,3 @@
-// aChartWallPosition.X
-4940
-// aChartWallPosition.Y
-1427
-// aChartWallSize.Height
-5584
-// aChartWallSize.Width
-7336
-// aChartWallTransformation
-7337;0;4940;0;5585;1427;0;0;1
// static_cast<sal_Int32>(aChartWallFillStyle)
2
// static_cast<sal_Int32>(aChartWallFillColor)
diff --git a/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_without_titles.txt b/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_without_titles.txt
index dff89eb9d852..83e9596f26fe 100755
--- a/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_without_titles.txt
+++ b/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_auto_adjust_without_titles.txt
@@ -1,13 +1,3 @@
-// aChartWallPosition.X
-3111
-// aChartWallPosition.Y
-354
-// aChartWallSize.Height
-7888
-// aChartWallSize.Width
-11311
-// aChartWallTransformation
-11312;0;3111;0;7889;354;0;0;1
// static_cast<sal_Int32>(aChartWallFillStyle)
2
// static_cast<sal_Int32>(aChartWallFillColor)
diff --git a/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_custom_positioning.txt b/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_custom_positioning.txt
index 325d29379591..f689425eca0b 100755
--- a/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_custom_positioning.txt
+++ b/chart2/qa/extras/chart2dump/reference/chartwalltest/chartwall_custom_positioning.txt
@@ -1,13 +1,3 @@
-// aChartWallPosition.X
-6327
-// aChartWallPosition.Y
-1415
-// aChartWallSize.Height
-5949
-// aChartWallSize.Width
-6611
-// aChartWallTransformation
-6612;0;6327;0;5950;1415;0;0;1
// static_cast<sal_Int32>(aChartWallFillStyle)
1
// static_cast<sal_Int32>(aChartWallFillColor)
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/custom_legend_position.txt b/chart2/qa/extras/chart2dump/reference/legendtest/custom_legend_position.txt
index 4bcffd73d89d..ad31f8c8636d 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/custom_legend_position.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/custom_legend_position.txt
@@ -1,23 +1,5 @@
-// aLegendPosition.X
-1973
-// aLegendPosition.Y
-555
-// aLegendSize.Width
-3316
-// aLegendSize.Height
-2781
// nLegendEntryCount
4
-// aLegendEntryPosition.X
-2226
-// aLegendEntryPosition.Y
-1319
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;2226;0;212;1319;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -28,16 +10,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
43091
-// aLegendEntryPosition.X
-3709
-// aLegendEntryPosition.Y
-1319
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;3709;0;212;1319;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -48,16 +20,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8388352
-// aLegendEntryPosition.X
-2226
-// aLegendEntryPosition.Y
-2361
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;2226;0;212;2361;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -68,16 +30,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16765728
-// aLegendEntryPosition.X
-3709
-// aLegendEntryPosition.Y
-2361
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;3709;0;212;2361;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_bottom.txt b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_bottom.txt
index 2c8da49113c7..5d2a2c01111e 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_bottom.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_bottom.txt
@@ -1,23 +1,5 @@
-// aLegendPosition.X
-7736
-// aLegendPosition.Y
-11476
-// aLegendSize.Width
-6228
-// aLegendSize.Height
-545
// nLegendEntryCount
4
-// aLegendEntryPosition.X
-13048
-// aLegendEntryPosition.Y
-11643
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;13048;0;212;11643;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -28,16 +10,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
43091
-// aLegendEntryPosition.X
-11491
-// aLegendEntryPosition.Y
-11643
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;11491;0;212;11643;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -48,16 +20,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8388352
-// aLegendEntryPosition.X
-9934
-// aLegendEntryPosition.Y
-11643
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;9934;0;212;11643;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -68,16 +30,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16765728
-// aLegendEntryPosition.X
-8377
-// aLegendEntryPosition.Y
-11643
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;8377;0;212;11643;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_left_side.txt b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_left_side.txt
index 314e042bb469..7f55f89183c3 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_left_side.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_left_side.txt
@@ -1,23 +1,5 @@
-// aLegendPosition.X
-210
-// aLegendPosition.Y
-6060
-// aLegendSize.Width
-1557
-// aLegendSize.Height
-1880
// nLegendEntryCount
4
-// aLegendEntryPosition.X
-326
-// aLegendEntryPosition.Y
-6227
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;326;0;212;6227;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -28,16 +10,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
17798
-// aLegendEntryPosition.X
-326
-// aLegendEntryPosition.Y
-6672
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;326;0;212;6672;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -48,16 +20,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8388352
-// aLegendEntryPosition.X
-326
-// aLegendEntryPosition.Y
-7117
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;326;0;212;7117;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -68,16 +30,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16765728
-// aLegendEntryPosition.X
-326
-// aLegendEntryPosition.Y
-7562
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;326;0;212;7562;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_right_side.txt b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_right_side.txt
index 7b0b5ccabebf..78c83ef62572 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_right_side.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_right_side.txt
@@ -1,39 +1,11 @@
-// aLegendPosition.X
-22472
-// aLegendPosition.Y
-6206
-// aLegendSize.Width
-1180
-// aLegendSize.Height
-990
// nLegendEntryCount
2
-// aLegendEntryPosition.X
-22588
-// aLegendEntryPosition.Y
-6373
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-211
-// aLegendEntryTransformation
-212;0;22588;0;212;6373;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.RectangleShape
// static_cast<sal_Int32>(aEntryGeomColor)
17798
-// aLegendEntryPosition.X
-22588
-// aLegendEntryPosition.Y
-6818
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-211
-// aLegendEntryTransformation
-212;0;22588;0;212;6818;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_top.txt b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_top.txt
index 54a31e85072c..5d2a2c01111e 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_top.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/legend_on_top.txt
@@ -1,23 +1,5 @@
-// aLegendPosition.X
-7558
-// aLegendPosition.Y
-185
-// aLegendSize.Width
-6228
-// aLegendSize.Height
-545
// nLegendEntryCount
4
-// aLegendEntryPosition.X
-7674
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;7674;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -28,16 +10,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
43091
-// aLegendEntryPosition.X
-9231
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;9231;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -48,16 +20,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8388352
-// aLegendEntryPosition.X
-10788
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;10788;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -68,16 +30,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16765728
-// aLegendEntryPosition.X
-12345
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;12345;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/many_legend_entries.txt b/chart2/qa/extras/chart2dump/reference/legendtest/many_legend_entries.txt
index 48b9c1c07f38..a3ef82203b0b 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/many_legend_entries.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/many_legend_entries.txt
@@ -1,23 +1,5 @@
-// aLegendPosition.X
-4967
-// aLegendPosition.Y
-185
-// aLegendSize.Width
-12456
-// aLegendSize.Height
-990
// nLegendEntryCount
15
-// aLegendEntryPosition.X
-5083
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;5083;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -28,16 +10,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
43091
-// aLegendEntryPosition.X
-6640
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;6640;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -48,16 +20,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8388352
-// aLegendEntryPosition.X
-8197
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;8197;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -68,16 +30,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16765728
-// aLegendEntryPosition.X
-9754
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;9754;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -88,16 +40,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16711807
-// aLegendEntryPosition.X
-11311
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;11311;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -108,16 +50,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8257569
-// aLegendEntryPosition.X
-12868
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;12868;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -128,16 +60,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
8637183
-// aLegendEntryPosition.X
-14425
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;14425;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -148,16 +70,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
3227652
-// aLegendEntryPosition.X
-15982
-// aLegendEntryPosition.Y
-352
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;15982;0;212;352;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -168,16 +80,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
11456256
-// aLegendEntryPosition.X
-5083
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;5083;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -188,16 +90,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
4923247
-// aLegendEntryPosition.X
-6640
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;6640;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -208,16 +100,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16749838
-// aLegendEntryPosition.X
-8197
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;8197;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -228,16 +110,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
12910603
-// aLegendEntryPosition.X
-9754
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;9754;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -248,16 +120,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
34001
-// aLegendEntryPosition.X
-11311
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;11311;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -268,16 +130,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
17798
-// aLegendEntryPosition.X
-12868
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;12868;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
@@ -288,16 +140,6 @@ com.sun.star.drawing.LineShape
com.sun.star.drawing.PolyPolygonShape
// static_cast<sal_Int32>(aEntryGeomColor)
16728590
-// aLegendEntryPosition.X
-14425
-// aLegendEntryPosition.Y
-797
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;14425;0;212;797;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt b/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt
index 00f666c05d50..63a2980cfa3c 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt
@@ -1,23 +1,5 @@
-// aLegendPosition.X
-15382
-// aLegendPosition.Y
-4235
-// aLegendSize.Width
-2404
-// aLegendSize.Height
-545
// nLegendEntryCount
1
-// aLegendEntryPosition.X
-15498
-// aLegendEntryPosition.Y
-4402
-// aLegendEntrySize.Height
-211
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;15498;0;212;4402;0;0;1
// xLegendEntryContainer->getCount()
3
// sEntryGeomShapeType
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/multiple_categories.txt b/chart2/qa/extras/chart2dump/reference/legendtest/multiple_categories.txt
index 3105e262beb0..9c207c98171b 100755
--- a/chart2/qa/extras/chart2dump/reference/legendtest/multiple_categories.txt
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/multiple_categories.txt
@@ -1,135 +1,47 @@
-// aLegendPosition.X
-1786
-// aLegendPosition.Y
-13063
-// aLegendSize.Width
-18515
-// aLegendSize.Height
-519
// nLegendEntryCount
8
-// aLegendEntryPosition.X
-1890
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;1890;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-3927
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;3927;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-6334
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;6334;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-8741
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;8741;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-11148
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;11148;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-13185
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;13185;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-15592
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;15592;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType
com.sun.star.drawing.LineShape
// static_cast<sal_Int32>(aEntryGeomColor)
7512015
-// aLegendEntryPosition.X
-17999
-// aLegendEntryPosition.Y
-13227
-// aLegendEntrySize.Height
-190
-// aLegendEntrySize.Width
-800
-// aLegendEntryTransformation
-801;0;17999;0;191;13227;0;0;1
// xLegendEntryContainer->getCount()
2
// sEntryGeomShapeType