diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-11-23 18:09:33 +0100 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2013-12-03 03:30:56 -0600 |
commit | 18aef30e3eef7e2d4027ac4c9e1f5915755d288e (patch) | |
tree | 83a124850a6f58c8bacdd3d173073c50d6482739 /xmloff | |
parent | 04e704c1c28d6554bc0f03ece2fbff3a11b745ef (diff) |
Support regression curve name in ODF.
Change-Id: Ic065d63eee507906febfa15eb6d5ae1e7de58280
Reviewed-on: https://gerrit.libreoffice.org/6874
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
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 ), |