32 : pChangeAction(nullptr)
39 pDlg->DontChangeAuthor();
55 if(pAction!=
nullptr &&
pDocShell !=
nullptr)
62 while(pAction!=
nullptr)
76 if(pAction!=
nullptr &&
pDocShell !=
nullptr)
83 while(pAction!=
nullptr)
102 pDlg->SetText(aTitle);
107 pDlg->EnableTravel(bNext,bPrev);
115 pDlg->ShowLastAuthor(aAuthor, aDate);
121 short nRet=
pDlg->Execute();
143 ScTabView* pTabView = pViewData->GetView();
151 if (pDocShell!=
nullptr && rDlgP.GetNote() != aComment )
152 pDocShell->SetChangeComment( pChangeAction, rDlgP.GetNote());
154 ReInit(FindPrev(pChangeAction));
160 if ( pDocShell!=
nullptr && rDlgP.GetNote() != aComment )
161 pDocShell->SetChangeComment( pChangeAction, rDlgP.GetNote());
163 ReInit(FindNext(pChangeAction));
OUString getDate(const Date &rDate) const
OUString getTime(const tools::Time &rTime, bool bSec=true, bool b100Sec=false) const
bool IsValid(const ScDocument &rDoc) const
ScRange MakeRange(const ScDocument &rDoc) const
const OUString & GetComment() const
ScBigRange & GetBigRange()
bool IsDialogRoot() const
virtual OUString GetDescription(ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const
ScChangeAction * GetNext() const
ScChangeAction * GetPrev() const
SC_DLLPUBLIC DateTime GetDateTime() const
ScChangeActionState GetState() const
const OUString & GetUser() const
const ScDocument & GetDocument() const
void SetChangeComment(ScChangeAction *pAction, const OUString &rComment)
static ScViewData * GetViewData()
ScChangeViewSettings * GetChangeViewSettings() const
static SC_DLLPUBLIC const LocaleDataWrapper & getLocaleData()
void ReInit(ScChangeAction *)
ScChangeAction * FindNext(ScChangeAction *pAction)
ScChangeAction * pChangeAction
VclPtr< AbstractSvxPostItDialog > pDlg
ScRedComDialog(weld::Window *pParent, const SfxItemSet &rCoreSet, ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext)
ScChangeAction * FindPrev(ScChangeAction *pAction)
void MarkRange(const ScRange &rRange, bool bSetCursor=true, bool bContinue=false)
static bool IsActionShown(const ScChangeAction &rAction, const ScChangeViewSettings &rSettings, ScDocument &rDocument)
virtual VclPtr< AbstractSvxPostItDialog > CreateSvxPostItDialog(weld::Widget *pParent, const SfxItemSet &rCoreSet, bool bPrevNext=false)=0
static SvxAbstractDialogFactory * Create()
#define LINK(Instance, Class, Member)
IMPL_LINK(ScRedComDialog, PrevHdl, AbstractSvxPostItDialog &, rDlgP, void)