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

#include <userdat.hxx>

Inheritance diagram for ScDrawObjData:
[legend]
Collaboration diagram for ScDrawObjData:
[legend]

Public Types

enum  Type {
  CellNote,
  ValidationCircle,
  DetectiveArrow,
  DrawingObject
}
 

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 33 of file userdat.hxx.

Member Enumeration Documentation

Enumerator
CellNote 
ValidationCircle 
DetectiveArrow 
DrawingObject 

Definition at line 36 of file userdat.hxx.

Constructor & Destructor Documentation

ScDrawObjData::ScDrawObjData ( )
explicit

Definition at line 23 of file userdat.cxx.

References maEnd, maStart, meType, and ScOrSwDraw.

Referenced by Clone().

Member Function Documentation

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

Implements SdrObjUserData.

Definition at line 32 of file userdat.cxx.

References ScDrawObjData().

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

Definition at line 49 of file userdat.hxx.

Referenced by ScDrawLayer::ResizeLastRectFromAnchor().

const tools::Rectangle& ScDrawObjData::getShapeRect ( ) const
inline

Definition at line 48 of file userdat.hxx.

Referenced by ScDrawLayer::InitializeCellAnchoredObj(), and ScDrawLayer::RecalcPos().

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

Member Data Documentation

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

Definition at line 65 of file userdat.hxx.

tools::Rectangle ScDrawObjData::maShapeRect
private

Definition at line 67 of file userdat.hxx.

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

Definition at line 44 of file userdat.hxx.

Referenced by ScDrawLayer::ResizeLastRectFromAnchor().

Type ScDrawObjData::meType

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