LibreOffice Module oox (master)  1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
oox::shape::ShapeContextHandler Class Referencefinal

#include <ShapeContextHandler.hxx>

Inheritance diagram for oox::shape::ShapeContextHandler:
[legend]
Collaboration diagram for oox::shape::ShapeContextHandler:
[legend]

Public Member Functions

 ShapeContextHandler (const rtl::Reference< ShapeFilterBase > &xFilterBase)
 
virtual ~ShapeContextHandler () override
 
virtual void SAL_CALL startFastElement (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (::sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
css::uno::Reference< css::drawing::XShape > getShape ()
 
void setDrawPage (const css::uno::Reference< css::drawing::XDrawPage > &the_value)
 
void setModel (const css::uno::Reference< css::frame::XModel > &the_value)
 
void setRelationFragmentPath (const OUString &the_value)
 
sal_Int32 getStartToken () const
 
void popStartToken ()
 
void pushStartToken (sal_Int32 _starttoken)
 
void setPosition (const css::awt::Point &rPosition)
 
const bool & getFullWPGSupport ()
 
void setFullWPGSupport (bool bUse)
 
bool isWordProcessingGroupShape () const
 
void setDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xDocProps)
 
void setMediaDescriptor (const css::uno::Sequence< css::beans::PropertyValue > &rMediaDescriptor)
 
void setGraphicMapper (css::uno::Reference< css::graphic::XGraphicMapper > const &rGraphicMapper)
 
void setTheme (const oox::drawingml::ThemePtr &pTheme)
 
const oox::drawingml::ThemePtrgetTheme () const
 

Private Types

typedef rtl::Reference< drawingml::GraphicShapeContextGraphicShapeContextPtr
 

Private Member Functions

 ShapeContextHandler (ShapeContextHandler const &)=delete
 
void operator= (ShapeContextHandler const &)=delete
 
css::uno::Reference< XFastContextHandler > const & getGraphicShapeContext (::sal_Int32 Element)
 
css::uno::Reference< XFastContextHandler > const & getChartShapeContext (::sal_Int32 Element)
 
css::uno::Reference< XFastContextHandler > const & getDrawingShapeContext ()
 
css::uno::Reference< XFastContextHandler > const & getDiagramShapeContext ()
 
css::uno::Reference< XFastContextHandler > const & getLockedCanvasContext (sal_Int32 nElement)
 
css::uno::Reference< XFastContextHandler > const & getWpsContext (sal_Int32 nStartElement, sal_Int32 nElement)
 
css::uno::Reference< XFastContextHandler > const & getWpgContext (sal_Int32 nElement)
 
css::uno::Reference< XFastContextHandler > getContextHandler (sal_Int32 nElement=0)
 

Private Attributes

std::stack< sal_uInt32 > mnStartTokenStack
 
css::awt::Point maPosition
 
bool m_bFullWPGSUpport
 
drawingml::ShapePtr mpShape
 
std::shared_ptr< vml::DrawingmpDrawing
 
css::uno::Reference< XFastContextHandler > mxDrawingFragmentHandler
 
css::uno::Reference< XFastContextHandler > mxGraphicShapeContext
 
css::uno::Reference< XFastContextHandler > mxDiagramShapeContext
 
css::uno::Reference< XFastContextHandler > mxLockedCanvasContext
 
css::uno::Reference< XFastContextHandler > mxWpsContext
 
css::uno::Reference< css::drawing::XShape > mxSavedShape
 
css::uno::Reference< XFastContextHandler > mxWpgContext
 
css::uno::Reference< XFastContextHandler > mxChartShapeContext
 
css::uno::Reference< css::document::XDocumentProperties > mxDocumentProperties
 
css::uno::Sequence< css::beans::PropertyValue > maMediaDescriptor
 
::rtl::Reference< ShapeFilterBasemxShapeFilterBase
 
drawingml::ThemePtr mpThemePtr
 
css::uno::Reference< css::drawing::XDrawPage > mxDrawPage
 
OUString msRelationFragmentPath
 

Detailed Description

Definition at line 48 of file ShapeContextHandler.hxx.

Member Typedef Documentation

Definition at line 127 of file ShapeContextHandler.hxx.

Constructor & Destructor Documentation

oox::shape::ShapeContextHandler::ShapeContextHandler ( const rtl::Reference< ShapeFilterBase > &  xFilterBase)
explicit

Definition at line 46 of file ShapeContextHandler.cxx.

References false.

oox::shape::ShapeContextHandler::~ShapeContextHandler ( )
overridevirtual

Definition at line 53 of file ShapeContextHandler.cxx.

oox::shape::ShapeContextHandler::ShapeContextHandler ( ShapeContextHandler const &  )
privatedelete

Member Function Documentation

void SAL_CALL oox::shape::ShapeContextHandler::characters ( const OUString &  aChars)
overridevirtual

Definition at line 382 of file ShapeContextHandler.cxx.

References getContextHandler().

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL oox::shape::ShapeContextHandler::createFastChildContext ( ::sal_Int32  Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 354 of file ShapeContextHandler.cxx.

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL oox::shape::ShapeContextHandler::createUnknownChildContext ( const OUString &  Namespace,
const OUString &  Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 369 of file ShapeContextHandler.cxx.

void SAL_CALL oox::shape::ShapeContextHandler::endFastElement ( ::sal_Int32  Element)
overridevirtual

Definition at line 317 of file ShapeContextHandler.cxx.

References getContextHandler(), mxSavedShape, and mxWpsContext.

void SAL_CALL oox::shape::ShapeContextHandler::endUnknownElement ( const OUString &  Namespace,
const OUString &  Name 
)
overridevirtual

Definition at line 343 of file ShapeContextHandler.cxx.

uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getChartShapeContext ( ::sal_Int32  Element)
private
uno::Reference< xml::sax::XFastContextHandler > oox::shape::ShapeContextHandler::getContextHandler ( sal_Int32  nElement = 0)
private
uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getDiagramShapeContext ( )
private
uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getDrawingShapeContext ( )
private
const bool& oox::shape::ShapeContextHandler::getFullWPGSupport ( )
inline

Definition at line 99 of file ShapeContextHandler.hxx.

uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getGraphicShapeContext ( ::sal_Int32  Element)
private
uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getLockedCanvasContext ( sal_Int32  nElement)
private
uno::Reference< drawing::XShape > oox::shape::ShapeContextHandler::getShape ( )
sal_Int32 oox::shape::ShapeContextHandler::getStartToken ( ) const

Definition at line 544 of file ShapeContextHandler.cxx.

References mnStartTokenStack.

Referenced by getContextHandler(), and getShape().

const oox::drawingml::ThemePtr& oox::shape::ShapeContextHandler::getTheme ( ) const
inline

Definition at line 110 of file ShapeContextHandler.hxx.

uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getWpgContext ( sal_Int32  nElement)
private
uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getWpsContext ( sal_Int32  nStartElement,
sal_Int32  nElement 
)
private
bool oox::shape::ShapeContextHandler::isWordProcessingGroupShape ( ) const
inline

Definition at line 102 of file ShapeContextHandler.hxx.

void oox::shape::ShapeContextHandler::operator= ( ShapeContextHandler const &  )
privatedelete
void oox::shape::ShapeContextHandler::popStartToken ( )

Definition at line 550 of file ShapeContextHandler.cxx.

References mnStartTokenStack.

Referenced by getShape().

void oox::shape::ShapeContextHandler::pushStartToken ( sal_Int32  _starttoken)

Definition at line 556 of file ShapeContextHandler.cxx.

References mnStartTokenStack.

void oox::shape::ShapeContextHandler::setDocumentProperties ( const css::uno::Reference< css::document::XDocumentProperties > &  xDocProps)

Definition at line 566 of file ShapeContextHandler.cxx.

References mxDocumentProperties, and mxShapeFilterBase.

void oox::shape::ShapeContextHandler::setDrawPage ( const css::uno::Reference< css::drawing::XDrawPage > &  the_value)

Definition at line 526 of file ShapeContextHandler.cxx.

References mxDrawPage.

void oox::shape::ShapeContextHandler::setFullWPGSupport ( bool  bUse)
inline

Definition at line 100 of file ShapeContextHandler.hxx.

void oox::shape::ShapeContextHandler::setGraphicMapper ( css::uno::Reference< css::graphic::XGraphicMapper > const &  rGraphicMapper)

Definition at line 577 of file ShapeContextHandler.cxx.

References mxShapeFilterBase.

void oox::shape::ShapeContextHandler::setMediaDescriptor ( const css::uno::Sequence< css::beans::PropertyValue > &  rMediaDescriptor)

Definition at line 572 of file ShapeContextHandler.cxx.

References maMediaDescriptor.

void oox::shape::ShapeContextHandler::setModel ( const css::uno::Reference< css::frame::XModel > &  the_value)

Definition at line 531 of file ShapeContextHandler.cxx.

References mxShapeFilterBase.

void oox::shape::ShapeContextHandler::setPosition ( const css::awt::Point &  rPosition)

Definition at line 561 of file ShapeContextHandler.cxx.

References maPosition.

void oox::shape::ShapeContextHandler::setRelationFragmentPath ( const OUString &  the_value)

Definition at line 539 of file ShapeContextHandler.cxx.

References msRelationFragmentPath.

void oox::shape::ShapeContextHandler::setTheme ( const oox::drawingml::ThemePtr pTheme)
inline

Definition at line 109 of file ShapeContextHandler.hxx.

void SAL_CALL oox::shape::ShapeContextHandler::startFastElement ( ::sal_Int32  Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 260 of file ShapeContextHandler.cxx.

References u.

void SAL_CALL oox::shape::ShapeContextHandler::startUnknownElement ( const OUString &  Namespace,
const OUString &  Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 305 of file ShapeContextHandler.cxx.

Member Data Documentation

bool oox::shape::ShapeContextHandler::m_bFullWPGSUpport
private

Definition at line 121 of file ShapeContextHandler.hxx.

Referenced by getWpgContext().

css::uno::Sequence<css::beans::PropertyValue> oox::shape::ShapeContextHandler::maMediaDescriptor
private

Definition at line 137 of file ShapeContextHandler.hxx.

Referenced by setMediaDescriptor().

css::awt::Point oox::shape::ShapeContextHandler::maPosition
private

Definition at line 120 of file ShapeContextHandler.hxx.

Referenced by getShape(), and setPosition().

std::stack<sal_uInt32> oox::shape::ShapeContextHandler::mnStartTokenStack
private

Definition at line 118 of file ShapeContextHandler.hxx.

Referenced by getStartToken(), popStartToken(), and pushStartToken().

std::shared_ptr< vml::Drawing > oox::shape::ShapeContextHandler::mpDrawing
private

Definition at line 124 of file ShapeContextHandler.hxx.

Referenced by getDrawingShapeContext(), and getShape().

drawingml::ShapePtr oox::shape::ShapeContextHandler::mpShape
private
drawingml::ThemePtr oox::shape::ShapeContextHandler::mpThemePtr
private

Definition at line 140 of file ShapeContextHandler.hxx.

Referenced by getShape().

OUString oox::shape::ShapeContextHandler::msRelationFragmentPath
private
css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxChartShapeContext
private

Definition at line 135 of file ShapeContextHandler.hxx.

Referenced by getChartShapeContext(), and getShape().

css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxDiagramShapeContext
private

Definition at line 130 of file ShapeContextHandler.hxx.

Referenced by getDiagramShapeContext(), and getShape().

css::uno::Reference<css::document::XDocumentProperties> oox::shape::ShapeContextHandler::mxDocumentProperties
private

Definition at line 136 of file ShapeContextHandler.hxx.

Referenced by setDocumentProperties().

css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxDrawingFragmentHandler
private

Definition at line 128 of file ShapeContextHandler.hxx.

Referenced by getDrawingShapeContext().

css::uno::Reference<css::drawing::XDrawPage> oox::shape::ShapeContextHandler::mxDrawPage
private

Definition at line 141 of file ShapeContextHandler.hxx.

Referenced by getDrawingShapeContext(), getShape(), and setDrawPage().

css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxGraphicShapeContext
private

Definition at line 129 of file ShapeContextHandler.hxx.

Referenced by getGraphicShapeContext(), and getShape().

css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxLockedCanvasContext
private

Definition at line 131 of file ShapeContextHandler.hxx.

Referenced by getLockedCanvasContext(), and getShape().

css::uno::Reference<css::drawing::XShape> oox::shape::ShapeContextHandler::mxSavedShape
private

Definition at line 133 of file ShapeContextHandler.hxx.

Referenced by endFastElement(), getShape(), and getWpsContext().

::rtl::Reference< ShapeFilterBase > oox::shape::ShapeContextHandler::mxShapeFilterBase
private
css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxWpgContext
private

Definition at line 134 of file ShapeContextHandler.hxx.

Referenced by getShape(), and getWpgContext().

css::uno::Reference<XFastContextHandler> oox::shape::ShapeContextHandler::mxWpsContext
private

Definition at line 132 of file ShapeContextHandler.hxx.

Referenced by endFastElement(), getShape(), and getWpsContext().


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