LibreOffice Module xmloff (master) 1
|
#include <XMLTextShapeImportHelper.hxx>
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 |
SvXMLStylesContext * | GetStylesContext () const |
void | SetStylesContext (SvXMLStylesContext *pNew) |
SvXMLStylesContext * | GetAutoStylesContext () const |
void | SetAutoStylesContext (SvXMLStylesContext *pNew) |
SvXMLImportPropertyMapper * | GetPropertySetMapper () const |
SvXMLImportPropertyMapper * | GetPresPagePropsMapper () 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... | |
XMLSdPropHdlFactory * | GetSdPropHdlFactory () 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 SvXMLShapeContext * | CreateGroupChildContext (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 SvXMLShapeContext * | CreateFrameChildContext (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 SvXMLShapeContext * | Create3DSceneChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes) |
static SvXMLImportPropertyMapper * | CreateShapePropMapper (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 |
Definition at line 27 of file XMLTextShapeImportHelper.hxx.
XMLTextShapeImportHelper::XMLTextShapeImportHelper | ( | SvXMLImport & | rImp | ) |
Definition at line 50 of file XMLTextShapeImportHelper.cxx.
References XMLShapeImportHelper::pushGroupForPostProcessing().
|
overridevirtual |
Definition at line 65 of file XMLTextShapeImportHelper.cxx.
References XMLShapeImportHelper::popGroupAndPostProcess().
|
overridevirtual |
this function is called whenever the implementation classes like to add this new shape to the given XShapes.
Reimplemented from XMLShapeImportHelper.
Definition at line 70 of file XMLTextShapeImportHelper.cxx.
References XMLShapeImportHelper::addShape(), Any, sax_fastparser::castToFastAttributeList(), XMLAnchorTypePropHdl::convert(), sax::Converter::convertNumber(), gsAnchorPageNo(), gsAnchorType(), gsVertOrientPosition(), m_rImport, SVG, TEXT, xmloff::token::XML_ANCHOR_PAGE_NUMBER, xmloff::token::XML_ANCHOR_TYPE, XML_ELEMENT, and xmloff::token::XML_Y.
|
private |
Definition at line 29 of file XMLTextShapeImportHelper.hxx.
Referenced by addShape().