LibreOffice Module xmloff (master)
1
|
Abstract base-class for different XML-types. More...
#include <xmlprhdl.hxx>
Public Member Functions | |
virtual | ~XMLPropertyHandler () |
virtual bool | equals (const css::uno::Any &r1, const css::uno::Any &r2) const |
Compares two Any's in case of the given XML-data-type. More... | |
virtual bool | importXML (const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0 |
Imports the given value according to the XML-data-type corresponding to the derived class. More... | |
virtual bool | exportXML (OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0 |
Exports the given value according to the XML-data-type corresponding to the derived class. More... | |
Abstract base-class for different XML-types.
Derivations of this class knows how to compare, im/export a special XML-type
Definition at line 35 of file xmlprhdl.hxx.
|
virtual |
Definition at line 23 of file xmlprhdl.cxx.
|
virtual |
Compares two Any's in case of the given XML-data-type.
By default the Any-equal-operator is called.
Reimplemented in XMLCharRfcLanguageTagHdl, XMLCharCountryHdl, XMLCharScriptHdl, XMLNumRulePropHdl, XMLClipPropertyHandler, XMLCharLanguageHdl, XMLPMPropHdl_PageStyleLayout, XMLTabStopPropHdl, XMLAttributeContainerHandler, and XMLTextColumnsPropertyHandler.
Definition at line 28 of file xmlprhdl.cxx.
|
pure virtual |
Exports the given value according to the XML-data-type corresponding to the derived class.
Implemented in XMLNumberWithoutZeroPropHdl, XMLCompareOnlyPropHdl, XMLIsAutoColorPropHdl, XMLColorAutoPropHdl, XMLIsTransparentPropHdl, XMLColorTransparentPropHdl, XMLNBoolPropHdl, XMLDoublePropHdl, XMLStyleNamePropHdl, XMLStringPropHdl, XMLHexPropHdl, XMLColorPropHdl, XMLPMPropHdl_CenterVertical, XMLBoolFalsePropHdl, XMLBoolPropHdl, XMLPMPropHdl_CenterHorizontal, XMLMeasurePxPropHdl, XMLPMPropHdl_Print, XMLNegPercentPropHdl, XML100thPercentPropHdl, XMLPMPropHdl_PaperTrayNumber, XMLDoublePercentPropHdl, xmloff::OControlTextEmphasisHandler, XMLPercentPropHdl, XMLPMPropHdl_NumLetterSync, xmloff::OControlBorderHandler, XMLFontPitchPropHdl, XMLCharRfcLanguageTagHdl, XMLMeasurePropHdl, XMLDateTimeFormatHdl, XMLCrossedOutTextPropHdl, XMLPMPropHdl_NumFormat, XMLCharCountryHdl, XMLFontEncodingPropHdl, xmloff::OFontWidthHandler, XMLConstantsPropertyHandler, XMLNumberNonePropHdl, XMLCrossedOutWidthPropHdl, XMLCharHeightDiffHdl, XMLLineSpacingHdl, XMLUnderlineWidthPropHdl, XMLTextAnimationStepPropertyHdl, XMLNamedBoolPropertyHdl, XMLBitmapRepeatOffsetPropertyHandler, XMLRectangleMembersHdl, XMLCharScriptHdl, XMLBitmapLogicalSizePropertyHandler, XMLFillBitmapSizePropertyHandler, XMLLastLineAdjustPropHdl, XMLFmtBreakAfterPropHdl, XMLFontFamilyPropHdl, xmloff::ORotationAngleHandler, XMLEnumPropertyHdl, XMLOpacityPropertyHdl, XMLBorderHdl, XMLCrossedOutStylePropHdl, XMLCharHeightPropHdl, XMLCaseMapVariantHdl, XMLEscapementHeightPropHdl, XMLLineHeightAtLeastHdl, XMLUnderlineStylePropHdl, XMLPMPropHdl_PageStyleLayout, XMLTextColumnsPropertyHandler, XMLNumRulePropHdl, XMLNumberPropHdl, XMLWordWrapPropertyHdl, XMLIsPercentagePropertyHandler, XMLNumberWithAutoForVoidPropHdl, XMLPercentOrMeasurePropertyHandler, XMLBackGraphicPositionPropHdl, XMLTabStopPropHdl, XMLClipPropertyHandler, XMLCharLanguageHdl, XMLAnchorTypePropHdl, XMLAttributeContainerHandler, XMLRtlGutterPropertyHandler, XMLErrorIndicatorPropertyHdl, XMLParaAdjustPropHdl, XMLBorderWidthHdl, XMLFmtBreakBeforePropHdl, XMLCrossedOutTypePropHdl, XMLCharHeightHdl, XMLCaseMapPropHdl, DrawAspectHdl, XMLDurationMS16PropHdl_Impl, XMLEscapementPropHdl, XMLFontFamilyNamePropHdl, XMLKerningPropHdl, XMLLineHeightHdl, XMLOpaquePropHdl, XMLPosturePropHdl, XMLShadowPropHdl, XMLShadowedPropHdl, XMLUnderlineTypePropHdl, XMLFontWeightPropHdl, XMLTextOrientationHdl, XMLDurationPropertyHdl, XMLAxisPositionPropertyHdl, XMLSymbolTypePropertyHdl, and XMLErrorBarStylePropertyHdl.
Referenced by xmloff::AnimationsExporterImpl::convertValue(), SvXMLAutoStylePoolP::exportStyleAttributes(), and XMLPropertySetMapper::exportXML().
|
pure virtual |
Imports the given value according to the XML-data-type corresponding to the derived class.
true | if the value was successfully converted to Any |
false | if the value was not recognised (warning will be printed) |
Implemented in XMLNumberWithoutZeroPropHdl, XMLCompareOnlyPropHdl, XMLIsAutoColorPropHdl, XMLColorAutoPropHdl, XMLIsTransparentPropHdl, XMLColorTransparentPropHdl, XMLNBoolPropHdl, XMLDoublePropHdl, XMLStringPropHdl, XMLHexPropHdl, XMLColorPropHdl, XMLBoolFalsePropHdl, XMLPMPropHdl_CenterVertical, XMLBoolPropHdl, XMLPMPropHdl_CenterHorizontal, XMLMeasurePxPropHdl, XMLNegPercentPropHdl, XMLPMPropHdl_Print, XML100thPercentPropHdl, XMLDoublePercentPropHdl, XMLPMPropHdl_PaperTrayNumber, xmloff::OControlTextEmphasisHandler, XMLPercentPropHdl, xmloff::OControlBorderHandler, XMLPMPropHdl_NumLetterSync, XMLFontPitchPropHdl, XMLCharRfcLanguageTagHdl, XMLMeasurePropHdl, XMLDateTimeFormatHdl, XMLCrossedOutTextPropHdl, XMLCharCountryHdl, XMLFontEncodingPropHdl, xmloff::OFontWidthHandler, XMLPMPropHdl_NumFormat, XMLNumberNonePropHdl, XMLCrossedOutWidthPropHdl, XMLCharHeightDiffHdl, XMLLineSpacingHdl, XMLUnderlineWidthPropHdl, XMLTextAnimationStepPropertyHdl, XMLConstantsPropertyHandler, XMLNamedBoolPropertyHdl, XMLCharScriptHdl, XMLLastLineAdjustPropHdl, XMLFmtBreakAfterPropHdl, XMLFontFamilyPropHdl, xmloff::ORotationAngleHandler, XMLEnumPropertyHdl, XMLOpacityPropertyHdl, XMLBitmapRepeatOffsetPropertyHandler, XMLRectangleMembersHdl, XMLBorderHdl, XMLCrossedOutStylePropHdl, XMLCharHeightPropHdl, XMLCaseMapVariantHdl, XMLEscapementHeightPropHdl, XMLLineHeightAtLeastHdl, XMLUnderlineStylePropHdl, XMLBitmapLogicalSizePropertyHandler, XMLFillBitmapSizePropertyHandler, XMLNumRulePropHdl, XMLNumberPropHdl, XMLWordWrapPropertyHdl, XMLTextColumnsPropertyHandler, XMLPMPropHdl_PageStyleLayout, XMLBackGraphicPositionPropHdl, XMLTabStopPropHdl, XMLClipPropertyHandler, XMLNumberWithAutoForVoidPropHdl, XMLCharLanguageHdl, XMLAttributeContainerHandler, XMLErrorIndicatorPropertyHdl, XMLIsPercentagePropertyHandler, XMLPercentOrMeasurePropertyHandler, XMLParaAdjustPropHdl, XMLBorderWidthHdl, XMLFmtBreakBeforePropHdl, XMLCrossedOutTypePropHdl, XMLCharHeightHdl, XMLCaseMapPropHdl, DrawAspectHdl, XMLDurationMS16PropHdl_Impl, XMLEscapementPropHdl, XMLFontFamilyNamePropHdl, XMLKerningPropHdl, XMLLineHeightHdl, XMLOpaquePropHdl, XMLPosturePropHdl, XMLShadowPropHdl, XMLShadowedPropHdl, XMLUnderlineTypePropHdl, XMLFontWeightPropHdl, XMLRtlGutterPropertyHandler, XMLAnchorTypePropHdl, XMLDurationPropertyHdl, XMLAxisPositionPropertyHdl, XMLSymbolTypePropertyHdl, and XMLTextOrientationHdl.
Referenced by xmloff::AnimationsImportHelperImpl::convertValue(), and XMLPropertySetMapper::importXML().