43 if(
mxCell.is() && pObjRef )
53 pObj->RemoveObjectUser( *
this );
103 mxCell->mpProperties.reset();
108 mxCell->RemoveOutlinerParaObject();
121 pObj->ActionChanged();
122 pObj->NbcReformatText();
131 if(
mxCell->mpProperties )
134 if(
mxCell->GetOutlinerParaObject() )
153 for(
auto& rpRow : rRows )
159:
SdrUndoAction(xTable->getSdrTableObj()->getSdrModelFromSdrObject())
199:
SdrUndoAction(xTable->getSdrTableObj()->getSdrModelFromSdrObject())
204 maRows.swap( aRemovedRows );
240 for(
auto& rpCol : rCols )
247 for(
auto& rpCell : rCells )
253:
SdrUndoAction(xTable->getSdrTableObj()->getSdrModelFromSdrObject())
297:
SdrUndoAction(xTable->getSdrTableObj()->getSdrModelFromSdrObject())
341:
SdrUndoAction(xCol->mxTableModel->getSdrTableObj()->getSdrModelFromSdrObject())
343 ,mbHasRedoData( false )
388 mxCol->getModel()->setModified(
true);
407:
SdrUndoAction(xRow->mxTableModel->getSdrTableObj()->getSdrModelFromSdrObject())
409 , mbHasRedoData( false )
454 mxRow->getModel()->setModified(
true);
472 ,mbHasRedoData(false)
498 pTableObj->setTableStyleSettings( rData.
maSettings );
507 rData.
maSettings = pTableObj->getTableStyleSettings();
void AddObjectUser(sdr::ObjectUser &rNewUser)
Abstract base class (ABC) for all UndoActions of DrawingEngine.
void setDataToCell(const Data &rData)
CellUndo(SdrObject *pObj, const CellRef &xCell)
unotools::WeakReference< SdrObject > mxObjRef
void getDataFromCell(Data &rData)
virtual bool Merge(SfxUndoAction *pNextAction) override
virtual void Undo() override
virtual void ObjectInDestruction(const SdrObject &rObject) override
virtual ~CellUndo() override
virtual void Redo() override
virtual void Redo() override
InsertColUndo(const TableModelRef &xTable, sal_Int32 nIndex, ColumnVector &aNewCols, CellVector &aCells)
virtual ~InsertColUndo() override
virtual void Undo() override
virtual void Redo() override
virtual ~InsertRowUndo() override
InsertRowUndo(const TableModelRef &xTable, sal_Int32 nIndex, RowVector &aNewRows)
virtual void Undo() override
virtual void Undo() override
RemoveColUndo(const TableModelRef &xTable, sal_Int32 nIndex, ColumnVector &aNewCols, CellVector &aCells)
virtual ~RemoveColUndo() override
virtual void Redo() override
virtual void Redo() override
virtual ~RemoveRowUndo() override
RemoveRowUndo(const TableModelRef &xTable, sal_Int32 nIndex, RowVector &aRemovedRows)
virtual void Undo() override
TableColumnUndo(const TableColumnRef &xCol)
virtual void Redo() override
void getData(Data &rData)
virtual void Undo() override
virtual bool Merge(SfxUndoAction *pNextAction) override
void setData(const Data &rData)
virtual ~TableColumnUndo() override
virtual void Redo() override
virtual bool Merge(SfxUndoAction *pNextAction) override
TableRowUndo(const TableRowRef &xRow)
void getData(Data &rData)
void setData(const Data &rData)
virtual ~TableRowUndo() override
virtual void Undo() override
virtual void Undo() override
virtual void Redo() override
unotools::WeakReference< SdrTableObj > mxObjRef
void setData(const Data &rData)
void getData(Data &rData)
TableStyleUndo(const SdrTableObj &rTableObj)
virtual css::uno::Reference< css::embed::XEmbeddedObject > GetObject() override
std::vector< CellRef > CellVector
std::vector< TableColumnRef > ColumnVector
std::vector< TableRowRef > RowVector
static void Dispose(RowVector &rRows)
std::unique_ptr< sdr::properties::CellProperties > mxProperties
std::optional< OutlinerParaObject > mpOutlinerParaObject
css::uno::Reference< css::container::XIndexAccess > mxTableStyle
TableStyleSettings maSettings