46 const css::uno::Reference< css::drawing::XShape >& rxShape );
49 virtual void attachMacro(
const OUString& rMacroUrl )
override;
52 css::uno::Reference< css::drawing::XShape >
mxShape;
61 const char* pcServiceName );
66 const css::uno::Reference< css::drawing::XShapes >& rxShapes )
override;
76 const ::oox::core::FragmentHandler2& rParent,
78 const ::oox::drawingml::ShapePtr& rxParentShape,
79 const ::oox::drawingml::ShapePtr& rxShape );
81 static ::oox::core::ContextHandlerRef
87 const ::oox::drawingml::ShapePtr& rxParentShape,
91 virtual ::oox::core::ContextHandlerRef
94 const ::oox::AttributeList& rAttribs )
override;
103 const OUString& rFragmentPath );
107 virtual void onCharacters(
const OUString& rChars )
override;
112 css::uno::Reference< css::drawing::XShapes >
128 const css::uno::Reference< css::container::XIndexContainer >& rxCtrlFormIC,
129 sal_Int32 nCtrlIndex, sal_Int32 nCtrlType, sal_Int32 nDropStyle );
132 virtual void attachMacro(
const OUString& rMacroUrl )
override;
150 virtual bool isShapeSupported( const ::oox::vml::ShapeBase& rShape )
const override;
153 virtual OUString
getShapeBaseName( const ::oox::vml::ShapeBase& rShape )
const override;
157 css::awt::Rectangle& orShapeRect,
158 const OUString& rShapeAnchor )
const override;
161 virtual css::uno::Reference< css::drawing::XShape >
163 const ::oox::vml::ShapeBase& rShape,
164 const css::uno::Reference< css::drawing::XShapes >& rxShapes,
165 const css::awt::Rectangle& rShapeRect )
const override;
169 const css::uno::Reference< css::drawing::XShape >& rxShape,
170 const css::awt::Rectangle& rShapeRect,
171 const ::oox::vml::ShapeBase& rShape,
bool bGroupChild )
override;
179 const ::oox::vml::TextFontModel& rFontModel )
const;
184 const ::oox::vml::TextBox* pTextBox, sal_Int32 nTextHAlign )
const;
188 const ::oox::vml::ShapeBase& rShape )
const;
200 const OUString& rFragmentPath );
Fragment handler for a complete sheet drawing.
ShapeAnchorRef mxAnchor
Current top-level shape.
::oox::drawingml::ShapePtr mxShape
Drawing page of this sheet.
void applyFontRefColor(const oox::drawingml::ShapePtr &pShape, const oox::drawingml::Color &rFontRefColor)
Current anchor of top-level shape.
virtual void onEndElement() override
virtual void onCharacters(const OUString &rChars) override
css::uno::Reference< css::drawing::XShapes > mxDrawPage
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
DrawingFragment(const WorksheetHelper &rHelper, const OUString &rFragmentPath)
::std::unique_ptr< ShapeAnchor > ShapeAnchorRef
Context handler for creation of shapes embedded in group shapes.
GroupShapeContext(const ::oox::core::FragmentHandler2 &rParent, const WorksheetHelper &rHelper, const ::oox::drawingml::ShapePtr &rxParentShape, const ::oox::drawingml::ShapePtr &rxShape)
::oox::core::ContextHandlerRef createShapeContext(::oox::core::FragmentHandler2 &rParent, const WorksheetHelper &rHelper, sal_Int32 nElement, const AttributeList &rAttribs, const ::oox::drawingml::ShapePtr &rxParentShape, ::oox::drawingml::ShapePtr *pxShape=nullptr)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const ::oox::AttributeList &rAttribs) override
css::uno::Reference< css::drawing::XShape > mxShape
virtual void attachMacro(const OUString &rMacroUrl) override
ShapeMacroAttacher(const OUString &rMacroName, const css::uno::Reference< css::drawing::XShape > &rxShape)
virtual void finalizeXShape(::oox::core::XmlFilterBase &rFilter, const css::uno::Reference< css::drawing::XShapes > &rxShapes) override
Shape(const WorksheetHelper &rHelper, const AttributeList &rAttribs, const char *pcServiceName)
virtual void attachMacro(const OUString &rMacroUrl) override
VmlControlMacroAttacher(const OUString &rMacroName, const css::uno::Reference< css::container::XIndexContainer > &rxCtrlFormIC, sal_Int32 nCtrlIndex, sal_Int32 nCtrlType, sal_Int32 nDropStyle)
css::uno::Reference< css::container::XIndexContainer > mxCtrlFormIC
virtual void finalizeImport() override
VmlDrawingFragment(const WorksheetHelper &rHelper, const OUString &rFragmentPath)
virtual bool isShapeSupported(const ::oox::vml::ShapeBase &rShape) const override
Filters cell note shapes.
VmlDrawing(const WorksheetHelper &rHelper)
void convertControlText(::oox::ole::AxFontData &rAxFontData, sal_uInt32 &rnOleTextColor, OUString &rCaption, const ::oox::vml::TextBox *pTextBox, sal_Int32 nTextHAlign) const
Converts the caption, the font settings, and the horizontal alignment from the passed VML textbox to ...
virtual bool convertClientAnchor(css::awt::Rectangle &orShapeRect, const OUString &rShapeAnchor) const override
Calculates the shape rectangle from a cell anchor string.
void convertControlBackground(::oox::ole::AxMorphDataModelBase &rAxModel, const ::oox::vml::ShapeBase &rShape) const
Converts the passed VML shape background formatting to ActiveX control formatting.
virtual OUString getShapeBaseName(const ::oox::vml::ShapeBase &rShape) const override
Returns additional base names for automatic shape name creation.
const ::oox::vml::ShapeBase * getNoteShape(const ScAddress &rPos) const
Returns the drawing shape for a cell note at the specified position.
void convertControlFontData(::oox::ole::AxFontData &rAxFontData, sal_uInt32 &rnOleTextColor, const ::oox::vml::TextFontModel &rFontModel) const
Converts the passed VML textbox font to an ActiveX form control font.
::oox::vml::TextFontModel maListBoxFont
virtual void notifyXShapeInserted(const css::uno::Reference< css::drawing::XShape > &rxShape, const css::awt::Rectangle &rShapeRect, const ::oox::vml::ShapeBase &rShape, bool bGroupChild) override
Updates the bounding box covering all shapes of this drawing.
virtual css::uno::Reference< css::drawing::XShape > createAndInsertClientXShape(const ::oox::vml::ShapeBase &rShape, const css::uno::Reference< css::drawing::XShapes > &rxShapes, const css::awt::Rectangle &rShapeRect) const override
Creates a UNO control shape for legacy drawing controls.
::oox::ole::ControlConverter maControlConv
sal_uInt32 convertControlTextColor(std::u16string_view aTextColor) const
Converts the passed VML textbox text color to an OLE color.
Fragment handler derived from the WorksheetHelper helper class.
std::shared_ptr< Shape > ShapePtr