LibreOffice Module sc (master) 1
|
#include <sharedocdlg.hxx>
Public Member Functions | |
ScShareDocumentDlg (weld::Window *pParent, const ScViewData *pViewData) | |
virtual | ~ScShareDocumentDlg () override |
bool | IsShareDocumentChecked () const |
void | UpdateView () |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (ToggleHandle, weld::Toggleable &, void) | |
DECL_LINK (SizeAllocated, const Size &, void) | |
Private Attributes | |
OUString | m_aStrNoUserData |
OUString | m_aStrUnknownUser |
OUString | m_aStrExclusiveAccess |
ScDocShell * | mpDocShell |
std::unique_ptr< weld::CheckButton > | m_xCbShare |
std::unique_ptr< weld::Label > | m_xFtWarning |
std::unique_ptr< weld::TreeView > | m_xLbUsers |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 28 of file sharedocdlg.hxx.
ScShareDocumentDlg::ScShareDocumentDlg | ( | weld::Window * | pParent, |
const ScViewData * | pViewData | ||
) |
Definition at line 53 of file sharedocdlg.cxx.
References ScViewData::GetDocShell(), SfxObjectShell::IsDocShared(), LINK, m_xCbShare, m_xFtWarning, m_xLbUsers, mpDocShell, and UpdateView().
|
overridevirtual |
Definition at line 88 of file sharedocdlg.cxx.
|
private |
|
private |
bool ScShareDocumentDlg::IsShareDocumentChecked | ( | ) | const |
Definition at line 97 of file sharedocdlg.cxx.
References m_xCbShare.
Referenced by ScDocShell::Execute().
void ScShareDocumentDlg::UpdateView | ( | ) |
Definition at line 102 of file sharedocdlg.cxx.
References formatDateTime(), SfxBaseModel::getDocumentProperties(), SvtUserOptions::GetFirstName(), SvtUserOptions::GetLastName(), ScGlobal::getLocaleData(), ScDocShell::GetModel(), SfxObjectShell::GetSharedFileURL(), LocaleDataWrapper::getTime(), o3tl::getToken(), svt::ShareControlFile::GetUsersData(), i, SfxObjectShell::IsDocShared(), m_aStrExclusiveAccess, m_aStrNoUserData, m_aStrUnknownUser, m_xLbUsers, mpDocShell, nIndex, nLength, o3tl::toInt32(), and TOOLS_WARN_EXCEPTION.
Referenced by ScShareDocumentDlg().
|
private |
Definition at line 33 of file sharedocdlg.hxx.
Referenced by UpdateView().
|
private |
Definition at line 31 of file sharedocdlg.hxx.
Referenced by UpdateView().
|
private |
Definition at line 32 of file sharedocdlg.hxx.
Referenced by UpdateView().
|
private |
Definition at line 37 of file sharedocdlg.hxx.
Referenced by IsShareDocumentChecked(), and ScShareDocumentDlg().
|
private |
Definition at line 38 of file sharedocdlg.hxx.
Referenced by ScShareDocumentDlg().
|
private |
Definition at line 39 of file sharedocdlg.hxx.
Referenced by ScShareDocumentDlg(), and UpdateView().
|
private |
Definition at line 35 of file sharedocdlg.hxx.
Referenced by ScShareDocumentDlg(), and UpdateView().