/aoo41x/main/sfx2/source/doc/ |
H A D | docundomanager.cxx | 90 IUndoManager* pUndoManager; member 95 ,pUndoManager( impl_retrieveUndoManager( i_antiImpl.getBaseModel() ) ) in DocumentUndoManager_Impl() 112 … ENSURE_OR_RETURN_VOID( pUndoManager, "DocumentUndoManager_Impl::disposing: already disposed!" ); in disposing() 113 pUndoManager = NULL; in disposing() 121 IUndoManager* pUndoManager( NULL ); in impl_retrieveUndoManager() local 124 pUndoManager = pObjectShell->GetUndoManager(); in impl_retrieveUndoManager() 125 if ( !pUndoManager ) in impl_retrieveUndoManager() 127 return pUndoManager; in impl_retrieveUndoManager() 134 …ENSURE_OR_THROW( pUndoManager != NULL, "DocumentUndoManager_Impl::getImplUndoManager: no access to… in getImplUndoManager() 140 OSL_ENSURE( ( pObjectShell != NULL ) && ( pUndoManager == pObjectShell->GetUndoManager() ), in getImplUndoManager() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | tabvwshb.cxx | 509 ::svl::IUndoManager* pUndoManager = pSh->GetUndoManager(); in ExecuteUndo() 519 if ( pUndoManager ) in ExecuteUndo() 529 sal_Bool bLockPaint = ( nCount > 1 && pUndoManager == GetUndoManager() ); in ExecuteUndo() 538 pUndoManager->Undo(); in ExecuteUndo() 540 pUndoManager->Redo(); in ExecuteUndo() 563 ::svl::IUndoManager* pUndoManager = pSh->GetUndoManager(); in GetUndoState() 575 if ( pUndoManager ) in GetUndoState() 579 … size_t nCount = bIsUndo ? pUndoManager->GetUndoActionCount() : pUndoManager->GetRedoActionCount(); in GetUndoState() 581 pList->Insert( new String( bIsUndo ? pUndoManager->GetUndoActionComment(i) : in GetUndoState() 582 pUndoManager->GetRedoActionComment(i) ), in GetUndoState()
|
H A D | tabvwshf.cxx | 674 ::svl::IUndoManager* pUndoManager = pDocSh->GetUndoManager(); in ExecuteTable() 676 pUndoManager->EnterListAction( aUndo, aUndo ); in ExecuteTable() 682 pUndoManager->LeaveListAction(); in ExecuteTable()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | viewshel.cxx | 1181 ::svl::IUndoManager* pUndoManager = ImpGetUndoManager(); in ImpGetUndoStrings() 1182 if(pUndoManager) in ImpGetUndoStrings() 1184 sal_uInt16 nCount(pUndoManager->GetUndoActionCount()); in ImpGetUndoStrings() 1217 if(pUndoManager) in ImpGetRedoStrings() 1219 sal_uInt16 nCount(pUndoManager->GetRedoActionCount()); in ImpGetRedoStrings() 1261 if(nNumber && pUndoManager) in ImpSidUndo() 1263 sal_uInt16 nCount(pUndoManager->GetUndoActionCount()); in ImpSidUndo() 1272 pUndoManager->Undo(); in ImpSidUndo() 1310 if(nNumber && pUndoManager) in ImpSidRedo() 1312 sal_uInt16 nCount(pUndoManager->GetRedoActionCount()); in ImpSidRedo() [all …]
|
H A D | viewshe3.cxx | 150 ::svl::IUndoManager* pUndoManager = ImpGetUndoManager(); in GetMenuState() 153 if(pUndoManager) in GetMenuState() 155 if(pUndoManager->GetUndoActionCount() != 0) in GetMenuState() 166 aTmp += pUndoManager->GetUndoActionComment(0); in GetMenuState() 178 ::svl::IUndoManager* pUndoManager = ImpGetUndoManager(); in GetMenuState() 181 if(pUndoManager) in GetMenuState() 183 if(pUndoManager->GetRedoActionCount() != 0) in GetMenuState() 194 aTmp += pUndoManager->GetRedoActionComment(0); in GetMenuState()
|
H A D | ViewShellImplementation.cxx | 193 ::svl::IUndoManager* pUndoManager = mrViewShell.GetDocSh()->GetUndoManager(); in ProcessModifyPageSlot() 194 DBG_ASSERT(pUndoManager, "No UNDO MANAGER ?!?"); in ProcessModifyPageSlot() 196 if( pUndoManager ) in ProcessModifyPageSlot() 199 pUndoManager->EnterListAction(aComment, aComment); in ProcessModifyPageSlot() 202 pUndoManager->AddUndoAction(pAction); in ProcessModifyPageSlot() 246 pUndoManager->AddUndoAction( new UndoAutoLayoutPosAndSize( *pUndoPage ) ); in ProcessModifyPageSlot() 247 pUndoManager->LeaveListAction(); in ProcessModifyPageSlot()
|
H A D | drawview.cxx | 579 sd::UndoManager* pUndoManager = mpDoc->GetUndoManager(); in DeleteMarked() local 580 DBG_ASSERT( pUndoManager, "sd::DrawView::DeleteMarked(), ui action without undo manager!?" ); in DeleteMarked() 582 if( pUndoManager ) in DeleteMarked() 587 pUndoManager->EnterListAction(aUndo, aUndo); in DeleteMarked() 628 pUndoManager->AddUndoAction( in DeleteMarked() 648 if( pUndoManager ) in DeleteMarked() 649 pUndoManager->LeaveListAction(); in DeleteMarked()
|
H A D | ViewShellManager.cxx | 919 ::svl::IUndoManager* pUndoManager = (pTopMostShell!=NULL) in UpdateShellStack() 997 if (mpTopShell!=NULL && pUndoManager!=NULL && mpTopShell->GetUndoManager()==NULL) in UpdateShellStack() 998 mpTopShell->SetUndoManager(pUndoManager); in UpdateShellStack() 1019 ::svl::IUndoManager* pUndoManager = (pTopMostShell!=NULL) in TakeShellsFromStack() 1075 if (mpTopShell!=NULL && pUndoManager!=NULL && mpTopShell->GetUndoManager()==NULL) in TakeShellsFromStack() 1076 mpTopShell->SetUndoManager(pUndoManager); in TakeShellsFromStack()
|
H A D | sdview.cxx | 1192 sd::UndoManager* pUndoManager = mpDoc ? mpDoc->GetUndoManager() : 0; in isRecordingUndo() local 1193 return pUndoManager && pUndoManager->IsInListAction(); in isRecordingUndo()
|
/aoo41x/main/sd/source/core/ |
H A D | sdpage.cxx | 251 const bool bUndo = pUndoManager && pUndoManager->IsInListAction() && IsInserted(); in CreatePresObj() 557 pUndoManager->AddUndoAction( new UndoObjectPresentationKind( *pSdrObj ) ); in CreatePresObj() 558 pUndoManager->AddUndoAction( new UndoObjectUserCall(*pSdrObj) ); in CreatePresObj() 716 const bool bUndo = pUndoManager && pUndoManager->IsInListAction() && IsInserted(); in Changed() 722 pUndoManager->AddUndoAction( new UndoObjectUserCall(*pObj) ); in Changed() 767 const bool bUndo = pUndoManager && pUndoManager->IsInListAction() && IsInserted(); in CreateTitleAndLayout() 1562 const bool bUndo = pUndoManager && pUndoManager->IsInListAction() && IsInserted(); in SetAutoLayout() 2120 const bool bUndo = pUndoManager && pUndoManager->IsInListAction() && rPage.IsInserted(); in convertPresentationObjectImpl() 2260 const bool bUndo = pUndoManager && pUndoManager->IsInListAction() && IsInserted(); in InsertAutoLayoutShape() 2276 pUndoManager->AddUndoAction( new UndoObjectUserCall( *pObj ) ); in InsertAutoLayoutShape() [all …]
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | drwtxtsh.cxx | 621 ::svl::IUndoManager* pUndoManager = GetUndoManager(); in ExecUndo() 622 if( pUndoManager ) in ExecUndo() 626 pUndoManager->Undo(); in ExecUndo() 629 pUndoManager->Redo(); in ExecUndo() 666 ::svl::IUndoManager* pUndoManager = GetUndoManager(); in StateUndo() 667 if( pUndoManager ) in StateUndo() 674 nCount = pUndoManager->GetUndoActionCount(); in StateUndo() 679 nCount = pUndoManager->GetRedoActionCount(); in StateUndo() 686 … ( sList += (pUndoManager->*fnGetComment)( n, ::svl::IUndoManager::TopLevel ) ) in StateUndo()
|
H A D | annotsh.cxx | 1458 ::svl::IUndoManager* pUndoManager = GetUndoManager(); in ExecUndo() 1474 if ( pUndoManager ) in ExecUndo() 1476 sal_uInt16 nCount = pUndoManager->GetUndoActionCount(); in ExecUndo() 1487 pUndoManager->Undo(); in ExecUndo() 1498 if ( pUndoManager ) in ExecUndo() 1500 sal_uInt16 nCount = pUndoManager->GetRedoActionCount(); in ExecUndo() 1511 pUndoManager->Redo(); in ExecUndo() 1535 ::svl::IUndoManager* pUndoManager = GetUndoManager(); in StateUndo() 1572 if( pUndoManager ) in StateUndo() 1579 nCount = pUndoManager->GetUndoActionCount(); in StateUndo() [all …]
|
/aoo41x/main/editeng/source/editeng/ |
H A D | impedit.hxx | 433 EditUndoManager* pUndoManager; member in ImpEditEngine 1106 if ( !pUndoManager ) in GetUndoManager() 1108 pUndoManager = new EditUndoManager(); in GetUndoManager() 1109 pUndoManager->SetImpEditEngine(this); in GetUndoManager() 1111 return *pUndoManager; in GetUndoManager() 1116 ::svl::IUndoManager* pRetval = pUndoManager; in SetUndoManager() 1118 if(pUndoManager) in SetUndoManager() 1120 pUndoManager->SetImpEditEngine(0); in SetUndoManager() 1123 pUndoManager = dynamic_cast< EditUndoManager* >(pNew); in SetUndoManager() 1125 if(pUndoManager) in SetUndoManager() [all …]
|
H A D | impedit2.cxx | 119 pUndoManager = NULL; in ImpEditEngine() 200 delete pUndoManager; in ~ImpEditEngine()
|
/aoo41x/main/sd/source/ui/docshell/ |
H A D | docshell.cxx | 599 ::svl::IUndoManager* pUndoManager = GetUndoManager(); in ClearUndoBuffer() 600 if(pUndoManager && pUndoManager->GetUndoActionCount()) in ClearUndoBuffer() 601 pUndoManager->Clear(); in ClearUndoBuffer()
|
/aoo41x/main/sd/source/ui/sidebar/ |
H A D | DocumentHelper.cxx | 286 ::svl::IUndoManager* pUndoManager = rTargetDocument.GetDocSh()->GetUndoManager(); in ProvideStyles() 287 if (pUndoManager != NULL) in ProvideStyles() 294 pUndoManager->AddUndoAction (pMovStyles); in ProvideStyles()
|
/aoo41x/main/svl/source/undo/ |
H A D | undo.cxx | 1402 pUndoManager = pManager; in SfxLinkUndoAction() 1423 pUndoManager->Undo(); in Undo() 1431 pUndoManager->Redo(); in Redo()
|
/aoo41x/main/svl/inc/svl/ |
H A D | undo.hxx | 478 ::svl::IUndoManager *pUndoManager;
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdmodel.cxx | 2059 void SdrModel::SetSdrUndoManager( SfxUndoManager* pUndoManager ) in SetSdrUndoManager() argument 2061 mpImpl->mpUndoManager = pUndoManager; in SetSdrUndoManager()
|
/aoo41x/main/svx/inc/svx/ |
H A D | svdmodel.hxx | 620 void SetSdrUndoManager( SfxUndoManager* pUndoManager );
|
/aoo41x/main/reportdesign/source/ui/report/ |
H A D | ReportController.cxx | 4402 SfxUndoManager* pUndoManager( pReportModel->GetSdrUndoManager() ); in getUndoManager() local 4403 ENSURE_OR_THROW( pUndoManager != NULL, "no access to our model's UndoManager" ); in getUndoManager() 4405 return *pUndoManager; in getUndoManager()
|