LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ScDrawObjData Class Referencefinal

#include <userdat.hxx>

Inheritance diagram for ScDrawObjData:
Collaboration diagram for ScDrawObjData:

Public Types

enum  Type {

Public Member Functions

 ScDrawObjData ()
const tools::RectanglegetShapeRect () const
const tools::RectanglegetLastCellRect () const
void setShapeRect (const ScDocument *rDoc, tools::Rectangle rNewRect, bool bIsVisible=true)
- Public Member Functions inherited from SdrObjUserData
 SdrObjUserData (SdrInventor nInv, sal_uInt16 nId)
 SdrObjUserData (const SdrObjUserData &rData)
virtual ~SdrObjUserData ()
SdrInventor GetInventor () const
sal_uInt16 GetId () const

Public Attributes

ScAddress maStart
ScAddress maEnd
Point maStartOffset
Point maEndOffset
Type meType
bool mbResizeWithCell = false
bool mbWasInHiddenRow = false

Private Member Functions

virtual std::unique_ptr< SdrObjUserDataClone (SdrObject *pObj) const override

Private Attributes

tools::Rectangle maLastCellRect
tools::Rectangle maShapeRect

Detailed Description

Definition at line 31 of file userdat.hxx.

Member Enumeration Documentation


Definition at line 34 of file userdat.hxx.

Constructor & Destructor Documentation

ScDrawObjData::ScDrawObjData ( )

Definition at line 23 of file userdat.cxx.

References false, maEnd, maStart, meType, and ScOrSwDraw.

Referenced by Clone().

Member Function Documentation

std::unique_ptr< SdrObjUserData > ScDrawObjData::Clone ( SdrObject pObj) const

Implements SdrObjUserData.

Definition at line 32 of file userdat.cxx.

References ScDrawObjData().

const tools::Rectangle& ScDrawObjData::getLastCellRect ( ) const

Definition at line 47 of file userdat.hxx.

Referenced by ScDrawLayer::ResizeLastRectFromAnchor().

const tools::Rectangle& ScDrawObjData::getShapeRect ( ) const
void ScDrawObjData::setShapeRect ( const ScDocument rDoc,
tools::Rectangle  rNewRect,
bool  bIsVisible = true 

Member Data Documentation

ScAddress ScDrawObjData::maEnd
Point ScDrawObjData::maEndOffset
tools::Rectangle ScDrawObjData::maLastCellRect

Definition at line 63 of file userdat.hxx.

tools::Rectangle ScDrawObjData::maShapeRect

Definition at line 65 of file userdat.hxx.

ScAddress ScDrawObjData::maStart
Point ScDrawObjData::maStartOffset
bool ScDrawObjData::mbResizeWithCell = false
bool ScDrawObjData::mbWasInHiddenRow = false

Definition at line 42 of file userdat.hxx.

Referenced by ScDrawLayer::ResizeLastRectFromAnchor().

Type ScDrawObjData::meType

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