Lines Matching refs:rUndoManager
492 IUndoManager& rUndoManager = getUndoManager(); in lock() local
493 rUndoManager.EnableUndo( false ); in lock()
509 IUndoManager& rUndoManager = getUndoManager(); in unlock() local
510 rUndoManager.EnableUndo( true ); in unlock()
583 IUndoManager& rUndoManager = getUndoManager(); in impl_enterUndoContext() local
584 if ( !rUndoManager.IsUndoEnabled() ) in impl_enterUndoContext()
588 if ( i_hidden && ( rUndoManager.GetUndoActionCount( IUndoManager::CurrentLevel ) == 0 ) ) in impl_enterUndoContext()
596 rUndoManager.EnterListAction( i_title, ::rtl::OUString() ); in impl_enterUndoContext()
615 IUndoManager& rUndoManager = getUndoManager(); in impl_leaveUndoContext() local
616 if ( !rUndoManager.IsUndoEnabled() ) in impl_leaveUndoContext()
620 if ( !rUndoManager.IsInListAction() ) in impl_leaveUndoContext()
631 … const bool bHadRedoActions = ( rUndoManager.GetRedoActionCount( IUndoManager::TopLevel ) > 0 ); in impl_leaveUndoContext()
635 nContextElements = rUndoManager.LeaveAndMergeListAction(); in impl_leaveUndoContext()
637 nContextElements = rUndoManager.LeaveListAction(); in impl_leaveUndoContext()
639 … const bool bHasRedoActions = ( rUndoManager.GetRedoActionCount( IUndoManager::TopLevel ) > 0 ); in impl_leaveUndoContext()
656 …aContextEvent.UndoActionTitle = rUndoManager.GetUndoActionComment( 0, IUndoManager::CurrentLevel ); in impl_leaveUndoContext()
679 IUndoManager& rUndoManager = getUndoManager(); in impl_doUndoRedo() local
680 if ( rUndoManager.IsInListAction() ) in impl_doUndoRedo()
684 ? rUndoManager.GetUndoActionCount( IUndoManager::TopLevel ) in impl_doUndoRedo()
685 : rUndoManager.GetRedoActionCount( IUndoManager::TopLevel ); in impl_doUndoRedo()
695 rUndoManager.Undo(); in impl_doUndoRedo()
697 rUndoManager.Redo(); in impl_doUndoRedo()
723 IUndoManager& rUndoManager = getUndoManager(); in impl_addUndoAction() local
724 if ( !rUndoManager.IsUndoEnabled() ) in impl_addUndoAction()
731 …const bool bHadRedoActions = ( rUndoManager.GetRedoActionCount( IUndoManager::CurrentLevel ) > 0 ); in impl_addUndoAction()
734 rUndoManager.AddUndoAction( new UndoActionWrapper( i_action ) ); in impl_addUndoAction()
736 …const bool bHasRedoActions = ( rUndoManager.GetRedoActionCount( IUndoManager::CurrentLevel ) > 0 ); in impl_addUndoAction()
753 IUndoManager& rUndoManager = getUndoManager(); in impl_clear() local
754 if ( rUndoManager.IsInListAction() ) in impl_clear()
759 rUndoManager.Clear(); in impl_clear()
776 IUndoManager& rUndoManager = getUndoManager(); in impl_clearRedo() local
777 if ( rUndoManager.IsInListAction() ) in impl_clearRedo()
782 rUndoManager.ClearRedo(); in impl_clearRedo()
799 IUndoManager& rUndoManager = getUndoManager(); in impl_reset() local
802 rUndoManager.Reset(); in impl_reset()
1024 IUndoManager& rUndoManager = m_pImpl->getUndoManager(); in isUndoPossible() local
1025 if ( rUndoManager.IsInListAction() ) in isUndoPossible()
1027 return rUndoManager.GetUndoActionCount( IUndoManager::TopLevel ) > 0; in isUndoPossible()
1036 const IUndoManager& rUndoManager = m_pImpl->getUndoManager(); in isRedoPossible() local
1037 if ( rUndoManager.IsInListAction() ) in isRedoPossible()
1039 return rUndoManager.GetRedoActionCount( IUndoManager::TopLevel ) > 0; in isRedoPossible()
1052 const IUndoManager& rUndoManager = i_impl.getUndoManager(); in lcl_getCurrentActionTitle() local
1054 ? rUndoManager.GetUndoActionCount( IUndoManager::TopLevel ) in lcl_getCurrentActionTitle()
1055 : rUndoManager.GetRedoActionCount( IUndoManager::TopLevel ); in lcl_getCurrentActionTitle()
1063 ? rUndoManager.GetUndoActionComment( 0, IUndoManager::TopLevel ) in lcl_getCurrentActionTitle()
1064 : rUndoManager.GetRedoActionComment( 0, IUndoManager::TopLevel ); in lcl_getCurrentActionTitle()
1074 const IUndoManager& rUndoManager = i_impl.getUndoManager(); in lcl_getAllActionTitles() local
1076 ? rUndoManager.GetUndoActionCount( IUndoManager::TopLevel ) in lcl_getAllActionTitles()
1077 : rUndoManager.GetRedoActionCount( IUndoManager::TopLevel ); in lcl_getAllActionTitles()
1083 ? rUndoManager.GetUndoActionComment( i, IUndoManager::TopLevel ) in lcl_getAllActionTitles()
1084 : rUndoManager.GetRedoActionComment( i, IUndoManager::TopLevel ); in lcl_getAllActionTitles()
1151 IUndoManager& rUndoManager = m_pImpl->getUndoManager(); in isLocked() local
1152 return !rUndoManager.IsUndoEnabled(); in isLocked()