XMLSdPropHdlFactory Class Reference

#include <sdpropls.hxx>

Inheritance diagram for XMLSdPropHdlFactory:

Inheritance graph
[legend]
Collaboration diagram for XMLSdPropHdlFactory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 XMLSdPropHdlFactory (::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >, SvXMLExport &rExport)
 XMLSdPropHdlFactory (::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >, SvXMLImport &rImport)
virtual ~XMLSdPropHdlFactory ()
virtual const XMLPropertyHandlerGetPropertyHandler (sal_Int32 nType) const
 This method retrieves a PropertyHandler for the given XML-type.

Private Attributes

::com::sun::star::uno::Reference
< ::com::sun::star::frame::XModel > 
mxModel
SvXMLExportmpExport
SvXMLImportmpImport


Detailed Description

Definition at line 238 of file sdpropls.hxx.


Constructor & Destructor Documentation

XMLSdPropHdlFactory::XMLSdPropHdlFactory ( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >  ,
SvXMLExport rExport 
)

XMLSdPropHdlFactory::XMLSdPropHdlFactory ( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >  ,
SvXMLImport rImport 
)

XMLSdPropHdlFactory::~XMLSdPropHdlFactory (  )  [virtual]

Definition at line 872 of file sdpropls.cxx.


Member Function Documentation

const XMLPropertyHandler * XMLSdPropHdlFactory::GetPropertyHandler ( sal_Int32  nType  )  const [virtual]

This method retrieves a PropertyHandler for the given XML-type.

To extend this method for more XML-types override this method like the example below. If you call the method of the base-class you get propertyhandler for basic-XML-types ( e.g. for color, percent, ... ). Afetr that you could create your new XML-types. After creating a new type you have to put the pointer into the cache via the method PutHdlCache( sal_Int32 , XMLPropertyHandler* ).

virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const { XMLPropertyHandler* pHdl = XMLPropertyHandlerFactory::GetPropertyHandler( nType );

if( !pHdl ) { switch( nType ) { case XML_TYPE_XYZ : pHdl = new XML_xyz_PropHdl; break; case ... : : }

if( pHdl ) PutHdlCache( nType, pHdl ); }

return pHdl; }

Reimplemented from XMLPropertyHandlerFactory.

Definition at line 876 of file sdpropls.cxx.

References xmloff::Animations_EnumMap_TransitionSubType, xmloff::Animations_EnumMap_TransitionType, xmloff::OControlBorderHandler::COLOR, xmloff::getAnimationsEnumMap(), getCppuType(), XMLPropertyHandlerFactory::GetPropertyHandler(), xmloff::token::GetXMLToken(), mpExport, mpImport, mxModel, OUString, XMLPropertyHandlerFactory::PutHdlCache(), pXML_Caption_Esc_Dir_Enum, pXML_Caption_Type_Enum, pXML_FitToSize_Enum, pXML_Fontwork_Adjust_Enum, pXML_Fontwork_Form_Enum, pXML_Fontwork_Shadow_Enum, pXML_Fontwork_Style_Enum, pXML_Measure_HAlign_Enum, pXML_Measure_VAlign_Enum, pXML_MeasureUnit_Enum, pXML_TextAlign_Enum, pXML_TextAnimation_Blinking_Enum, pXML_TextAnimation_Enum, pXML_TextAnimationDirection_Enum, pXML_VerticalAlign_Enum, xmloff::OControlBorderHandler::STYLE, xmloff::token::XML_ABOVE, xmloff::token::XML_BELOW, xmloff::token::XML_BORDER, xmloff::token::XML_DISABLED, xmloff::token::XML_ENABLED, xmloff::token::XML_FIXED, xmloff::token::XML_FORWARD, xmloff::token::XML_FREE, xmloff::token::XML_FULL, xmloff::token::XML_HIDDEN, xmloff::token::XML_HORIZONTAL, xmloff::token::XML_INVERSE, xmloff::token::XML_NONE, xmloff::token::XML_NORMAL, xmloff::token::XML_REVERSE, XML_SD_TYPE_BACKFACE_CULLING, XML_SD_TYPE_BITMAP_MODE, XML_SD_TYPE_BITMAP_REFPOINT, XML_SD_TYPE_BITMAPREPOFFSETX, XML_SD_TYPE_BITMAPREPOFFSETY, XML_SD_TYPE_CAPTION_ANGLE_TYPE, XML_SD_TYPE_CAPTION_ESC_ABS, XML_SD_TYPE_CAPTION_ESC_DIR, XML_SD_TYPE_CAPTION_ESC_REL, XML_SD_TYPE_CAPTION_IS_ESC_REL, XML_SD_TYPE_CAPTION_TYPE, XML_SD_TYPE_CONTROL_BORDER, XML_SD_TYPE_CONTROL_BORDER_COLOR, XML_SD_TYPE_DATETIME_FORMAT, XML_SD_TYPE_DATETIMEUPDATE, XML_SD_TYPE_FILLBITMAPSIZE, XML_SD_TYPE_FILLSTYLE, XML_SD_TYPE_FITTOSIZE, XML_SD_TYPE_FONTWORK_ADJUST, XML_SD_TYPE_FONTWORK_FORM, XML_SD_TYPE_FONTWORK_SHADOW, XML_SD_TYPE_FONTWORK_STYLE, XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE, XML_SD_TYPE_IMAGE_SCALE_MODE, XML_SD_TYPE_LINEJOIN, XML_SD_TYPE_LOGICAL_SIZE, XML_SD_TYPE_MEASURE_HALIGN, XML_SD_TYPE_MEASURE_PLACING, XML_SD_TYPE_MEASURE_UNIT, XML_SD_TYPE_MEASURE_VALIGN, XML_SD_TYPE_MOVE_PROTECT, XML_SD_TYPE_NORMALS_DIRECTION, XML_SD_TYPE_NORMALS_KIND, XML_SD_TYPE_NUMBULLET, XML_SD_TYPE_OPACITY, XML_SD_TYPE_PRESPAGE_BACKSIZE, XML_SD_TYPE_PRESPAGE_DURATION, XML_SD_TYPE_PRESPAGE_SPEED, XML_SD_TYPE_PRESPAGE_STYLE, XML_SD_TYPE_PRESPAGE_TYPE, XML_SD_TYPE_PRESPAGE_VISIBILITY, XML_SD_TYPE_SHADOW, XML_SD_TYPE_SIZE_PROTECT, XML_SD_TYPE_STROKE, XML_SD_TYPE_TEX_GENERATION_MODE_X, XML_SD_TYPE_TEX_GENERATION_MODE_Y, XML_SD_TYPE_TEX_KIND, XML_SD_TYPE_TEX_MODE, XML_SD_TYPE_TEXT_ALIGN, XML_SD_TYPE_TEXT_CROSSEDOUT, XML_SD_TYPE_TRANSITION_TYPE, XML_SD_TYPE_TRANSTIION_DIRECTION, XML_SD_TYPE_TRANSTIION_SUBTYPE, XML_SD_TYPE_VERTICAL_ALIGN, XML_SD_TYPE_WRITINGMODE, xmloff::token::XML_SOLID, XML_TYPE_CONTROL_TEXT_EMPHASIZE, XML_TYPE_SD_MIRROR, XML_TYPE_TEXT_ANIMATION, XML_TYPE_TEXT_ANIMATION_BLINKING, XML_TYPE_TEXT_ANIMATION_DIRECTION, XML_TYPE_TEXT_ANIMATION_STEPS, XML_TYPE_TEXT_CLIP, XML_TYPE_TEXT_CLIP11, XML_TYPE_WRAP_OPTION, xmloff::token::XML_VARIABLE, and xmloff::token::XML_VISIBLE.


Member Data Documentation

::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > XMLSdPropHdlFactory::mxModel [private]

Definition at line 241 of file sdpropls.hxx.

Referenced by GetPropertyHandler().

Definition at line 242 of file sdpropls.hxx.

Referenced by GetPropertyHandler().

Definition at line 243 of file sdpropls.hxx.

Referenced by GetPropertyHandler().


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

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