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) |
![]() | |
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< SdrObjUserData > | Clone (SdrObject *pObj) const override |
Private Attributes | |
tools::Rectangle | maLastCellRect |
tools::Rectangle | maShapeRect |
Definition at line 32 of file userdat.hxx.
enum ScDrawObjData::Type |
Enumerator | |
---|---|
CellNote | |
ValidationCircle | |
DetectiveArrow | |
DrawingObject |
Definition at line 35 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 48 of file userdat.hxx.
Referenced by ScDrawLayer::ResizeLastRectFromAnchor().
|
inline |
Definition at line 47 of file userdat.hxx.
Referenced by ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::RecalcPos(), and ScXMLExport::WriteShapes().
|
inline |
Definition at line 49 of file userdat.hxx.
References ScDrawLayer::GetCellRect(), and ScAddress::IsValid().
Referenced by ScDrawLayer::InitializeCellAnchoredObj(), ScDrawLayer::MirrorRTL(), ScDrawLayer::MoveRTL(), ScDrawLayer::RecalcPos(), and ScDrawLayer::ResizeLastRectFromAnchor().
ScAddress ScDrawObjData::maEnd |
Definition at line 38 of file userdat.hxx.
Referenced by ScDetectiveFunc::DrawCircle(), ScDetectiveFunc::FindFrameForObject(), XMLTableShapeImportHelper::finishShape(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::GetObjDataTab(), ScDrawLayer::InitializeCellAnchoredObj(), ScDetectiveFunc::InsertArrow(), ScDetectiveFunc::InsertToOtherTab(), ScDrawLayer::MoveCells(), ScDrawLayer::MoveObject(), ScDrawLayer::RecalcPos(), ScUndoObjData::Redo(), ScDrawLayer::ResetTab(), ScDrawLayer::ResizeLastRectFromAnchor(), ScDrawLayer::ScCopyPage(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetNonRotatedAnchor(), ScUndoObjData::Undo(), ScDrawLayer::UpdateCellAnchorFromPositionEnd(), and ScXMLExport::WriteShapes().
Point ScDrawObjData::maEndOffset |
Definition at line 40 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 64 of file userdat.hxx.
|
private |
Definition at line 66 of file userdat.hxx.
ScAddress ScDrawObjData::maStart |
Definition at line 37 of file userdat.hxx.
Referenced by ScDrawView::calculateGridOffsetForB2DRange(), ScDrawView::calculateGridOffsetForSdrObject(), ScDrawLayer::CopyFromClip(), ScDrawLayer::CopyToClip(), ScDrawView::DeleteMarked(), ScDrawLayer::DeleteObjectsInSelection(), ScDetectiveFunc::DrawCircle(), ScDetectiveFunc::FindFrameForObject(), XMLTableShapeImportHelper::finishShape(), ScDrawView::FitToCellSize(), ScDrawLayer::GetCellAnchorFromPosition(), ScDrawLayer::GetObjDataTab(), ScDrawLayer::GetObjectsAnchoredToCols(), ScDrawLayer::GetObjectsAnchoredToRange(), ScDrawLayer::GetObjectsAnchoredToRows(), ScShapeObj::getParent(), ScDrawLayer::HasObjectsAnchoredInRange(), ScDrawLayer::InitializeCellAnchoredObj(), ScDetectiveFunc::InsertArrow(), ScDetectiveFunc::InsertToOtherTab(), ScDrawLayer::MirrorRTL(), ScDrawLayer::MoveCells(), ScDrawLayer::MoveObject(), ScDrawLayer::RecalcPos(), ScUndoObjData::Redo(), ScDrawLayer::ResetTab(), ScDrawLayer::ResizeLastRectFromAnchor(), ScDrawLayer::ScCopyPage(), ScDrawLayer::SetCellAnchored(), ScTable::SetColHidden(), ScDrawLayer::SetNonRotatedAnchor(), ScShapeObj::setPropertyValue(), ScTable::SetRowHidden(), ScDrawView::SyncForGrid(), ScUndoObjData::Undo(), and ScXMLExport::WriteShapes().
Point ScDrawObjData::maStartOffset |
Definition at line 39 of file userdat.hxx.
Referenced by 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 42 of file userdat.hxx.
Referenced by XMLTableShapeImportHelper::finishShape(), ScDrawLayer::GetAnchorType(), ScDrawLayer::IsResizeWithCell(), ScDrawLayer::MirrorRTL(), ScDrawLayer::RecalcPos(), ScDrawLayer::SetCellAnchored(), ScDrawLayer::SetCellAnchoredFromPosition(), ScDrawLayer::SetNonRotatedAnchor(), and ScShapeObj::setPropertyValue().
bool ScDrawObjData::mbWasInHiddenRow = false |
Definition at line 43 of file userdat.hxx.
Referenced by ScDrawLayer::ResizeLastRectFromAnchor().
Type ScDrawObjData::meType |
Definition at line 41 of file userdat.hxx.
Referenced by ScDrawLayer::DeleteObjectsInArea(), ScDetectiveFunc::DrawCircle(), ScDrawLayer::GetNoteCaptionData(), ScDrawLayer::InitializeCellAnchoredObj(), ScDetectiveFunc::InsertArrow(), ScDrawLayer::IsNoteCaption(), ScDrawLayer::RecalcPos(), and ScDrawLayer::SetPageSize().