LibreOffice Module xmloff (master) 1
Public Member Functions | Private Attributes | List of all members
XMLTextShapeImportHelper Class Reference

#include <XMLTextShapeImportHelper.hxx>

Inheritance diagram for XMLTextShapeImportHelper:
[legend]
Collaboration diagram for XMLTextShapeImportHelper:
[legend]

Public Member Functions

 XMLTextShapeImportHelper (SvXMLImport &rImp)
 
virtual ~XMLTextShapeImportHelper () override
 
virtual void addShape (css::uno::Reference< css::drawing::XShape > &rShape, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > &rShapes) override
 this function is called whenever the implementation classes like to add this new shape to the given XShapes. More...
 
- Public Member Functions inherited from XMLShapeImportHelper
 XMLShapeImportHelper (SvXMLImport &rImporter, const css::uno::Reference< css::frame::XModel > &rModel, SvXMLImportPropertyMapper *pExtMapper=nullptr)
 
virtual ~XMLShapeImportHelper () override
 
SvXMLStylesContextGetStylesContext () const
 
void SetStylesContext (SvXMLStylesContext *pNew)
 
SvXMLStylesContextGetAutoStylesContext () const
 
void SetAutoStylesContext (SvXMLStylesContext *pNew)
 
SvXMLImportPropertyMapperGetPropertySetMapper () const
 
SvXMLImportPropertyMapperGetPresPagePropsMapper () const
 
virtual void addShape (css::uno::Reference< css::drawing::XShape > &rShape, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > &rShapes)
 this function is called whenever the implementation classes like to add this new shape to the given XShapes. More...
 
virtual void finishShape (css::uno::Reference< css::drawing::XShape > &rShape, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > &rShapes)
 this function is called whenever the implementation classes have finished importing a shape to the given XShapes. More...
 
void addShapeEvents (SdXMLEventContextData &rData)
 
void pushGroupForPostProcessing (css::uno::Reference< css::drawing::XShapes > &rShapes)
 
void popGroupAndPostProcess ()
 
void shapeWithZIndexAdded (css::uno::Reference< css::drawing::XShape > const &rShape, sal_Int32 nZIndex)
 
void shapeRemoved (const css::uno::Reference< css::drawing::XShape > &rShape)
 Updates the z-order of other shapes to be consistent again, needed due to the removal of rShape. More...
 
void addShapeConnection (css::uno::Reference< css::drawing::XShape > const &rConnectorShape, bool bStart, const OUString &rDestShapeId, sal_Int32 nDestGlueId)
 
void addGluePointMapping (css::uno::Reference< css::drawing::XShape > const &xShape, sal_Int32 nSourceId, sal_Int32 nDestinnationId)
 adds a mapping for a gluepoint identifier from an xml file to the identifier created after inserting the new gluepoint into the core. More...
 
void moveGluePointMapping (const css::uno::Reference< css::drawing::XShape > &xShape, const sal_Int32 n)
 moves all current DestinationId's for rXShape by n More...
 
sal_Int32 getGluePointId (const css::uno::Reference< css::drawing::XShape > &xShape, sal_Int32 nSourceId)
 retrieves a mapping for a gluepoint identifier from the current xml file to the identifier created after inserting the new gluepoint into the core. More...
 
void startPage (css::uno::Reference< css::drawing::XShapes > const &rShapes)
 this method must be calling before the first shape is imported for the given page. More...
 
void endPage (css::uno::Reference< css::drawing::XShapes > const &rShapes)
 this method must be calling after the last shape is imported for the given page Calls to this method can be nested More...
 
void restoreConnections ()
 
void enableHandleProgressBar ()
 defines if the import should increment the progress bar or not More...
 
bool IsHandleProgressBarEnabled () const
 
bool IsPresentationShapesSupported () const
 queries the capability of the current model to create presentation shapes More...
 
XMLSdPropHdlFactoryGetSdPropHdlFactory () const
 
const rtl::Reference< XMLTableImport > & GetShapeTableImport ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

SvXMLImport & m_rImport
 

Additional Inherited Members

- Static Public Member Functions inherited from XMLShapeImportHelper
static SvXMLShapeContextCreateGroupChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes, bool bTemporaryShape=false)
 
static SvXMLShapeContextCreateFrameChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xFrameAttrList)
 
static css::uno::Reference< css::xml::sax::XFastContextHandler > CreateFrameChildContext (SvXMLImportContext *pThisContext, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
static SvXMLShapeContextCreate3DSceneChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes)
 
static SvXMLImportPropertyMapperCreateShapePropMapper (const css::uno::Reference< css::frame::XModel > &rModel, SvXMLImport &rImport)
 creates a property mapper for external chaining 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 salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from XMLShapeImportHelper
SvXMLImport & mrImporter
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 27 of file XMLTextShapeImportHelper.hxx.

Constructor & Destructor Documentation

◆ XMLTextShapeImportHelper()

XMLTextShapeImportHelper::XMLTextShapeImportHelper ( SvXMLImport &  rImp)

◆ ~XMLTextShapeImportHelper()

XMLTextShapeImportHelper::~XMLTextShapeImportHelper ( )
overridevirtual

Member Function Documentation

◆ addShape()

void XMLTextShapeImportHelper::addShape ( css::uno::Reference< css::drawing::XShape > &  rShape,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
css::uno::Reference< css::drawing::XShapes > &  rShapes 
)
overridevirtual

Member Data Documentation

◆ m_rImport

SvXMLImport& XMLTextShapeImportHelper::m_rImport
private

Definition at line 29 of file XMLTextShapeImportHelper.hxx.

Referenced by addShape().


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