29#include <com/sun/star/document/XDocumentProperties.hpp>
30#include <com/sun/star/graphic/XGraphicMapper.hpp>
31#include <com/sun/star/drawing/XDrawPage.hpp>
32#include <com/sun/star/frame/XModel.hpp>
34namespace oox::vml {
class DrawingFragment; }
38class LockedCanvasContext;
49 const OUString& rFragmentPath )
56 public ::cppu::WeakImplHelper< css::xml::sax::XFastContextHandler >
64 virtual void SAL_CALL startFastElement
66 const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
override;
68 virtual void SAL_CALL startUnknownElement
69 (
const OUString & Namespace,
70 const OUString &
Name,
71 const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
override;
73 virtual void SAL_CALL endFastElement(::sal_Int32 Element)
override;
75 virtual void SAL_CALL endUnknownElement
76 (
const OUString & Namespace,
77 const OUString &
Name)
override;
79 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL
80 createFastChildContext
82 const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
override;
84 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL
85 createUnknownChildContext
86 (
const OUString & Namespace,
87 const OUString &
Name,
88 const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
override;
90 virtual void SAL_CALL characters(
const OUString & aChars)
override;
92 css::uno::Reference< css::drawing::XShape > getShape();
94 void setDrawPage(
const css::uno::Reference< css::drawing::XDrawPage > & the_value);
96 void setModel(
const css::uno::Reference< css::frame::XModel > & the_value);
98 void setRelationFragmentPath(
const OUString & the_value);
100 sal_Int32 getStartToken()
const;
101 void popStartToken();
102 void pushStartToken( sal_Int32 _starttoken );
104 void setPosition(
const css::awt::Point& rPosition);
105 void setSize(
const css::awt::Size& rSize);
112 void setDocumentProperties(
const css::uno::Reference<css::document::XDocumentProperties>& xDocProps);
113 void setMediaDescriptor(
const css::uno::Sequence<css::beans::PropertyValue>& rMediaDescriptor);
115 void setGraphicMapper(css::uno::Reference<css::graphic::XGraphicMapper>
const & rGraphicMapper);
153 css::uno::Reference<XFastContextHandler>
const & getGraphicShapeContext(::sal_Int32 Element);
154 css::uno::Reference<XFastContextHandler> getChartShapeContext(::sal_Int32 Element);
155 css::uno::Reference<XFastContextHandler> getDrawingShapeContext();
156 css::uno::Reference<XFastContextHandler> getDiagramShapeContext();
157 css::uno::Reference<XFastContextHandler> getLockedCanvasContext(sal_Int32 nElement);
158 css::uno::Reference<XFastContextHandler> getWpsContext(sal_Int32 nStartElement, sal_Int32 nElement);
159 css::uno::Reference<XFastContextHandler> getWpgContext(sal_Int32 nElement);
160 css::uno::Reference<XFastContextHandler> getContextHandler(sal_Int32 nElement = 0);
const oox::drawingml::ThemePtr & getTheme() const
css::uno::Sequence< css::beans::PropertyValue > maMediaDescriptor
css::uno::Reference< XFastContextHandler > mxGraphicShapeContext
rtl::Reference< drawingml::ChartGraphicDataContext > mxChartShapeContext
css::uno::Reference< css::document::XDocumentProperties > mxDocumentProperties
::rtl::Reference< ShapeFilterBase > mxShapeFilterBase
std::shared_ptr< vml::Drawing > mpDrawing
rtl::Reference< drawingml::GraphicShapeContext > GraphicShapeContextPtr
drawingml::ThemePtr mpThemePtr
const bool & getFullWPGSupport()
ShapeContextHandler(ShapeContextHandler const &)=delete
drawingml::ShapePtr mpShape
css::uno::Reference< css::drawing::XShape > mxSavedShape
OUString msRelationFragmentPath
void setTheme(const oox::drawingml::ThemePtr &pTheme)
rtl::Reference< vml::DrawingFragment > mxDrawingFragmentHandler
css::awt::Point maPosition
css::uno::Reference< css::drawing::XDrawPage > mxDrawPage
rtl::Reference< LockedCanvasContext > mxLockedCanvasContext
std::stack< sal_uInt32 > mnStartTokenStack
rtl::Reference< WpsContext > mxWpsContext
rtl::Reference< WpgContext > mxWpgContext
bool isWordProcessingGroupShape() const
void setFullWPGSupport(bool bUse)
rtl::Reference< drawingml::DiagramGraphicDataContext > mxDiagramShapeContext
ShapeFragmentHandler(core::XmlFilterBase &rFilter, const OUString &rFragmentPath)
rtl::Reference< ShapeFragmentHandler > Pointer_t
std::shared_ptr< Shape > ShapePtr
std::shared_ptr< Theme > ThemePtr