diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2023-04-05 18:10:55 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-05-15 21:38:55 +0200 |
commit | caa424e6c77993dd0ac1325c20cc5068a1ed8e9a (patch) | |
tree | 7cf4e1617d84d8c85e423271022efe15f66d4850 /chart2 | |
parent | fd6069d8cb4bfedba2f63f4f1839d6739a8299ac (diff) |
WIP ODF import and export for MCGR
Current state uses:
Element loext:gradient-stop with the attributes svg:offset,
loext:color-type with value 'rgb', and loext:color-value with
values of kind #rrggbb.
Element loext:opacity-stop with the attributes svg:offset and
svg:stop-opacity, both with datatype double.
With MCGR enabled testColorGradientWithTransparencyDOCX in
CppunitTest_chart_export3 has the value 90000 instead of
90196. That is same value as in original file. Thus I have
adapted the test.
Change-Id: I976934f9b8fb79be4f74adb180b3285486dce31f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150060
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/qa/extras/chart2export3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2export3.cxx b/chart2/qa/extras/chart2export3.cxx index dd081f8e5b9b..2fbb976a5d66 100644 --- a/chart2/qa/extras/chart2export3.cxx +++ b/chart2/qa/extras/chart2export3.cxx @@ -203,7 +203,7 @@ void Chart2ExportTest3::testColorGradientWithTransparencyDOCX() // Test the transparency of the first color assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:spPr/a:gradFill/a:gsLst/a:gs[1]/a:srgbClr/a:alpha", "val", "60000"); // Test the transparency of the second color - assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:spPr/a:gradFill/a:gsLst/a:gs[2]/a:srgbClr/a:alpha", "val", "90196"); + assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:spPr/a:gradFill/a:gsLst/a:gs[2]/a:srgbClr/a:alpha", "val", "90000"); } void Chart2ExportTest3::testColorGradientWithTransparencyODS() |