LibreOffice Module sc (master) 1
|
#include <redcom.hxx>
Public Member Functions | |
ScRedComDialog (weld::Window *pParent, const SfxItemSet &rCoreSet, ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext) | |
~ScRedComDialog () | |
void | Execute () |
Private Member Functions | |
DECL_LINK (PrevHdl, AbstractSvxPostItDialog &, void) | |
DECL_LINK (NextHdl, AbstractSvxPostItDialog &, void) | |
void | ReInit (ScChangeAction *) |
void | SelectCell () |
ScChangeAction * | FindPrev (ScChangeAction *pAction) |
ScChangeAction * | FindNext (ScChangeAction *pAction) |
Private Attributes | |
ScChangeAction * | pChangeAction |
ScDocShell * | pDocShell |
OUString | aComment |
VclPtr< AbstractSvxPostItDialog > | pDlg |
Definition at line 32 of file redcom.hxx.
ScRedComDialog::ScRedComDialog | ( | weld::Window * | pParent, |
const SfxItemSet & | rCoreSet, | ||
ScDocShell * | pShell, | ||
ScChangeAction * | pAction, | ||
bool | bPrevNext | ||
) |
Definition at line 30 of file redcom.cxx.
References SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxPostItDialog(), LINK, pDlg, pDocShell, and ReInit().
ScRedComDialog::~ScRedComDialog | ( | ) |
Definition at line 48 of file redcom.cxx.
References VclPtr< class reference_type >::disposeAndClear(), and pDlg.
|
private |
|
private |
void ScRedComDialog::Execute | ( | ) |
Definition at line 119 of file redcom.cxx.
References aComment, pChangeAction, pDlg, pDocShell, RET_OK, and ScDocShell::SetChangeComment().
|
private |
Definition at line 74 of file redcom.cxx.
References ScDocument::GetChangeViewSettings(), ScDocShell::GetDocument(), ScChangeAction::GetNext(), ScChangeAction::GetState(), ScViewUtil::IsActionShown(), ScChangeAction::IsDialogRoot(), pDocShell, and SC_CAS_VIRGIN.
Referenced by ReInit().
|
private |
Definition at line 53 of file redcom.cxx.
References ScDocument::GetChangeViewSettings(), ScDocShell::GetDocument(), ScChangeAction::GetPrev(), ScChangeAction::GetState(), ScViewUtil::IsActionShown(), ScChangeAction::IsDialogRoot(), pDocShell, and SC_CAS_VIRGIN.
Referenced by ReInit().
|
private |
Definition at line 95 of file redcom.cxx.
References aComment, FindNext(), FindPrev(), ScChangeAction::GetComment(), LocaleDataWrapper::getDate(), ScChangeAction::GetDateTime(), ScChangeAction::GetDescription(), ScDocShell::GetDocument(), ScGlobal::getLocaleData(), LocaleDataWrapper::getTime(), ScChangeAction::GetUser(), pChangeAction, pDlg, and pDocShell.
Referenced by ScRedComDialog().
|
private |
Definition at line 130 of file redcom.cxx.
References ScChangeAction::GetBigRange(), ScDocShell::GetDocument(), ScDocShell::GetViewData(), ScBigRange::IsValid(), ScBigRange::MakeRange(), ScTabView::MarkRange(), pChangeAction, and pDocShell.
|
private |
Definition at line 36 of file redcom.hxx.
|
private |
Definition at line 34 of file redcom.hxx.
Referenced by Execute(), ReInit(), and SelectCell().
|
private |
Definition at line 37 of file redcom.hxx.
Referenced by Execute(), ReInit(), ScRedComDialog(), and ~ScRedComDialog().
|
private |
Definition at line 35 of file redcom.hxx.
Referenced by Execute(), FindNext(), FindPrev(), ReInit(), ScRedComDialog(), and SelectCell().