LibreOffice Module oox (master)  1
Public Member Functions | Private Member Functions | List of all members
oox::vml::RectangleShape Class Referencefinal

A rectangular shape object. More...

#include <vmlshape.hxx>

Inheritance diagram for oox::vml::RectangleShape:
[legend]
Collaboration diagram for oox::vml::RectangleShape:
[legend]

Public Member Functions

 RectangleShape (Drawing &rDrawing)
 
- Public Member Functions inherited from oox::vml::SimpleShape
 SimpleShape (Drawing &rDrawing, const OUString &rService)
 
void setService (const OUString &aService)
 
- Public Member Functions inherited from oox::vml::ShapeBase
ShapeModelgetShapeModel ()
 Returns read/write access to the shape model structure. More...
 
const ShapeModelgetShapeModel () const
 Returns read access to the shape model structure. More...
 
const TextBoxgetTextBox () const
 Returns read access to the shape textbox. More...
 
const ClientDatagetClientData () 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 ShapeTypegetChildTypeById (const OUString &rShapeId) const
 Returns the shape template with the passed identifier from the child shapes. More...
 
virtual const ShapeBasegetChildById (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)
 
ShapeContainergetContainer () const
 
- Public Member Functions inherited from oox::vml::ShapeType
 ShapeType (Drawing &rDrawing)
 
virtual ~ShapeType ()
 
ShapeTypeModelgetTypeModel ()
 Returns read/write access to the shape template model structure. More...
 
const ShapeTypeModelgetTypeModel () 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 DrawinggetDrawing () 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...
 

Additional Inherited Members

- Protected Member Functions inherited from oox::vml::SimpleShape
virtual css::uno::Reference< css::drawing::XShape > finalImplConvertAndInsert (const css::uno::Reference< css::drawing::XShape > &rxShape) const override
 Always called after implConvertAndInsert for the same task. More...
 
css::uno::Reference< css::drawing::XShape > createEmbeddedPictureObject (const css::uno::Reference< css::drawing::XShapes > &rxShapes, const css::awt::Rectangle &rShapeRect, OUString const &rGraphicPath) const
 Used by both RectangleShape and ComplexShape. More...
 
css::uno::Reference< css::drawing::XShape > createPictureObject (const css::uno::Reference< css::drawing::XShapes > &rxShapes, const css::awt::Rectangle &rShapeRect, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic) const
 
- Protected Member Functions inherited from oox::vml::ShapeBase
 ShapeBase (Drawing &rDrawing)
 
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...
 
ShapeContainermpContainer = nullptr
 
- Protected Attributes inherited from oox::vml::ShapeType
DrawingmrDrawing
 The VML drawing page that contains this shape. More...
 
ShapeTypeModel maTypeModel
 The model structure containing shape type data. More...
 

Detailed Description

A rectangular shape object.

Definition at line 333 of file vmlshape.hxx.

Constructor & Destructor Documentation

oox::vml::RectangleShape::RectangleShape ( Drawing rDrawing)
explicit

Definition at line 988 of file vmlshape.cxx.

Member Function Documentation

Reference< XShape > oox::vml::RectangleShape::implConvertAndInsert ( const css::uno::Reference< css::drawing::XShapes > &  rxShapes,
const css::awt::Rectangle &  rShapeRect 
) const
overrideprivatevirtual

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