XMLPropertyHandler Class Reference

Abstract base-class for different XML-types. More...

#include <xmlprhdl.hxx>

Inherited by DrawAspectHdl, XMLAnchorTypePropHdl, XMLAttributeContainerHandler, XMLAxisPositionPropertyHdl, XMLBackGraphicPositionPropHdl, XMLBitmapLogicalSizePropertyHandler, XMLBitmapRepeatOffsetPropertyHandler, XMLBoolPropHdl, XMLBorderHdl, XMLBorderWidthHdl, XMLCaptionEscapeRelative, XMLCaseMapPropHdl, XMLCaseMapVariantHdl, XMLCharCountryHdl, XMLCharHeightDiffHdl, XMLCharHeightHdl, XMLCharHeightPropHdl, XMLCharLanguageHdl, XMLClipPropertyHandler, XMLColorAutoPropHdl, XMLColorPropHdl, XMLColorTransparentPropHdl, XMLCompareOnlyPropHdl, XMLConstantsPropertyHandler, XMLContourModePropHdl_Impl, XMLCrossedOutStylePropHdl, XMLCrossedOutTextPropHdl, XMLCrossedOutTypePropHdl, XMLCrossedOutWidthPropHdl, XMLDateTimeFormatHdl, XMLDoublePercentPropHdl, XMLDoublePropHdl, XMLDropCapPropHdl_Impl, XMLDurationMS16PropHdl_Impl, XMLDurationPropertyHdl, XMLEnumPropertyHdl, XMLErrorIndicatorPropertyHdl, XMLEscapementHeightPropHdl, XMLEscapementPropHdl, XMLFillBitmapSizePropertyHandler, XMLFmtBreakAfterPropHdl, XMLFmtBreakBeforePropHdl, XMLFontEncodingPropHdl, XMLFontFamilyNamePropHdl, XMLFontFamilyPropHdl, XMLFontPitchPropHdl, XMLFontWeightPropHdl, XMLFrameProtectPropHdl_Impl, XMLGrfMirrorPropHdl_Impl, XMLHexPropHdl, XMLHoriMirrorPropHdl_Impl, XMLIsAutoColorPropHdl, XMLIsPercentagePropertyHandler, XMLIsTransparentPropHdl, XMLKerningPropHdl, XMLLastLineAdjustPropHdl, XMLLineHeightAtLeastHdl, XMLLineHeightHdl, XMLLineSpacingHdl, XMLMeasurePropHdl, XMLMeasurePxPropHdl, XMLMoveSizeProtectHdl, XMLNamedBoolPropertyHdl, XMLNBoolPropHdl, XMLNegPercentPropHdl, XMLNumber8OneBasedHdl, XMLNumberNonePropHdl, XMLNumberPropHdl, XMLNumberWithoutZeroPropHdl, XMLNumRulePropHdl, xmloff::OControlBorderHandler, xmloff::OControlTextEmphasisHandler, xmloff::OFontWidthHandler, xmloff::ORotationAngleHandler, XMLOpacityPropertyHdl, XMLOpaquePropHdl, XMLOpaquePropHdl_Impl, XMLParaAdjustPropHdl, XMLParagraphOnlyPropHdl_Impl, XMLPercentOrMeasurePropertyHandler, XMLPercentPropHdl, XMLPMPropHdl_CenterHorizontal, XMLPMPropHdl_CenterVertical, XMLPMPropHdl_NumFormat, XMLPMPropHdl_NumLetterSync, XMLPMPropHdl_PageStyleLayout, XMLPMPropHdl_PaperTrayNumber, XMLPMPropHdl_Print, XMLPosturePropHdl, XMLRectangleMembersHdl, XMLSdHeaderFooterVisibilityTypeHdl, XMLShadowedPropHdl, XMLShadowPropHdl, XMLStringPropHdl, XMLSymbolTypePropertyHdl, XMLTabStopPropHdl, XMLTextAnimationStepPropertyHdl, XMLTextColumnsPropertyHandler, XMLTextCombineCharPropHdl_Impl, XMLTextEmphasizePropHdl_Impl, XMLTextOrientationHdl, XMLTextRelWidthHeightPropHdl_Impl, XMLTextRotationAnglePropHdl_Impl, XMLTextSyncWidthHeightPropHdl_Impl, XMLUnderlineStylePropHdl, XMLUnderlineTypePropHdl, XMLUnderlineWidthPropHdl, XMLWordWrapPropertyHdl, and XMLWrapPropHdl_Impl.

List of all members.

Public Member Functions

virtual ~XMLPropertyHandler ()
virtual bool equals (const ::com::sun::star::uno::Any &r1, const ::com::sun::star::uno::Any &r2) const
 Compares two Any's in case of the given XML-data-type.
virtual sal_Bool importXML (const ::rtl::OUString &rStrImpValue,::com::sun::star::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0
 Imports the given value in cas of the given XML-data-type.
virtual sal_Bool exportXML (::rtl::OUString &rStrExpValue, const ::com::sun::star::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0
 Exports the given value in cas of the given XML-data-type.


Detailed Description

Abstract base-class for different XML-types.

Derivations of this class knows how to compare, im/export a special XML-type

Definition at line 46 of file xmlprhdl.hxx.


Constructor & Destructor Documentation

XMLPropertyHandler::~XMLPropertyHandler (  )  [virtual]

Definition at line 33 of file xmlprhdl.cxx.


Member Function Documentation

bool XMLPropertyHandler::equals ( const ::com::sun::star::uno::Any &  r1,
const ::com::sun::star::uno::Any &  r2 
) const [virtual]

Compares two Any's in case of the given XML-data-type.

By default the Any-equal-operator is called.

Reimplemented in XMLNumRulePropHdl, XMLCharLanguageHdl, XMLCharCountryHdl, XMLPMPropHdl_PageStyleLayout, XMLTabStopPropHdl, XMLDropCapPropHdl_Impl, XMLAttributeContainerHandler, XMLClipPropertyHandler, and XMLTextColumnsPropertyHandler.

Definition at line 38 of file xmlprhdl.cxx.

virtual sal_Bool XMLPropertyHandler::importXML ( const ::rtl::OUString rStrImpValue,
::com::sun::star::uno::Any &  rValue,
const SvXMLUnitConverter rUnitConverter 
) const [pure virtual]

Imports the given value in cas of the given XML-data-type.

Implemented in XMLAxisPositionPropertyHdl, XMLErrorIndicatorPropertyHdl, XMLSymbolTypePropertyHdl, XMLTextOrientationHdl, XMLNumRulePropHdl, XMLCaptionEscapeRelative, XMLMoveSizeProtectHdl, XMLSdHeaderFooterVisibilityTypeHdl, XMLParaAdjustPropHdl, XMLLastLineAdjustPropHdl, XMLBackGraphicPositionPropHdl, XMLBorderWidthHdl, XMLBorderHdl, XMLFmtBreakBeforePropHdl, XMLFmtBreakAfterPropHdl, XMLCrossedOutTypePropHdl, XMLCrossedOutStylePropHdl, XMLCrossedOutWidthPropHdl, XMLCrossedOutTextPropHdl, XMLCharHeightHdl, XMLCharHeightPropHdl, XMLCharHeightDiffHdl, XMLCharLanguageHdl, XMLCharCountryHdl, XMLCaseMapPropHdl, XMLCaseMapVariantHdl, DrawAspectHdl, XMLDurationMS16PropHdl_Impl, XMLEscapementPropHdl, XMLEscapementHeightPropHdl, XMLFontFamilyNamePropHdl, XMLFontFamilyPropHdl, XMLFontEncodingPropHdl, XMLFontPitchPropHdl, XMLKerningPropHdl, XMLLineHeightHdl, XMLLineHeightAtLeastHdl, XMLLineSpacingHdl, XMLOpaquePropHdl, XMLPMPropHdl_PageStyleLayout, XMLPMPropHdl_NumFormat, XMLPMPropHdl_NumLetterSync, XMLPMPropHdl_PaperTrayNumber, XMLPMPropHdl_Print, XMLPMPropHdl_CenterHorizontal, XMLPMPropHdl_CenterVertical, XMLPosturePropHdl, XMLShadowPropHdl, XMLShadowedPropHdl, XMLTabStopPropHdl, XMLUnderlineTypePropHdl, XMLUnderlineStylePropHdl, XMLUnderlineWidthPropHdl, XMLFontWeightPropHdl, XMLNumberPropHdl, XMLNumberNonePropHdl, XMLMeasurePropHdl, XMLPercentPropHdl, XMLDoublePercentPropHdl, XMLNegPercentPropHdl, XMLMeasurePxPropHdl, XMLBoolPropHdl, XMLColorPropHdl, XMLHexPropHdl, XMLStringPropHdl, XMLDoublePropHdl, XMLNBoolPropHdl, XMLColorTransparentPropHdl, XMLIsTransparentPropHdl, XMLColorAutoPropHdl, XMLIsAutoColorPropHdl, XMLCompareOnlyPropHdl, XMLNumberWithoutZeroPropHdl, XMLNumberWithAutoInsteadZeroPropHdl, XMLDropCapPropHdl_Impl, XMLOpaquePropHdl_Impl, XMLContourModePropHdl_Impl, XMLParagraphOnlyPropHdl_Impl, XMLWrapPropHdl_Impl, XMLFrameProtectPropHdl_Impl, XMLHoriMirrorPropHdl_Impl, XMLGrfMirrorPropHdl_Impl, XMLTextEmphasizePropHdl_Impl, XMLTextCombineCharPropHdl_Impl, XMLTextRelWidthHeightPropHdl_Impl, XMLTextSyncWidthHeightPropHdl_Impl, XMLTextRotationAnglePropHdl_Impl, XMLNumber8OneBasedHdl, XMLAnchorTypePropHdl, XMLAttributeContainerHandler, XMLBitmapLogicalSizePropertyHandler, XMLBitmapRepeatOffsetPropertyHandler, XMLClipPropertyHandler, XMLFillBitmapSizePropertyHandler, XMLIsPercentagePropertyHandler, xmloff::ORotationAngleHandler, xmloff::OFontWidthHandler, xmloff::OControlBorderHandler, xmloff::OControlTextEmphasisHandler, XMLEnumPropertyHdl, XMLNamedBoolPropertyHdl, XMLWordWrapPropertyHdl, XMLConstantsPropertyHandler, XMLPercentOrMeasurePropertyHandler, XMLRectangleMembersHdl, and XMLTextColumnsPropertyHandler.

Referenced by xmloff::AnimationsImportHelperImpl::convertValue().

virtual sal_Bool XMLPropertyHandler::exportXML ( ::rtl::OUString rStrExpValue,
const ::com::sun::star::uno::Any &  rValue,
const SvXMLUnitConverter rUnitConverter 
) const [pure virtual]

Exports the given value in cas of the given XML-data-type.

Implemented in XMLAxisPositionPropertyHdl, XMLErrorBarStylePropertyHdl, XMLErrorIndicatorPropertyHdl, XMLSymbolTypePropertyHdl, XMLTextOrientationHdl, XMLNumRulePropHdl, XMLCaptionEscapeRelative, XMLMoveSizeProtectHdl, XMLSdHeaderFooterVisibilityTypeHdl, XMLParaAdjustPropHdl, XMLLastLineAdjustPropHdl, XMLBackGraphicPositionPropHdl, XMLBorderWidthHdl, XMLBorderHdl, XMLFmtBreakBeforePropHdl, XMLFmtBreakAfterPropHdl, XMLCrossedOutTypePropHdl, XMLCrossedOutStylePropHdl, XMLCrossedOutWidthPropHdl, XMLCrossedOutTextPropHdl, XMLCharHeightHdl, XMLCharHeightPropHdl, XMLCharHeightDiffHdl, XMLCharLanguageHdl, XMLCharCountryHdl, XMLCaseMapPropHdl, XMLCaseMapVariantHdl, DrawAspectHdl, XMLDurationMS16PropHdl_Impl, XMLEscapementPropHdl, XMLEscapementHeightPropHdl, XMLFontFamilyNamePropHdl, XMLFontFamilyPropHdl, XMLFontEncodingPropHdl, XMLFontPitchPropHdl, XMLKerningPropHdl, XMLLineHeightHdl, XMLLineHeightAtLeastHdl, XMLLineSpacingHdl, XMLOpaquePropHdl, XMLPMPropHdl_PageStyleLayout, XMLPMPropHdl_NumFormat, XMLPMPropHdl_NumLetterSync, XMLPMPropHdl_PaperTrayNumber, XMLPMPropHdl_Print, XMLPMPropHdl_CenterHorizontal, XMLPMPropHdl_CenterVertical, XMLPosturePropHdl, XMLShadowPropHdl, XMLShadowedPropHdl, XMLTabStopPropHdl, XMLUnderlineTypePropHdl, XMLUnderlineStylePropHdl, XMLUnderlineWidthPropHdl, XMLFontWeightPropHdl, XMLNumberPropHdl, XMLNumberNonePropHdl, XMLMeasurePropHdl, XMLPercentPropHdl, XMLDoublePercentPropHdl, XMLNegPercentPropHdl, XMLMeasurePxPropHdl, XMLBoolPropHdl, XMLColorPropHdl, XMLHexPropHdl, XMLStringPropHdl, XMLStyleNamePropHdl, XMLDoublePropHdl, XMLNBoolPropHdl, XMLColorTransparentPropHdl, XMLIsTransparentPropHdl, XMLColorAutoPropHdl, XMLIsAutoColorPropHdl, XMLCompareOnlyPropHdl, XMLNumberWithoutZeroPropHdl, XMLNumberWithAutoInsteadZeroPropHdl, XMLDropCapPropHdl_Impl, XMLOpaquePropHdl_Impl, XMLContourModePropHdl_Impl, XMLParagraphOnlyPropHdl_Impl, XMLWrapPropHdl_Impl, XMLFrameProtectPropHdl_Impl, XMLHoriMirrorPropHdl_Impl, XMLGrfMirrorPropHdl_Impl, XMLTextEmphasizePropHdl_Impl, XMLTextCombineCharPropHdl_Impl, XMLTextRelWidthHeightPropHdl_Impl, XMLTextSyncWidthHeightPropHdl_Impl, XMLTextRotationAnglePropHdl_Impl, XMLNumber8OneBasedHdl, XMLAnchorTypePropHdl, XMLAttributeContainerHandler, XMLBitmapLogicalSizePropertyHandler, XMLBitmapRepeatOffsetPropertyHandler, XMLClipPropertyHandler, XMLFillBitmapSizePropertyHandler, XMLIsPercentagePropertyHandler, xmloff::ORotationAngleHandler, xmloff::OFontWidthHandler, xmloff::OControlBorderHandler, xmloff::OControlTextEmphasisHandler, XMLEnumPropertyHdl, XMLNamedBoolPropertyHdl, XMLWordWrapPropertyHdl, XMLConstantsPropertyHandler, XMLPercentOrMeasurePropertyHandler, XMLRectangleMembersHdl, and XMLTextColumnsPropertyHandler.

Referenced by xmloff::AnimationsExporterImpl::convertValue().


The documentation for this class was generated from the following files:

Generated on Thu Apr 29 14:45:42 2010 for ooo-build Module xmloff (ooo/OOO320_m15) by  doxygen 1.5.6