diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-14 01:13:19 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-14 01:14:55 +0100 |
commit | 12ae7672f285da1d4c730315e8db23b3396b71cc (patch) | |
tree | 44e9ef2e5d47c8b1aa1f3c2ebf92e7827821c2c9 /xmloff | |
parent | fdo#76032: This row index is 1-based whereas our own mnRow is 0-based. (diff) | |
download | core-12ae7672f285da1d4c730315e8db23b3396b71cc.tar.gz core-12ae7672f285da1d4c730315e8db23b3396b71cc.zip |
fix odf validation error
New elements must not be exported into the chart namespace.
Change-Id: I295d61224e255dff04ea8564b01a5a438876afc1
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/PropertyMap.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx index b0118a1cb874..81a18dd06bd4 100644 --- a/xmloff/source/chart/PropertyMap.hxx +++ b/xmloff/source/chart/PropertyMap.hxx @@ -218,7 +218,8 @@ const XMLPropertyMapEntry aXMLChartPropMap[] = MAP_SPECIAL_ODF12( "ErrorBarRangeNegative", CHART, XML_ERROR_LOWER_RANGE, XML_TYPE_STRING, XML_SCH_CONTEXT_SPECIAL_ERRORBAR_RANGE ), // export only // errorbars properties (chart2) - MAP_ENTRY_ODF_EXT( "Weight", CHART, XML_ERROR_STANDARD_WEIGHT, XML_TYPE_DOUBLE), + MAP_ENTRY_ODF_EXT( "Weight", LO_EXT, XML_ERROR_STANDARD_WEIGHT, XML_TYPE_DOUBLE), + MAP_ENTRY_ODF_EXT_IMPORT( "Weight", CHART, XML_ERROR_STANDARD_WEIGHT, XML_TYPE_DOUBLE), // series/data-point properties MAP_SPECIAL( "DataCaption", CHART, XML_DATA_LABEL_NUMBER, XML_TYPE_NUMBER | MID_FLAG_MERGE_PROPERTY, XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER ), // convert one constant |