diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-11-23 18:09:33 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-11-24 19:43:17 +0100 |
commit | 2b243ba51e786b0993e66232144fd6a6ee9ef724 (patch) | |
tree | 0d971f3d17bf66a06487aab656999a215dcbfc13 /xmloff | |
parent | 6f62f3f0af9ae8c1b00d0d620f306cae914a3861 (diff) |
Support regression curve name in ODF.
Change-Id: Ic065d63eee507906febfa15eb6d5ae1e7de58280
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/PropertyMap.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx index 4bab098f500c..a1efee247010 100644 --- a/xmloff/source/chart/PropertyMap.hxx +++ b/xmloff/source/chart/PropertyMap.hxx @@ -185,6 +185,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] = // regression curve properties MAP_SPECIAL( "RegressionType", CHART, XML_REGRESSION_TYPE, XML_TYPE_STRING, XML_SCH_CONTEXT_SPECIAL_REGRESSION_TYPE ), + MAP_ENTRY_ODF_EXT( "CurveName", CHART, XML_REGRESSION_CURVE_NAME, XML_TYPE_STRING ), MAP_ENTRY_ODF_EXT( "PolynomialDegree", CHART, XML_REGRESSION_MAX_DEGREE, XML_TYPE_NUMBER ), MAP_ENTRY_ODF_EXT( "MovingAveragePeriod", CHART, XML_REGRESSION_PERIOD, XML_TYPE_NUMBER ), MAP_ENTRY_ODF_EXT( "MovingAverageType", CHART, XML_REGRESSION_MOVING_TYPE, XML_TYPE_STRING ), diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index dedb2b48ec49..431e778ea958 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -2168,6 +2168,7 @@ namespace xmloff { namespace token { TOKEN( "regression-curve", XML_REGRESSION_CURVE ), TOKEN( "regression-type", XML_REGRESSION_TYPE ), // Extended regression curve properties - ODF 1.2 extended + TOKEN( "regression-name", XML_REGRESSION_CURVE_NAME ), TOKEN( "regression-extrapolate-forward", XML_REGRESSION_EXTRAPOLATE_FORWARD ), TOKEN( "regression-extrapolate-backward", XML_REGRESSION_EXTRAPOLATE_BACKWARD ), TOKEN( "regression-max-degree", XML_REGRESSION_MAX_DEGREE ), |