LibreOffice Module svx (master)
1
|
#include <docrecovery.hxx>
Public Member Functions | |
RecoveryDialog (weld::Window *pParent, RecoveryCore *pCore) | |
TODO. More... | |
virtual | ~RecoveryDialog () override |
virtual void | updateItems () override |
virtual void | stepNext (TURLInfo *pItem) override |
virtual void | end () override |
short | execute () |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OString &rHelpId) |
OString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (NextButtonHdl, weld::Button &, void) | |
DECL_LINK (CancelButtonHdl, weld::Button &, void) | |
OUString | impl_getStatusString (const TURLInfo &rInfo) const |
Static Private Member Functions | |
static OUString | impl_getStatusImage (const TURLInfo &rInfo) |
Private Attributes | |
OUString | m_aTitleRecoveryInProgress |
OUString | m_aRecoveryOnlyFinish |
OUString | m_aRecoveryOnlyFinishDescr |
RecoveryCore * | m_pCore |
css::uno::Reference< css::task::XStatusIndicator > | m_xProgress |
sal_Int32 | m_eRecoveryState |
bool | m_bWaitForCore |
bool | m_bWasRecoveryStarted |
OUString | m_aSuccessRecovStr |
OUString | m_aOrigDocRecovStr |
OUString | m_aRecovFailedStr |
OUString | m_aRecovInProgrStr |
OUString | m_aNotRecovYetStr |
std::unique_ptr< weld::Label > | m_xDescrFT |
std::unique_ptr< weld::ProgressBar > | m_xProgressBar |
std::unique_ptr< weld::TreeView > | m_xFileListLB |
std::unique_ptr< weld::Button > | m_xNextBtn |
std::unique_ptr< weld::Button > | m_xCancelBtn |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
~IRecoveryUpdateListener () | |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 382 of file docrecovery.hxx.
Enumerator | |
---|---|
E_RECOVERY_PREPARED | |
E_RECOVERY_IN_PROGRESS | |
E_RECOVERY_CORE_DONE | |
E_RECOVERY_DONE | |
E_RECOVERY_CANCELED | |
E_RECOVERY_CANCELED_BEFORE | |
E_RECOVERY_CANCELED_AFTERWARDS | |
E_RECOVERY_HANDLED |
Definition at line 393 of file docrecovery.hxx.
svx::DocRecovery::RecoveryDialog::RecoveryDialog | ( | weld::Window * | pParent, |
RecoveryCore * | pCore | ||
) |
TODO.
Definition at line 634 of file docrecovery.cxx.
References svx::DocRecovery::TURLInfo::DisplayName, svx::DocRecovery::RecoveryCore::getURLListAccess(), i, impl_getStatusImage(), impl_getStatusString(), LINK, m_pCore, m_xCancelBtn, m_xFileListLB, m_xNextBtn, m_xProgress, m_xProgressBar, nCount, and svx::DocRecovery::TURLInfo::StandardImageId.
|
overridevirtual |
Definition at line 687 of file docrecovery.cxx.
References m_xProgress.
|
private |
|
private |
|
overridevirtual |
Implements svx::DocRecovery::IRecoveryUpdateListener.
Definition at line 893 of file docrecovery.cxx.
References m_bWaitForCore.
short svx::DocRecovery::RecoveryDialog::execute | ( | ) |
Definition at line 694 of file docrecovery.cxx.
References DLG_RET_CANCEL, DLG_RET_OK, DLG_RET_UNKNOWN, svx::DocRecovery::RecoveryCore::doRecovery(), E_RECOVERY_CANCELED, E_RECOVERY_CANCELED_AFTERWARDS, E_RECOVERY_CANCELED_BEFORE, E_RECOVERY_CORE_DONE, E_RECOVERY_DONE, E_RECOVERY_HANDLED, E_RECOVERY_IN_PROGRESS, svx::DocRecovery::RecoveryCore::forgetAllRecoveryEntries(), svx::DocRecovery::RecoveryCore::forgetBrokenRecoveryEntries(), svx::DocRecovery::RecoveryCore::forgetBrokenTempEntries(), svx::DocRecovery::BrokenRecoveryDialog::getSaveDirURL(), m_aRecoveryOnlyFinish, m_aRecoveryOnlyFinishDescr, m_aTitleRecoveryInProgress, m_bWaitForCore, m_bWasRecoveryStarted, m_eRecoveryState, m_pCore, m_xCancelBtn, m_xDescrFT, weld::GenericDialogController::m_xDialog, m_xNextBtn, m_xProgress, svx::DocRecovery::RecoveryCore::saveAllTempEntries(), svx::DocRecovery::RecoveryCore::saveBrokenTempEntries(), svx::DocRecovery::RecoveryCore::setProgressHandler(), svx::DocRecovery::RecoveryCore::setUpdateListener(), and Application::Yield().
|
staticprivate |
Definition at line 967 of file docrecovery.cxx.
References svx::DocRecovery::E_ORIGINAL_DOCUMENT_RECOVERED, svx::DocRecovery::E_RECOVERY_FAILED, svx::DocRecovery::E_SUCCESSFULLY_RECOVERED, and svx::DocRecovery::TURLInfo::RecoveryState.
Referenced by RecoveryDialog(), and updateItems().
|
private |
Definition at line 941 of file docrecovery.cxx.
References svx::DocRecovery::E_NOT_RECOVERED_YET, svx::DocRecovery::E_ORIGINAL_DOCUMENT_RECOVERED, svx::DocRecovery::E_RECOVERY_FAILED, svx::DocRecovery::E_RECOVERY_IS_IN_PROGRESS, svx::DocRecovery::E_SUCCESSFULLY_RECOVERED, m_aNotRecovYetStr, m_aOrigDocRecovStr, m_aRecovFailedStr, m_aRecovInProgrStr, m_aSuccessRecovStr, and svx::DocRecovery::TURLInfo::RecoveryState.
Referenced by RecoveryDialog(), and updateItems().
Implements svx::DocRecovery::IRecoveryUpdateListener.
Definition at line 878 of file docrecovery.cxx.
References i, svx::DocRecovery::TURLInfo::ID, and m_xFileListLB.
|
overridevirtual |
Implements svx::DocRecovery::IRecoveryUpdateListener.
Definition at line 862 of file docrecovery.cxx.
References i, impl_getStatusImage(), impl_getStatusString(), and m_xFileListLB.
|
private |
Definition at line 412 of file docrecovery.hxx.
Referenced by impl_getStatusString().
|
private |
Definition at line 409 of file docrecovery.hxx.
Referenced by impl_getStatusString().
|
private |
Definition at line 388 of file docrecovery.hxx.
Referenced by execute().
|
private |
Definition at line 389 of file docrecovery.hxx.
Referenced by execute().
|
private |
Definition at line 410 of file docrecovery.hxx.
Referenced by impl_getStatusString().
|
private |
Definition at line 411 of file docrecovery.hxx.
Referenced by impl_getStatusString().
|
private |
Definition at line 408 of file docrecovery.hxx.
Referenced by impl_getStatusString().
|
private |
Definition at line 387 of file docrecovery.hxx.
Referenced by execute().
|
private |
Definition at line 405 of file docrecovery.hxx.
|
private |
Definition at line 406 of file docrecovery.hxx.
Referenced by execute().
|
private |
Definition at line 404 of file docrecovery.hxx.
Referenced by execute().
|
private |
Definition at line 391 of file docrecovery.hxx.
Referenced by execute(), and RecoveryDialog().
|
private |
Definition at line 418 of file docrecovery.hxx.
Referenced by execute(), and RecoveryDialog().
|
private |
Definition at line 414 of file docrecovery.hxx.
Referenced by execute().
|
private |
Definition at line 416 of file docrecovery.hxx.
Referenced by RecoveryDialog(), stepNext(), and updateItems().
|
private |
Definition at line 417 of file docrecovery.hxx.
Referenced by execute(), and RecoveryDialog().
|
private |
Definition at line 392 of file docrecovery.hxx.
Referenced by execute(), RecoveryDialog(), and ~RecoveryDialog().
|
private |
Definition at line 415 of file docrecovery.hxx.
Referenced by RecoveryDialog().