LibreOffice Module oox (master) 1
|
#include <ShapeContextHandler.hxx>
Public Member Functions | |
ShapeContextHandler (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) |
void | setSize (const css::awt::Size &rSize) |
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::ThemePtr & | getTheme () const |
Private Types | |
typedef rtl::Reference< drawingml::GraphicShapeContext > | GraphicShapeContextPtr |
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 > | getChartShapeContext (::sal_Int32 Element) |
css::uno::Reference< XFastContextHandler > | getDrawingShapeContext () |
css::uno::Reference< XFastContextHandler > | getDiagramShapeContext () |
css::uno::Reference< XFastContextHandler > | getLockedCanvasContext (sal_Int32 nElement) |
css::uno::Reference< XFastContextHandler > | getWpsContext (sal_Int32 nStartElement, sal_Int32 nElement) |
css::uno::Reference< XFastContextHandler > | getWpgContext (sal_Int32 nElement) |
css::uno::Reference< XFastContextHandler > | getContextHandler (sal_Int32 nElement=0) |
void | applyFontRefColor (const oox::drawingml::ShapePtr &pShape, const oox::drawingml::Color &rFontRefColor) |
Definition at line 55 of file ShapeContextHandler.hxx.
|
private |
Definition at line 136 of file ShapeContextHandler.hxx.
|
explicit |
Definition at line 47 of file ShapeContextHandler.cxx.
|
overridevirtual |
Definition at line 54 of file ShapeContextHandler.cxx.
|
privatedelete |
|
private |
Definition at line 588 of file ShapeContextHandler.cxx.
References applyFontRefColor().
Referenced by applyFontRefColor(), and getShape().
|
overridevirtual |
Definition at line 387 of file ShapeContextHandler.cxx.
References getContextHandler().
|
overridevirtual |
Definition at line 358 of file ShapeContextHandler.cxx.
References getContextHandler().
Referenced by startFastElement().
|
overridevirtual |
Definition at line 373 of file ShapeContextHandler.cxx.
References getContextHandler(), and Name.
|
overridevirtual |
Definition at line 322 of file ShapeContextHandler.cxx.
References getContextHandler(), mxSavedShape, and mxWpsContext.
|
overridevirtual |
Definition at line 347 of file ShapeContextHandler.cxx.
References getContextHandler(), and Name.
|
private |
Definition at line 80 of file ShapeContextHandler.cxx.
References mpShape, msRelationFragmentPath, mxChartShapeContext, and mxShapeFilterBase.
Referenced by getContextHandler().
|
private |
Definition at line 223 of file ShapeContextHandler.cxx.
References getChartShapeContext(), getDiagramShapeContext(), getDrawingShapeContext(), getGraphicShapeContext(), getLockedCanvasContext(), getStartToken(), getWpgContext(), and getWpsContext().
Referenced by characters(), createFastChildContext(), createUnknownChildContext(), endFastElement(), endUnknownElement(), getShape(), startFastElement(), and startUnknownElement().
|
private |
Definition at line 209 of file ShapeContextHandler.cxx.
References maSize, mpShape, msRelationFragmentPath, mxDiagramShapeContext, and mxShapeFilterBase.
Referenced by getContextHandler().
|
private |
Definition at line 184 of file ShapeContextHandler.cxx.
References mpDrawing, msRelationFragmentPath, mxDrawingFragmentHandler, mxDrawPage, mxShapeFilterBase, and oox::vml::VMLDRAWING_WORD.
Referenced by getContextHandler(), getShape(), startFastElement(), and startUnknownElement().
|
inline |
Definition at line 107 of file ShapeContextHandler.hxx.
|
private |
Definition at line 156 of file ShapeContextHandler.cxx.
References mpShape, msRelationFragmentPath, mxGraphicShapeContext, and mxShapeFilterBase.
Referenced by getContextHandler().
|
private |
Definition at line 58 of file ShapeContextHandler.cxx.
References msRelationFragmentPath, mxLockedCanvasContext, and mxShapeFilterBase.
Referenced by getContextHandler().
uno::Reference< drawing::XShape > oox::shape::ShapeContextHandler::getShape | ( | ) |
Definition at line 396 of file ShapeContextHandler.cxx.
References applyFontRefColor(), getContextHandler(), getDrawingShapeContext(), getStartToken(), maPosition, mpDrawing, mpShape, mpThemePtr, mxChartShapeContext, mxDiagramShapeContext, mxDrawPage, mxGraphicShapeContext, mxLockedCanvasContext, mxSavedShape, mxShapeFilterBase, mxWpgContext, mxWpsContext, and popStartToken().
sal_Int32 oox::shape::ShapeContextHandler::getStartToken | ( | ) | const |
Definition at line 545 of file ShapeContextHandler.cxx.
References mnStartTokenStack.
Referenced by getContextHandler(), and getShape().
|
inline |
Definition at line 118 of file ShapeContextHandler.hxx.
|
private |
Definition at line 133 of file ShapeContextHandler.cxx.
References m_bFullWPGSUpport, msRelationFragmentPath, mxShapeFilterBase, and mxWpgContext.
Referenced by getContextHandler().
|
private |
Definition at line 102 of file ShapeContextHandler.cxx.
References msRelationFragmentPath, mxSavedShape, mxShapeFilterBase, and mxWpsContext.
Referenced by getContextHandler().
|
inline |
Definition at line 110 of file ShapeContextHandler.hxx.
|
privatedelete |
void oox::shape::ShapeContextHandler::popStartToken | ( | ) |
Definition at line 551 of file ShapeContextHandler.cxx.
References mnStartTokenStack.
Referenced by getShape().
void oox::shape::ShapeContextHandler::pushStartToken | ( | sal_Int32 | _starttoken | ) |
Definition at line 557 of file ShapeContextHandler.cxx.
References mnStartTokenStack.
void oox::shape::ShapeContextHandler::setDocumentProperties | ( | const css::uno::Reference< css::document::XDocumentProperties > & | xDocProps | ) |
Definition at line 572 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 527 of file ShapeContextHandler.cxx.
References mxDrawPage.
|
inline |
Definition at line 108 of file ShapeContextHandler.hxx.
void oox::shape::ShapeContextHandler::setGraphicMapper | ( | css::uno::Reference< css::graphic::XGraphicMapper > const & | rGraphicMapper | ) |
Definition at line 583 of file ShapeContextHandler.cxx.
References mxShapeFilterBase.
void oox::shape::ShapeContextHandler::setMediaDescriptor | ( | const css::uno::Sequence< css::beans::PropertyValue > & | rMediaDescriptor | ) |
Definition at line 578 of file ShapeContextHandler.cxx.
References maMediaDescriptor.
void oox::shape::ShapeContextHandler::setModel | ( | const css::uno::Reference< css::frame::XModel > & | the_value | ) |
Definition at line 532 of file ShapeContextHandler.cxx.
References mxShapeFilterBase.
void oox::shape::ShapeContextHandler::setPosition | ( | const css::awt::Point & | rPosition | ) |
Definition at line 562 of file ShapeContextHandler.cxx.
References maPosition.
void oox::shape::ShapeContextHandler::setRelationFragmentPath | ( | const OUString & | the_value | ) |
Definition at line 540 of file ShapeContextHandler.cxx.
References msRelationFragmentPath.
void oox::shape::ShapeContextHandler::setSize | ( | const css::awt::Size & | rSize | ) |
Definition at line 567 of file ShapeContextHandler.cxx.
References maSize.
|
inline |
Definition at line 117 of file ShapeContextHandler.hxx.
|
overridevirtual |
Definition at line 258 of file ShapeContextHandler.cxx.
References createFastChildContext(), getContextHandler(), getDrawingShapeContext(), maMediaDescriptor, mpDrawing, mpThemePtr, msRelationFragmentPath, mxShapeFilterBase, and u.
|
overridevirtual |
Definition at line 309 of file ShapeContextHandler.cxx.
References getContextHandler(), getDrawingShapeContext(), mpDrawing, and Name.
|
private |
Definition at line 130 of file ShapeContextHandler.hxx.
Referenced by getWpgContext().
|
private |
Definition at line 146 of file ShapeContextHandler.hxx.
Referenced by setMediaDescriptor(), and startFastElement().
|
private |
Definition at line 128 of file ShapeContextHandler.hxx.
Referenced by getShape(), and setPosition().
|
private |
Definition at line 129 of file ShapeContextHandler.hxx.
Referenced by getDiagramShapeContext(), and setSize().
|
private |
Definition at line 126 of file ShapeContextHandler.hxx.
Referenced by getStartToken(), popStartToken(), and pushStartToken().
|
private |
Definition at line 133 of file ShapeContextHandler.hxx.
Referenced by getDrawingShapeContext(), getShape(), startFastElement(), and startUnknownElement().
|
private |
Definition at line 132 of file ShapeContextHandler.hxx.
Referenced by getChartShapeContext(), getDiagramShapeContext(), getGraphicShapeContext(), and getShape().
|
private |
Definition at line 149 of file ShapeContextHandler.hxx.
Referenced by getShape(), and startFastElement().
|
private |
Definition at line 151 of file ShapeContextHandler.hxx.
Referenced by getChartShapeContext(), getDiagramShapeContext(), getDrawingShapeContext(), getGraphicShapeContext(), getLockedCanvasContext(), getWpgContext(), getWpsContext(), setRelationFragmentPath(), and startFastElement().
|
private |
Definition at line 144 of file ShapeContextHandler.hxx.
Referenced by getChartShapeContext(), and getShape().
|
private |
Definition at line 139 of file ShapeContextHandler.hxx.
Referenced by getDiagramShapeContext(), and getShape().
|
private |
Definition at line 145 of file ShapeContextHandler.hxx.
Referenced by setDocumentProperties().
|
private |
Definition at line 137 of file ShapeContextHandler.hxx.
Referenced by getDrawingShapeContext().
|
private |
Definition at line 150 of file ShapeContextHandler.hxx.
Referenced by getDrawingShapeContext(), getShape(), and setDrawPage().
|
private |
Definition at line 138 of file ShapeContextHandler.hxx.
Referenced by getGraphicShapeContext(), and getShape().
|
private |
Definition at line 140 of file ShapeContextHandler.hxx.
Referenced by getLockedCanvasContext(), and getShape().
|
private |
Definition at line 142 of file ShapeContextHandler.hxx.
Referenced by endFastElement(), getShape(), and getWpsContext().
|
private |
Definition at line 148 of file ShapeContextHandler.hxx.
Referenced by getChartShapeContext(), getDiagramShapeContext(), getDrawingShapeContext(), getGraphicShapeContext(), getLockedCanvasContext(), getShape(), getWpgContext(), getWpsContext(), setDocumentProperties(), setGraphicMapper(), setModel(), and startFastElement().
|
private |
Definition at line 143 of file ShapeContextHandler.hxx.
Referenced by getShape(), and getWpgContext().
|
private |
Definition at line 141 of file ShapeContextHandler.hxx.
Referenced by endFastElement(), getShape(), and getWpsContext().