diff options
author | PriyankaGaikwad <priyanka.gaikwad@synerzip.com> | 2014-08-27 19:28:44 +0530 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2015-01-03 00:53:47 +0000 |
commit | a7052b906dfd1d749f7da9ea64a3479d7c1cc2c9 (patch) | |
tree | 2aa4b932432043a1aaab81de694af1bc35bb3468 /include | |
parent | 31e82d9f6f07335a2526bd44956eebfcaf0a289d (diff) |
fdo#83058 File corrupt due to data label position is invalid in chart.xml
- File getting corrupted after RT due to data label position is invalid in chart.xml
- LO must not export invalid label position property if chart type doesn't support that positioning in MS Office.
- For clusterd bar chart XML Difference
chart1.xml
Original file
<c:barChart>
<c:grouping val="clustered" />
<c:ser>
<c:dLbls>
...
<c:dLbl>
<c:dLblPos val="outEnd" />
</c:dLbl>
...
</c:dLbls>
</c:ser>
</c:barChart>
Roundtrip file
<c:barChart>
<c:grouping val="clustered" />
<c:ser>
<c:dLbls>
...
<c:dLbl>
<c:dLblPos val="r" />
</c:dLbl>
...
</c:dLbls>
</c:ser>
</c:barChart>
Change-Id: I9cae11b8d198aaa70fb05cb3bf329cd898519170
Reviewed-on: https://gerrit.libreoffice.org/11141
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/export/chartexport.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx index 3d5604753c1c..b76811df6376 100644 --- a/include/oox/export/chartexport.hxx +++ b/include/oox/export/chartexport.hxx @@ -99,7 +99,6 @@ private: bool mbIs3DChart; bool mbStacked; bool mbPercent; - bool mbClustered; private: sal_Int32 getChartType(); |