LibreOffice Module sc (master) 1
|
#include <userdat.hxx>
Public Types | |
enum | Type { CellNote , ValidationCircle , DetectiveArrow , DrawingObject } |
Public Member Functions | |
ScDrawObjData () | |
const tools::Rectangle & | getShapeRect () const |
const tools::Rectangle & | getLastCellRect () 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 () |
virtual std::unique_ptr< SdrObjUserData > | Clone (SdrObject *pObj1) const=0 |
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< SdrObjUserData > | Clone (SdrObject *pObj) const override |
Private Attributes | |
tools::Rectangle | maLastCellRect |
tools::Rectangle | maShapeRect |
Definition at line 31 of file userdat.hxx.
enum ScDrawObjData::Type |
Enumerator | |
---|---|
CellNote | |
ValidationCircle | |
DetectiveArrow | |
DrawingObject |
Definition at line 34 of file userdat.hxx.
|
explicit |
Definition at line 23 of file userdat.cxx.
References maEnd, maStart, meType, and ScOrSwDraw.
Referenced by Clone().
|
overrideprivatevirtual |
|
inline |
Definition at line 47 of file userdat.hxx.
Referenced by ScDrawLayer::ResizeLastRectFromAnchor().
|
inline |
Definition at line 46 of file userdat.hxx.
Referenced by ScDrawLayer::InitializeCellAnchoredObj(), and ScDrawLayer::RecalcPos().
|
inline |
Definition at line 48 of file userdat.hxx.
References ScDrawLayer::GetCellRect(), and maStart.
Referenced by ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::MirrorRTL(), ScDrawLayer::MoveRTL(), ScDrawLayer::RecalcPos(), and ScDrawLayer::ResizeLastRectFromAnchor().
ScAddress ScDrawObjData::maEnd |
Definition at line 37 of file userdat.hxx.
Referenced by ScDetectiveFunc::FindFrameForObject(), XMLTableShapeImportHelper::finishShape(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::MoveCells(), ScDrawLayer::MoveObject(), ScDrawLayer::RecalcPos(), ScDrawLayer::ResizeLastRectFromAnchor(), ScDrawLayer::ScCopyPage(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetNonRotatedAnchor(), ScDrawLayer::UpdateCellAnchorFromPositionEnd(), and ScXMLExport::WriteShapes().
Point ScDrawObjData::maEndOffset |
Definition at line 39 of file userdat.hxx.
Referenced by XMLTableShapeImportHelper::finishShape(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::MirrorRTL(), ScDrawLayer::ResizeLastRectFromAnchor(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetNonRotatedAnchor(), ScDrawLayer::UpdateCellAnchorFromPositionEnd(), and ScXMLExport::WriteShapes().
|
private |
Definition at line 63 of file userdat.hxx.
|
private |
Definition at line 65 of file userdat.hxx.
ScAddress ScDrawObjData::maStart |
Definition at line 36 of file userdat.hxx.
Referenced by ScDrawView::calculateGridOffsetForB2DRange(), ScDrawView::calculateGridOffsetForSdrObject(), ScDrawLayer::CopyToClip(), ScDrawView::DeleteMarked(), ScDrawLayer::DeleteObjectsInSelection(), ScDetectiveFunc::FindFrameForObject(), XMLTableShapeImportHelper::finishShape(), ScDrawView::FitToCellSize(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::GetObjectsAnchoredToCols(), ScDrawLayer::GetObjectsAnchoredToRange(), ScDrawLayer::GetObjectsAnchoredToRows(), ScShapeObj::getParent(), ScDrawLayer::HasObjectsAnchoredInRange(), ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::MoveCells(), ScDrawLayer::MoveObject(), ScDrawLayer::RecalcPos(), ScDrawLayer::ResizeLastRectFromAnchor(), ScDrawLayer::ScCopyPage(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetNonRotatedAnchor(), ScShapeObj::setPropertyValue(), ScDrawView::SyncForGrid(), and ScXMLExport::WriteShapes().
Point ScDrawObjData::maStartOffset |
Definition at line 38 of file userdat.hxx.
Referenced by ScDrawLayer::CopyFromClip(), XMLTableShapeImportHelper::finishShape(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::MirrorRTL(), ScDrawLayer::ResizeLastRectFromAnchor(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetNonRotatedAnchor(), ScShapeObj::setPropertyValue(), and ScXMLExport::WriteShapes().
bool ScDrawObjData::mbResizeWithCell = false |
Definition at line 41 of file userdat.hxx.
Referenced by XMLTableShapeImportHelper::finishShape(), ScDrawLayer::GetAnchorType(), ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::IsResizeWithCell(), ScDrawLayer::MirrorRTL(), ScDrawLayer::RecalcPos(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetCellAnchoredFromPosition(), ScDrawLayer::SetNonRotatedAnchor(), ScShapeObj::setPropertyValue(), and ScXMLExport::WriteShapes().
bool ScDrawObjData::mbWasInHiddenRow = false |
Definition at line 42 of file userdat.hxx.
Referenced by ScDrawLayer::ResizeLastRectFromAnchor().
Type ScDrawObjData::meType |
Definition at line 40 of file userdat.hxx.
Referenced by ScDrawLayer::DeleteObjectsInArea(), ScDrawLayer::InitializeCellAnchoredObj(), and ScDrawLayer::RecalcPos().