70 virtual void Undo()
override;
71 virtual void Redo()
override;
85 virtual void Undo()
override;
86 virtual void Redo()
override;
109 SCCOL nDx,
SCROW nDy,
bool bUpdateNoteCaptionPos );
111 void ResizeLastRectFromAnchor(
const SdrObject* pObj,
ScDrawObjData& rData,
bool bNegativePage,
bool bCanResize );
119 virtual void SetChanged(
bool bFlg =
true )
override;
121 void CreateDefaultStyles();
122 bool HasObjects()
const;
124 bool ScAddPage(
SCTAB nTab );
125 void ScRemovePage(
SCTAB nTab );
126 void ScRenamePage(
SCTAB nTab,
const OUString& rNewName );
127 void ScMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos );
128 void ScCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos );
133 void UseHyphenator();
135 bool GetPrintArea(
ScRange& rRange,
bool bSetHor,
bool bSetVer )
const;
141 void BeginCalcUndo(
bool bDisableTextEditUsesCommonUndoManager);
142 std::unique_ptr<SdrUndoGroup> GetCalcUndo();
144 void AddCalcUndo( std::unique_ptr<SdrUndoAction> pUndo );
147 SCCOL nDx,
SCROW nDy,
bool bInsDel,
bool bUpdateNoteCaptionPos );
154 SCCOL nCol2,
SCROW nRow2,
bool bAnchored =
false );
155 void DeleteObjectsInSelection(
const ScMarkData& rMark );
161 bool bTransposing =
false);
163 void SetPageSize(sal_uInt16 nPageNo,
const Size& rSize,
bool bUpdateNoteCaptionPos,
177 static OUString GetVisibleName(
const SdrObject* pObj );
182 OUString GetNewGraphicName(
tools::Long* pnCounter =
nullptr )
const;
183 void EnsureGraphicNames();
185 static bool IsCellAnchored(
const SdrObject& rObj );
186 static bool IsResizeWithCell(
const SdrObject& rObj );
187 static void SetPageAnchored(
SdrObject& );
192 static void GetCellAnchorFromPosition(
197 bool bHiddenAsZero =
true);
199 static void SetCellAnchoredFromPosition(
SdrObject &rObj,
const ScDocument &rDoc,
SCTAB nTab,
bool bResizeWithCell );
202 std::vector<SdrObject*> GetObjectsAnchoredToRows(
SCTAB nTab,
SCROW nStartRow,
SCROW nEndRow);
203 std::map<SCROW, std::vector<SdrObject*>> GetObjectsAnchoredToRange(
SCTAB nTab,
SCCOL nCol,
SCROW nStartRow,
SCROW nEndRow);
204 bool HasObjectsAnchoredInRange(
const ScRange& rRange);
205 std::vector<SdrObject*> GetObjectsAnchoredToCols(
SCTAB nTab,
SCCOL nStartCol,
SCCOL nEndCol);
218 static bool IsNoteCaption(
SdrObject* pObj );
230 virtual css::uno::Reference< css::uno::XInterface >
createUnoModel()
override;
static SfxObjectShell * pGlobalDrawPersist
void EnableAdjust(bool bSet)
ScDocument * GetDocument() const
std::unique_ptr< SdrUndoGroup > pUndoGroup
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
ScTabDeletedHint(SCTAB nTabNo)
virtual ~ScTabDeletedHint() override
virtual ~ScTabSizeChangedHint() override
ScTabSizeChangedHint(SCTAB nTabNo)
virtual void Redo() override
virtual ~ScUndoAnchorData() override
virtual void Undo() override
ScUndoAnchorData(SdrObject *pObj, ScDocument *pDoc, SCTAB nTab)
virtual ~ScUndoObjData() override
virtual void Redo() override
virtual void Undo() override
ScUndoObjData(SdrObject *pObj, const ScAddress &rOS, const ScAddress &rOE, const ScAddress &rNS, const ScAddress &rNE)
virtual void SetChanged(bool bFlg=true)
virtual css::uno::Reference< css::uno::XInterface > createUnoModel()
virtual SdrModel * AllocModel() const