Lines Matching refs:pModel

735 			SdrModel* pModel = mpTableObj->GetModel();  in insertColumns()  local
752 const bool bUndo = pModel && mpTableObj->IsInserted() && pModel->IsUndoEnabled(); in insertColumns()
755 pModel->BegUndo( ImpGetResStr(STR_TABLE_INSCOL) ); in insertColumns()
756 pModel->AddUndo( pModel->GetSdrUndoFactory().CreateUndoGeoObject(*mpTableObj) ); in insertColumns()
771 pModel->AddUndo( new InsertColUndo( xThis, nIndex, aNewColumns, aNewCells ) ); in insertColumns()
793 pModel->EndUndo(); in insertColumns()
795 if( pModel ) in insertColumns()
796 pModel->SetChanged(); in insertColumns()
826 SdrModel* pModel = mpTableObj->GetModel(); in removeColumns() local
828 const bool bUndo = pModel && mpTableObj->IsInserted() && pModel->IsUndoEnabled(); in removeColumns()
831 pModel->BegUndo( ImpGetResStr(STR_UNDO_COL_DELETE) ); in removeColumns()
832 pModel->AddUndo( pModel->GetSdrUndoFactory().CreateUndoGeoObject(*mpTableObj) ); in removeColumns()
850 pModel->AddUndo( new RemoveColUndo( xThis, nIndex, aRemovedCols, aRemovedCells ) ); in removeColumns()
903 pModel->EndUndo(); in removeColumns()
905 if( pModel ) in removeColumns()
906 pModel->SetChanged(); in removeColumns()
924 SdrModel* pModel = mpTableObj->GetModel(); in insertRows() local
925 const bool bUndo = pModel && mpTableObj->IsInserted() && pModel->IsUndoEnabled(); in insertRows()
943 pModel->BegUndo( ImpGetResStr(STR_TABLE_INSROW) ); in insertRows()
944 pModel->AddUndo( pModel->GetSdrUndoFactory().CreateUndoGeoObject(*mpTableObj) ); in insertRows()
946 pModel->AddUndo( new InsertRowUndo( xThis, nIndex, aNewRows ) ); in insertRows()
971 pModel->EndUndo(); in insertRows()
973 if( pModel ) in insertRows()
974 pModel->SetChanged(); in insertRows()
989 SdrModel* pModel = mpTableObj->GetModel(); in removeRows() local
990 const bool bUndo = pModel && mpTableObj->IsInserted()&& pModel->IsUndoEnabled(); in removeRows()
1002 pModel->BegUndo( ImpGetResStr(STR_UNDO_ROW_DELETE) ); in removeRows()
1003 pModel->AddUndo( pModel->GetSdrUndoFactory().CreateUndoGeoObject(*mpTableObj) ); in removeRows()
1011 pModel->AddUndo( new RemoveRowUndo( xThis, nIndex, aRemovedRows ) ); in removeRows()
1062 pModel->EndUndo(); in removeRows()
1064 if( pModel ) in removeRows()
1065 pModel->SetChanged(); in removeRows()
1190 SdrModel* pModel = mpTableObj->GetModel(); in merge() local
1192 const bool bUndo = pModel && mpTableObj->IsInserted() && pModel->IsUndoEnabled(); in merge()