LibreOffice Module sfx2 (master) 1
|
#include <versdlg.hxx>
Public Member Functions | |
SfxVersionDialog (weld::Window *pParent, SfxViewFrame *pFrame, bool) | |
virtual | ~SfxVersionDialog () override |
bool | IsSaveVersionOnClose () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
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 (DClickHdl_Impl, weld::TreeView &, bool) | |
DECL_LINK (SelectHdl_Impl, weld::TreeView &, void) | |
DECL_LINK (ButtonHdl_Impl, weld::Button &, void) | |
DECL_LINK (ToggleHdl_Impl, weld::Toggleable &, void) | |
void | Init_Impl () |
void | Open_Impl () |
Private Attributes | |
SfxViewFrame * | m_pViewFrame |
bool | m_bIsSaveVersionOnClose |
std::unique_ptr< SfxVersionTableDtor > | m_pTable |
std::unique_ptr< weld::Button > | m_xSaveButton |
std::unique_ptr< weld::CheckButton > | m_xSaveCheckBox |
std::unique_ptr< weld::Button > | m_xOpenButton |
std::unique_ptr< weld::Button > | m_xViewButton |
std::unique_ptr< weld::Button > | m_xDeleteButton |
std::unique_ptr< weld::Button > | m_xCompareButton |
std::unique_ptr< weld::Button > | m_xCmisButton |
std::unique_ptr< weld::TreeView > | m_xVersionBox |
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 30 of file versdlg.hxx.
SfxVersionDialog::SfxVersionDialog | ( | weld::Window * | pParent, |
SfxViewFrame * | pFrame, | ||
bool | bIsSaveVersionOnClose | ||
) |
Definition at line 147 of file versdlg.cxx.
References SfxViewFrame::GetObjectShell(), SfxObjectShell::GetTitle(), Init_Impl(), LINK, m_pViewFrame, m_xCmisButton, m_xCompareButton, m_xDeleteButton, weld::GenericDialogController::m_xDialog, m_xOpenButton, m_xSaveButton, m_xSaveCheckBox, m_xVersionBox, and m_xViewButton.
|
overridevirtual |
Definition at line 253 of file versdlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 210 of file versdlg.cxx.
References SfxVersionInfo::aAuthor, SfxVersionInfo::aComment, SfxVersionInfo::aCreationDate, ConvertWhiteSpaces_Impl(), formatDateTime(), AllSettings::GetLocaleDataWrapper(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxViewFrame::GetObjectShell(), Application::GetSettings(), SfxMedium::GetVersionList(), SfxObjectShell::IsReadOnly(), m_bIsSaveVersionOnClose, m_pTable, m_pViewFrame, m_xCmisButton, m_xCompareButton, m_xDeleteButton, m_xOpenButton, m_xSaveButton, m_xSaveCheckBox, m_xVersionBox, m_xViewButton, n, nCount, and weld::toId().
Referenced by SfxVersionDialog().
|
inline |
Definition at line 54 of file versdlg.hxx.
References m_bIsSaveVersionOnClose.
Referenced by SfxObjectShell::ExecFile_Impl().
|
private |
Definition at line 257 of file versdlg.cxx.
References ASYNCHRON, SfxDispatcher::ExecuteList(), SfxViewFrame::GetDispatcher(), GetEncryptionData_Impl(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SfxViewFrame::GetObjectShell(), m_pViewFrame, weld::GenericDialogController::m_xDialog, m_xVersionBox, nPos, and RET_OK.
|
private |
Definition at line 33 of file versdlg.hxx.
Referenced by Init_Impl(), and IsSaveVersionOnClose().
|
private |
Definition at line 34 of file versdlg.hxx.
Referenced by Init_Impl().
|
private |
Definition at line 32 of file versdlg.hxx.
Referenced by Init_Impl(), Open_Impl(), and SfxVersionDialog().
|
private |
Definition at line 41 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().
|
private |
Definition at line 40 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().
|
private |
Definition at line 39 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().
|
private |
Definition at line 37 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().
|
private |
Definition at line 35 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().
|
private |
Definition at line 36 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().
|
private |
Definition at line 42 of file versdlg.hxx.
Referenced by Init_Impl(), Open_Impl(), and SfxVersionDialog().
|
private |
Definition at line 38 of file versdlg.hxx.
Referenced by Init_Impl(), and SfxVersionDialog().