diff options
Diffstat (limited to 'xmloff/source/draw/sdpropls.cxx')
-rw-r--r-- | xmloff/source/draw/sdpropls.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index de6a5e4655d5..94e976f2fc89 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -752,6 +752,8 @@ static SvXMLEnumMapEntry<sal_Int32> const pXML_Caption_Type_Enum[] = { XML_TOKEN_INVALID,0 } }; +namespace { + class XMLCaptionEscapeRelative : public XMLPropertyHandler { public: @@ -765,6 +767,8 @@ public: const SvXMLUnitConverter& rUnitConverter ) const override; }; +} + bool XMLCaptionEscapeRelative::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const { sal_Int32 nValue; @@ -790,6 +794,8 @@ bool XMLCaptionEscapeRelative::exportXML( OUString& rStrExpValue, const Any& rVa return true; } +namespace { + class XMLMoveSizeProtectHdl : public XMLPropertyHandler { public: @@ -807,6 +813,8 @@ private: const sal_Int32 mnType; }; +} + bool XMLMoveSizeProtectHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const { const bool bValue = rStrImpValue.indexOf( GetXMLToken( mnType == XML_SD_TYPE_MOVE_PROTECT ? XML_POSITION : XML_SIZE ) ) != -1; @@ -831,6 +839,8 @@ bool XMLMoveSizeProtectHdl::exportXML( OUString& rStrExpValue, const Any& rValue return true; } +namespace { + class XMLSdHeaderFooterVisibilityTypeHdl : public XMLPropertyHandler { public: @@ -838,6 +848,8 @@ public: virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; +} + bool XMLSdHeaderFooterVisibilityTypeHdl::importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -871,6 +883,8 @@ bool XMLSdHeaderFooterVisibilityTypeHdl::exportXML( return bRet; } +namespace { + class XMLSdRotationAngleTypeHdl : public XMLPropertyHandler { public: @@ -878,6 +892,8 @@ public: virtual bool exportXML(OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter) const override; }; +} + bool XMLSdRotationAngleTypeHdl::importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -917,6 +933,8 @@ bool XMLSdRotationAngleTypeHdl::exportXML( return bRet; } +namespace { + class XMLFitToSizeEnumPropertyHdl : public XMLEnumPropertyHdl { public: @@ -948,6 +966,7 @@ public: } }; +} XMLSdPropHdlFactory::XMLSdPropHdlFactory( uno::Reference< frame::XModel > const & xModel, SvXMLImport& rImport ) : mxModel( xModel ), mpExport(nullptr), mpImport( &rImport ) |