diff options
Diffstat (limited to 'chart2/qa')
-rwxr-xr-x | chart2/qa/extras/chart2dump/chart2dump.cxx | 3 | ||||
-rwxr-xr-x | chart2/qa/extras/chart2dump/data/minimal_legend_test.odp | bin | 0 -> 18253 bytes | |||
-rwxr-xr-x | chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt | 32 |
3 files changed, 34 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx index 99515defe227..bd25d20f97c9 100755 --- a/chart2/qa/extras/chart2dump/chart2dump.cxx +++ b/chart2/qa/extras/chart2dump/chart2dump.cxx @@ -403,7 +403,8 @@ DECLARE_DUMP_TEST(LegendTest, Chart2DumpTest, false) "legend_on_top.odp", "many_legend_entries.odp", "custom_legend_position.odp", - "multiple_categories.odp" + "multiple_categories.odp", + "minimal_legend_test.odp" }; for (const OUString& aTestFile : aTestFiles) diff --git a/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp b/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp Binary files differnew file mode 100755 index 000000000000..63911f119c90 --- /dev/null +++ b/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt b/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt new file mode 100755 index 000000000000..00f666c05d50 --- /dev/null +++ b/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt @@ -0,0 +1,32 @@ +// 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 +com.sun.star.drawing.LineShape +// static_cast<sal_Int32>(aEntryGeomColor) +7512015 +// sEntryGeomShapeType +com.sun.star.drawing.PolyPolygonShape +// static_cast<sal_Int32>(aEntryGeomColor) +17798 +// xLegendEntryText->getString() +Inkjet |