LibreOffice Module svx (master)  1
Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
svx::DocRecovery::RecoveryDialog Class Reference

#include <docrecovery.hxx>

Inheritance diagram for svx::DocRecovery::RecoveryDialog:
[legend]
Collaboration diagram for svx::DocRecovery::RecoveryDialog:
[legend]

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 ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () 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 Types

enum  EInternalRecoveryState {
  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
}
 

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 const m_aTitleRecoveryInProgress
 
OUString const m_aRecoveryOnlyFinish
 
OUString const m_aRecoveryOnlyFinishDescr
 
RecoveryCorem_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::Labelm_xDescrFT
 
std::unique_ptr< weld::ProgressBarm_xProgressBar
 
std::unique_ptr< weld::TreeViewm_xFileListLB
 
std::unique_ptr< weld::Buttonm_xNextBtn
 
std::unique_ptr< weld::Buttonm_xCancelBtn
 

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 Member Functions inherited from svx::DocRecovery::IRecoveryUpdateListener
 ~IRecoveryUpdateListener ()
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 381 of file docrecovery.hxx.

Member Enumeration Documentation

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 392 of file docrecovery.hxx.

Constructor & Destructor Documentation

svx::DocRecovery::RecoveryDialog::RecoveryDialog ( weld::Window pParent,
RecoveryCore pCore 
)
svx::DocRecovery::RecoveryDialog::~RecoveryDialog ( )
overridevirtual

Definition at line 702 of file docrecovery.cxx.

Member Function Documentation

svx::DocRecovery::RecoveryDialog::DECL_LINK ( NextButtonHdl  ,
weld::Button ,
void   
)
private
svx::DocRecovery::RecoveryDialog::DECL_LINK ( CancelButtonHdl  ,
weld::Button ,
void   
)
private
void svx::DocRecovery::RecoveryDialog::end ( )
overridevirtual

Implements svx::DocRecovery::IRecoveryUpdateListener.

Definition at line 905 of file docrecovery.cxx.

References m_bWaitForCore.

short svx::DocRecovery::RecoveryDialog::execute ( )
OUString svx::DocRecovery::RecoveryDialog::impl_getStatusImage ( const TURLInfo rInfo)
staticprivate
OUString svx::DocRecovery::RecoveryDialog::impl_getStatusString ( const TURLInfo rInfo) const
private
void svx::DocRecovery::RecoveryDialog::stepNext ( TURLInfo pItem)
overridevirtual
void svx::DocRecovery::RecoveryDialog::updateItems ( )
overridevirtual

Member Data Documentation

OUString svx::DocRecovery::RecoveryDialog::m_aNotRecovYetStr
private

Definition at line 411 of file docrecovery.hxx.

Referenced by impl_getStatusString().

OUString svx::DocRecovery::RecoveryDialog::m_aOrigDocRecovStr
private

Definition at line 408 of file docrecovery.hxx.

Referenced by impl_getStatusString().

OUString const svx::DocRecovery::RecoveryDialog::m_aRecoveryOnlyFinish
private

Definition at line 387 of file docrecovery.hxx.

Referenced by execute().

OUString const svx::DocRecovery::RecoveryDialog::m_aRecoveryOnlyFinishDescr
private

Definition at line 388 of file docrecovery.hxx.

Referenced by execute().

OUString svx::DocRecovery::RecoveryDialog::m_aRecovFailedStr
private

Definition at line 409 of file docrecovery.hxx.

Referenced by impl_getStatusString().

OUString svx::DocRecovery::RecoveryDialog::m_aRecovInProgrStr
private

Definition at line 410 of file docrecovery.hxx.

Referenced by impl_getStatusString().

OUString svx::DocRecovery::RecoveryDialog::m_aSuccessRecovStr
private

Definition at line 407 of file docrecovery.hxx.

Referenced by impl_getStatusString().

OUString const svx::DocRecovery::RecoveryDialog::m_aTitleRecoveryInProgress
private

Definition at line 386 of file docrecovery.hxx.

Referenced by execute().

bool svx::DocRecovery::RecoveryDialog::m_bWaitForCore
private

Definition at line 404 of file docrecovery.hxx.

Referenced by end(), and execute().

bool svx::DocRecovery::RecoveryDialog::m_bWasRecoveryStarted
private

Definition at line 405 of file docrecovery.hxx.

Referenced by execute().

sal_Int32 svx::DocRecovery::RecoveryDialog::m_eRecoveryState
private

Definition at line 403 of file docrecovery.hxx.

Referenced by execute().

RecoveryCore* svx::DocRecovery::RecoveryDialog::m_pCore
private

Definition at line 390 of file docrecovery.hxx.

Referenced by execute(), and RecoveryDialog().

std::unique_ptr<weld::Button> svx::DocRecovery::RecoveryDialog::m_xCancelBtn
private

Definition at line 417 of file docrecovery.hxx.

Referenced by execute(), and RecoveryDialog().

std::unique_ptr<weld::Label> svx::DocRecovery::RecoveryDialog::m_xDescrFT
private

Definition at line 413 of file docrecovery.hxx.

Referenced by execute().

std::unique_ptr<weld::TreeView> svx::DocRecovery::RecoveryDialog::m_xFileListLB
private

Definition at line 415 of file docrecovery.hxx.

Referenced by RecoveryDialog(), stepNext(), and updateItems().

std::unique_ptr<weld::Button> svx::DocRecovery::RecoveryDialog::m_xNextBtn
private

Definition at line 416 of file docrecovery.hxx.

Referenced by execute(), and RecoveryDialog().

css::uno::Reference< css::task::XStatusIndicator > svx::DocRecovery::RecoveryDialog::m_xProgress
private

Definition at line 391 of file docrecovery.hxx.

Referenced by execute(), and RecoveryDialog().

std::unique_ptr<weld::ProgressBar> svx::DocRecovery::RecoveryDialog::m_xProgressBar
private

Definition at line 414 of file docrecovery.hxx.

Referenced by RecoveryDialog().


The documentation for this class was generated from the following files: