Lines Matching refs:pAction
598 const ScChangeAction* pAction = pTrack->GetFirst(); in GetChangeAction() local
599 while (pAction) in GetChangeAction()
601 ScChangeActionType eType = pAction->GetType(); in GetChangeAction()
603 if ( pAction->IsVisible() && eType != SC_CAT_DELETE_TABS ) in GetChangeAction()
605 const ScBigRange& rBig = pAction->GetBigRange(); in GetChangeAction()
617 pFound = pAction; // der letzte gewinnt in GetChangeAction()
618 switch ( pAction->GetType() ) in GetChangeAction()
621 pFoundContent = pAction; in GetChangeAction()
624 pFoundMove = pAction; in GetChangeAction()
634 if ( pAction->GetType() == SC_CAT_MOVE ) in GetChangeAction()
637 ((const ScChangeActionMove*)pAction)-> in GetChangeAction()
641 pFound = pAction; in GetChangeAction()
646 pAction = pAction->GetNext(); in GetChangeAction()
652 void ScDocShell::SetChangeComment( ScChangeAction* pAction, const String& rComment ) in SetChangeComment() argument
654 if (pAction) in SetChangeComment()
656 pAction->SetComment( rComment ); in SetChangeComment()
664 sal_uLong nNumber = pAction->GetActionNumber(); in SetChangeComment()
670 void ScDocShell::ExecuteChangeCommentDialog( ScChangeAction* pAction, Window* pParent,sal_Bool bPre… in ExecuteChangeCommentDialog() argument
672 if (!pAction) return; // ohne Aktion ist nichts.. in ExecuteChangeCommentDialog()
674 String aComment = pAction->GetComment(); in ExecuteChangeCommentDialog()
675 String aAuthor = pAction->GetUser(); in ExecuteChangeCommentDialog()
677 DateTime aDT = pAction->GetDateTime(); in ExecuteChangeCommentDialog()
692 ScRedComDialog* pDlg = new ScRedComDialog( pParent, aSet,this,pAction,bPrevNext); in ExecuteChangeCommentDialog()
780 bool lcl_FindAction( ScDocument* pDoc, const ScChangeAction* pAction, ScDocument* pSearchDoc, const… in lcl_FindAction() argument
782 if ( !pDoc || !pAction || !pSearchDoc || !pFirstSearchAction || !pLastSearchAction ) in lcl_FindAction()
791 if ( pAction->GetType() == pA->GetType() && in lcl_FindAction()
792 pAction->GetUser() == pA->GetUser() && in lcl_FindAction()
794 pAction->GetDateTimeUTC().IsEqualIgnore100Sec( pA->GetDateTimeUTC() ) : in lcl_FindAction()
795 pAction->GetDateTimeUTC() == pA->GetDateTimeUTC() ) && in lcl_FindAction()
796 pAction->GetBigRange() == pA->GetBigRange() ) in lcl_FindAction()
799 pAction->GetDescription( aActionDesc, pDoc, sal_True ); in lcl_FindAction()
1305 ScChangeAction* pAction = pThisTrack->GetLast(); in MergeSharedDocument() local
1306 while ( pAction && pAction->GetActionNumber() >= nStartShared ) in MergeSharedDocument()
1308 pThisTrack->Reject( pAction, true ); in MergeSharedDocument()
1309 pAction = pAction->GetPrev(); in MergeSharedDocument()
1325 pAction = pThisTrack->GetAction( nEndShared ); in MergeSharedDocument()
1326 while ( pAction && pAction->GetActionNumber() >= nStartShared ) in MergeSharedDocument()
1328 aResolver.HandleAction( pAction, true /*bIsSharedAction*/, in MergeSharedDocument()
1330 pAction = pAction->GetPrev(); in MergeSharedDocument()
1354 pAction = pThisTrack->GetAction( nEndShared ); in MergeSharedDocument()
1355 while ( pAction && pAction->GetActionNumber() >= nStartShared ) in MergeSharedDocument()
1357 aResolver.HandleAction( pAction, true /*bIsSharedAction*/, in MergeSharedDocument()
1359 pAction = pAction->GetPrev(); in MergeSharedDocument()
1362 pAction = pThisTrack->GetAction( nEndOwn ); in MergeSharedDocument()
1363 while ( pAction && pAction->GetActionNumber() >= nStartOwn ) in MergeSharedDocument()
1365 aResolver.HandleAction( pAction, false /*bIsSharedAction*/, in MergeSharedDocument()
1367 pAction = pAction->GetPrev(); in MergeSharedDocument()