LibreOffice Module xmloff (master) 1
|
#include <sdpropls.hxx>
Public Member Functions | |
XMLSdPropHdlFactory (css::uno::Reference< css::frame::XModel > xModel, SvXMLExport &rExport) | |
XMLSdPropHdlFactory (css::uno::Reference< css::frame::XModel > xModel, SvXMLImport &rImport) | |
virtual | ~XMLSdPropHdlFactory () override |
virtual const XMLPropertyHandler * | GetPropertyHandler (sal_Int32 nType) const override |
This method retrieves a PropertyHandler for the given XML-type. More... | |
Public Member Functions inherited from XMLPropertyHandlerFactory | |
XMLPropertyHandlerFactory () | |
virtual | ~XMLPropertyHandlerFactory () override |
virtual const XMLPropertyHandler * | GetPropertyHandler (sal_Int32 nType) const |
This method retrieves a PropertyHandler for the given XML-type. More... | |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
css::uno::Reference< css::frame::XModel > | mxModel |
SvXMLExport * | mpExport |
SvXMLImport * | mpImport |
Additional Inherited Members | |
Static Public Member Functions inherited from XMLPropertyHandlerFactory | |
static std::unique_ptr< XMLPropertyHandler > | CreatePropertyHandler (sal_Int32 nType) |
helper method to statically create a property handler; this will not use the handler cache. More... | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from XMLPropertyHandlerFactory | |
const XMLPropertyHandler * | GetHdlCache (sal_Int32 nType) const |
Retrieves a PropertyHandler from the internal cache. More... | |
void | PutHdlCache (sal_Int32 nType, const XMLPropertyHandler *pHdl) const |
Puts a PropertyHandler into the internal cache. More... | |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 53 of file sdpropls.hxx.
XMLSdPropHdlFactory::XMLSdPropHdlFactory | ( | css::uno::Reference< css::frame::XModel > | xModel, |
SvXMLExport & | rExport | ||
) |
XMLSdPropHdlFactory::XMLSdPropHdlFactory | ( | css::uno::Reference< css::frame::XModel > | xModel, |
SvXMLImport & | rImport | ||
) |
|
overridevirtual |
Definition at line 1004 of file sdpropls.cxx.
|
overridevirtual |
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, ... ). After 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 1008 of file sdpropls.cxx.
References xmloff::aAnimations_EnumMap_TransitionSubType, xmloff::aAnimations_EnumMap_TransitionType, aXML_BitmapMode_EnumMap, aXML_FadeEffect_EnumMap, aXML_FillStyle_EnumMap, aXML_LineCap_EnumMap, aXML_LineJoint_EnumMap, aXML_LineStyle_EnumMap, aXML_NormalsKind_EnumMap, aXML_PresChange_EnumMap, aXML_RefPoint_EnumMap, aXML_TexGenerationX_EnumMap, aXML_TexGenerationY_EnumMap, aXML_TexKind_EnumMap, aXML_TexMode_EnumMap, aXML_TransSpeed_EnumMap, aXML_WritingMode2_EnumMap, aXML_WritingMode_EnumMap, xmloff::OControlBorderHandler::COLOR, XMLPropertyHandlerFactory::GetPropertyHandler(), SvXMLExport::getSaneDefaultVersion(), xmloff::token::GetXMLToken(), mpExport, mpImport, mxModel, nType, SvtSaveOptions::ODFSVER_012_EXT_COMPAT, XMLPropertyHandlerFactory::PutHdlCache(), pXML_Caption_Esc_Dir_Enum, pXML_Caption_Type_Enum, pXML_FitToSize_Enum, pXML_FitToSize_Enum_Odf12, 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_ShrinkToFit_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_LR_TB, 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_CELL_ROTATION_ANGLE, 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_FITTOSIZE_AUTOFIT, 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_LINECAP, 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_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_VISIBLE_HIDDEN, XML_SD_TYPE_WRITINGMODE, XML_SD_TYPE_WRITINGMODE2, xmloff::token::XML_SOLID, XML_TYPE_COMPLEX_COLOR, 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_TEXT_COLUMNS, XML_TYPE_WRAP_OPTION, xmloff::token::XML_VARIABLE, and xmloff::token::XML_VISIBLE.
|
private |
Definition at line 57 of file sdpropls.hxx.
Referenced by GetPropertyHandler().
|
private |
Definition at line 58 of file sdpropls.hxx.
Referenced by GetPropertyHandler().
|
private |
Definition at line 56 of file sdpropls.hxx.
Referenced by GetPropertyHandler().