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

#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 ()
 
void setStartToken (sal_Int32 _starttoken)
 
void setPosition (const css::awt::Point &rPosition)
 
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 ()
 

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

::sal_uInt32 mnStartToken
 
css::awt::Point maPosition
 
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 49 of file ShapeContextHandler.hxx.

Member Typedef Documentation

Definition at line 118 of file ShapeContextHandler.hxx.

Constructor & Destructor Documentation

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

Definition at line 48 of file ShapeContextHandler.cxx.

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

Definition at line 54 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 378 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 350 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 365 of file ShapeContextHandler.cxx.

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

Definition at line 313 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 339 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
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 ( )

Definition at line 534 of file ShapeContextHandler.cxx.

References mnStartToken.

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

Definition at line 105 of file ShapeContextHandler.hxx.

uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getWpgContext ( sal_Int32  nElement)
private

Definition at line 133 of file ShapeContextHandler.cxx.

References msRelationFragmentPath, mxShapeFilterBase, and mxWpgContext.

Referenced by getContextHandler().

uno::Reference< xml::sax::XFastContextHandler > const & oox::shape::ShapeContextHandler::getWpsContext ( sal_Int32  nStartElement,
sal_Int32  nElement 
)
private
void oox::shape::ShapeContextHandler::operator= ( ShapeContextHandler const &  )
privatedelete
void oox::shape::ShapeContextHandler::setDocumentProperties ( const css::uno::Reference< css::document::XDocumentProperties > &  xDocProps)

Definition at line 549 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 516 of file ShapeContextHandler.cxx.

References mxDrawPage.

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

Definition at line 560 of file ShapeContextHandler.cxx.

References mxShapeFilterBase.

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

Definition at line 555 of file ShapeContextHandler.cxx.

References maMediaDescriptor.

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

Definition at line 521 of file ShapeContextHandler.cxx.

References mxShapeFilterBase.

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

Definition at line 544 of file ShapeContextHandler.cxx.

References maPosition.

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

Definition at line 529 of file ShapeContextHandler.cxx.

References msRelationFragmentPath.

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

Definition at line 539 of file ShapeContextHandler.cxx.

References mnStartToken.

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

Definition at line 104 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 256 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 301 of file ShapeContextHandler.cxx.

Member Data Documentation

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

Definition at line 128 of file ShapeContextHandler.hxx.

Referenced by setMediaDescriptor().

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

Definition at line 112 of file ShapeContextHandler.hxx.

Referenced by getShape(), and setPosition().

::sal_uInt32 oox::shape::ShapeContextHandler::mnStartToken
private

Definition at line 111 of file ShapeContextHandler.hxx.

Referenced by getContextHandler(), getShape(), getStartToken(), and setStartToken().

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

Definition at line 115 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 131 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 126 of file ShapeContextHandler.hxx.

Referenced by getChartShapeContext(), and getShape().

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

Definition at line 121 of file ShapeContextHandler.hxx.

Referenced by getDiagramShapeContext(), and getShape().

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

Definition at line 127 of file ShapeContextHandler.hxx.

Referenced by setDocumentProperties().

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

Definition at line 119 of file ShapeContextHandler.hxx.

Referenced by getDrawingShapeContext().

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

Definition at line 132 of file ShapeContextHandler.hxx.

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

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

Definition at line 120 of file ShapeContextHandler.hxx.

Referenced by getGraphicShapeContext(), and getShape().

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

Definition at line 122 of file ShapeContextHandler.hxx.

Referenced by getLockedCanvasContext(), and getShape().

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

Definition at line 124 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 125 of file ShapeContextHandler.hxx.

Referenced by getShape(), and getWpgContext().

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

Definition at line 123 of file ShapeContextHandler.hxx.

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


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