|
LibreOffice Module oox (master) 1
|
A group shape that extends the basic shape by a container of child shapes. More...
#include <vmlshape.hxx>
Public Member Functions | |
| GroupShape (Drawing &rDrawing) | |
| virtual | ~GroupShape () override |
| ShapeContainer & | getChildren () |
| Returns read/write access to the container of child shapes and templates. More... | |
| const ShapeContainer & | getChildren () const |
| Returns read access to the container of child shapes and templates. More... | |
| virtual void | finalizeFragmentImport () override |
| Final processing after import of the drawing fragment. More... | |
| virtual const ShapeType * | getChildTypeById (const OUString &rShapeId) const override |
| Returns the shape template with the passed identifier from the child shapes. More... | |
| virtual const ShapeBase * | getChildById (const OUString &rShapeId) const override |
| Returns the shape with the passed identifier from the child shapes. More... | |
Public Member Functions inherited from oox::vml::ShapeBase | |
| ShapeModel & | getShapeModel () |
| Returns read/write access to the shape model structure. More... | |
| const ShapeModel & | getShapeModel () const |
| Returns read access to the shape model structure. More... | |
| const TextBox * | getTextBox () const |
| Returns read access to the shape textbox. More... | |
| const ClientData * | getClientData () const |
| Returns read access to the shape client data structure. More... | |
| virtual void | finalizeFragmentImport () |
| Final processing after import of the drawing fragment. More... | |
| OUString | getShapeName () const |
| Returns the real shape name if existing, or a generated shape name. More... | |
| virtual const ShapeType * | getChildTypeById (const OUString &rShapeId) const |
| Returns the shape template with the passed identifier from the child shapes. More... | |
| virtual const ShapeBase * | getChildById (const OUString &rShapeId) const |
| Returns the shape with the passed identifier from the child shapes. More... | |
| css::uno::Reference< css::drawing::XShape > | convertAndInsert (const css::uno::Reference< css::drawing::XShapes > &rxShapes, const ShapeParentAnchor *pParentAnchor=nullptr) const |
| Creates the corresponding XShape and inserts it into the passed container. More... | |
| void | convertFormatting (const css::uno::Reference< css::drawing::XShape > &rxShape) const |
| Converts position and formatting into the passed existing XShape. More... | |
| void | setContainer (ShapeContainer *pContainer) |
| ShapeContainer * | getContainer () const |
Public Member Functions inherited from oox::vml::ShapeType | |
| ShapeType (Drawing &rDrawing) | |
| virtual | ~ShapeType () |
| ShapeTypeModel & | getTypeModel () |
| Returns read/write access to the shape template model structure. More... | |
| const ShapeTypeModel & | getTypeModel () const |
| Returns read access to the shape template model structure. More... | |
| const OUString & | getShapeId () const |
| Returns the shape identifier (which is unique through the containing drawing). More... | |
| sal_Int32 | getShapeType () const |
| Returns the application defined shape type. More... | |
| OUString | getGraphicPath () const |
| Returns the fragment path to the embedded graphic used by this shape. More... | |
| const Drawing & | getDrawing () const |
Private Member Functions | |
| virtual css::uno::Reference< css::drawing::XShape > | implConvertAndInsert (const css::uno::Reference< css::drawing::XShapes > &rxShapes, const css::awt::Rectangle &rShapeRect) const override |
| Creates the corresponding XShape and inserts it into the passed container. More... | |
Private Attributes | |
| std::unique_ptr< ShapeContainer > | mxChildren |
| Shapes and templates that are part of this group. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from oox::vml::ShapeBase | |
| ShapeBase (Drawing &rDrawing) | |
| virtual css::uno::Reference< css::drawing::XShape > | implConvertAndInsert (const css::uno::Reference< css::drawing::XShapes > &rxShapes, const css::awt::Rectangle &rShapeRect) const =0 |
| Derived classes create the corresponding XShape and insert it into the passed container. More... | |
| virtual css::uno::Reference< css::drawing::XShape > | finalImplConvertAndInsert (const css::uno::Reference< css::drawing::XShape > &rxShape) const |
| Always called after implConvertAndInsert for the same task. More... | |
| css::awt::Rectangle | calcShapeRectangle (const ShapeParentAnchor *pParentAnchor) const |
| Calculates the final shape rectangle according to the passed anchor, if present, otherwise according to the own anchor settings. More... | |
| void | convertShapeProperties (const css::uno::Reference< css::drawing::XShape > &rxShape) const |
| Converts common shape properties such as formatting attributes. More... | |
Protected Member Functions inherited from oox::vml::ShapeType | |
| css::awt::Rectangle | getCoordSystem () const |
| Returns the coordinate system of this shape. More... | |
| css::awt::Rectangle | getRectangle (const ShapeParentAnchor *pParentAnchor) const |
| Returns the absolute shape rectangle according to the passed anchor. More... | |
| virtual css::awt::Rectangle | getAbsRectangle () const |
| Returns the absolute shape rectangle. More... | |
| virtual css::awt::Rectangle | getRelRectangle () const |
| Returns the rectangle relative to the parent coordinate system. More... | |
Protected Attributes inherited from oox::vml::ShapeBase | |
| ShapeModel | maShapeModel |
| The model structure containing shape data. More... | |
| ShapeContainer * | mpContainer = nullptr |
Protected Attributes inherited from oox::vml::ShapeType | |
| Drawing & | mrDrawing |
| The VML drawing page that contains this shape. More... | |
| ShapeTypeModel | maTypeModel |
| The model structure containing shape type data. More... | |
A group shape that extends the basic shape by a container of child shapes.
Definition at line 441 of file vmlshape.hxx.
|
explicit |
Definition at line 1504 of file vmlshape.cxx.
|
overridevirtual |
Definition at line 1510 of file vmlshape.cxx.
|
overridevirtual |
Final processing after import of the drawing fragment.
Reimplemented from oox::vml::ShapeBase.
Definition at line 1514 of file vmlshape.cxx.
References oox::vml::ShapeBase::finalizeFragmentImport(), and mxChildren.
|
overridevirtual |
Returns the shape with the passed identifier from the child shapes.
Reimplemented from oox::vml::ShapeBase.
Definition at line 1527 of file vmlshape.cxx.
References mxChildren.
|
inline |
Returns read/write access to the container of child shapes and templates.
Definition at line 448 of file vmlshape.hxx.
References mxChildren.
|
inline |
Returns read access to the container of child shapes and templates.
Definition at line 450 of file vmlshape.hxx.
References mxChildren.
|
overridevirtual |
Returns the shape template with the passed identifier from the child shapes.
Reimplemented from oox::vml::ShapeBase.
Definition at line 1522 of file vmlshape.cxx.
References mxChildren.
|
overrideprivatevirtual |
Creates the corresponding XShape and inserts it into the passed container.
Implements oox::vml::ShapeBase.
Definition at line 1532 of file vmlshape.cxx.
References Any, oox::vml::Drawing::createAndInsertXShape(), oox::vml::ConversionHelper::decodeRotation(), Exception, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), oox::vml::ShapeType::getCoordSystem(), oox::vml::Drawing::getFilter(), oox::core::FilterBase::getGraphicHelper(), oox::vml::lcl_SetAnchorType(), oox::vml::ShapeParentAnchor::maCoordSys, oox::vml::ShapeTypeModel::maEditAs, comphelper::makePropertyValue(), oox::vml::ShapeTypeModel::maRotation, oox::vml::ShapeParentAnchor::maShapeRect, oox::vml::ShapeType::maTypeModel, oox::vml::ShapeType::mrDrawing, mxChildren, nLength, PROP_RotateAngle, SAL_WARN, and oox::PropertySet::setAnyProperty().
|
private |
Shapes and templates that are part of this group.
Definition at line 468 of file vmlshape.hxx.
Referenced by finalizeFragmentImport(), getChildById(), getChildren(), getChildTypeById(), and implConvertAndInsert().