diff options
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/xmlbahdl.hxx | 10 | ||||
-rw-r--r-- | xmloff/inc/xmlprop.hxx | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/xmloff/inc/xmlbahdl.hxx b/xmloff/inc/xmlbahdl.hxx index 09e392d6cc6b..7736d6d2f432 100644 --- a/xmloff/inc/xmlbahdl.hxx +++ b/xmloff/inc/xmlbahdl.hxx @@ -69,6 +69,16 @@ public: }; /** + PropertyHandler for the XML-data-type: XML_TYPE_UNIT_MEASURE +*/ +class XMLUnitMeasurePropHdl : public XMLPropertyHandler +{ +public: + bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; + bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; +}; + +/** PropertyHandler for the XML-data-type: XML_TYPE_PERCENT */ class XMLPercentPropHdl : public XMLPropertyHandler diff --git a/xmloff/inc/xmlprop.hxx b/xmloff/inc/xmlprop.hxx index b7acca175a1d..8f47e328ff44 100644 --- a/xmloff/inc/xmlprop.hxx +++ b/xmloff/inc/xmlprop.hxx @@ -489,6 +489,7 @@ inline constexpr OUString PROP_ParaContextMargin = u"ParaContextMargin"_ustr; inline constexpr OUString PROP_ParaExpandSingleWord = u"ParaExpandSingleWord"_ustr; inline constexpr OUString PROP_ParaFirstLineIndent = u"ParaFirstLineIndent"_ustr; inline constexpr OUString PROP_ParaFirstLineIndentRelative = u"ParaFirstLineIndentRelative"_ustr; +inline constexpr OUString PROP_ParaFirstLineIndentUnit = u"ParaFirstLineIndentUnit"_ustr; inline constexpr OUString PROP_ParaHyphenationMaxHyphens = u"ParaHyphenationMaxHyphens"_ustr; inline constexpr OUString PROP_ParaHyphenationMaxLeadingChars = u"ParaHyphenationMaxLeadingChars"_ustr; |