LibreOffice Module svx (master)  1
Classes | Namespaces | Macros | Typedefs | Enumerations
docrecovery.hxx File Reference
#include <vcl/weld.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/frame/XStatusListener.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
Include dependency graph for docrecovery.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< EDocStates >
 
struct  svx::DocRecovery::TURLInfo
 
class  svx::DocRecovery::IRecoveryUpdateListener
 
class  svx::DocRecovery::RecoveryCore
 
class  svx::DocRecovery::PluginProgress
 
class  svx::DocRecovery::SaveDialog
 
class  svx::DocRecovery::SaveProgressDialog
 
class  svx::DocRecovery::RecoveryDialog
 
class  svx::DocRecovery::BrokenRecoveryDialog
 

Namespaces

 o3tl
 
 svx
 
 svx::DocRecovery
 

Macros

#define RECOVERY_CMDPART_PROTOCOL   "vnd.sun.star.autorecovery:"
 
#define RECOVERY_CMDPART_DO_EMERGENCY_SAVE   "/doEmergencySave"
 
#define RECOVERY_CMDPART_DO_RECOVERY   "/doAutoRecovery"
 
#define RECOVERY_CMDPART_DO_BRINGTOFRONT   "/doBringToFront"
 
#define RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE   "vnd.sun.star.autorecovery:/doPrepareEmergencySave"
 
#define RECOVERY_CMD_DO_EMERGENCY_SAVE   "vnd.sun.star.autorecovery:/doEmergencySave"
 
#define RECOVERY_CMD_DO_RECOVERY   "vnd.sun.star.autorecovery:/doAutoRecovery"
 
#define RECOVERY_CMD_DO_ENTRY_BACKUP   "vnd.sun.star.autorecovery:/doEntryBackup"
 
#define RECOVERY_CMD_DO_ENTRY_CLEANUP   "vnd.sun.star.autorecovery:/doEntryCleanUp"
 
#define PROP_STATUSINDICATOR   "StatusIndicator"
 
#define PROP_DISPATCHASYNCHRON   "DispatchAsynchron"
 
#define PROP_SAVEPATH   "SavePath"
 
#define PROP_ENTRYID   "EntryID"
 
#define STATEPROP_ID   "ID"
 
#define STATEPROP_STATE   "DocumentState"
 
#define STATEPROP_ORGURL   "OriginalURL"
 
#define STATEPROP_TEMPURL   "TempURL"
 
#define STATEPROP_FACTORYURL   "FactoryURL"
 
#define STATEPROP_TEMPLATEURL   "TemplateURL"
 
#define STATEPROP_TITLE   "Title"
 
#define STATEPROP_MODULE   "Module"
 
#define RECOVERY_OPERATIONSTATE_START   "start"
 
#define RECOVERY_OPERATIONSTATE_STOP   "stop"
 
#define RECOVERY_OPERATIONSTATE_UPDATE   "update"
 
#define DLG_RET_UNKNOWN   -1
 
#define DLG_RET_OK   RET_OK
 
#define DLG_RET_CANCEL   RET_CANCEL
 
#define DLG_RET_OK_AUTOLUNCH   101
 

Typedefs

typedef ::std::vector< TURLInfo > svx::DocRecovery::TURLList
 

Enumerations

enum  EDocStates {
  EDocStates::Unknown = 0x000,
  EDocStates::TryLoadBackup = 0x010,
  EDocStates::TryLoadOriginal = 0x020,
  EDocStates::Damaged = 0x040,
  EDocStates::Incomplete = 0x080,
  EDocStates::Succeeded = 0x200
}
 
enum  svx::DocRecovery::ERecoveryState {
  svx::DocRecovery::E_SUCCESSFULLY_RECOVERED,
  svx::DocRecovery::E_ORIGINAL_DOCUMENT_RECOVERED,
  svx::DocRecovery::E_RECOVERY_FAILED,
  svx::DocRecovery::E_RECOVERY_IS_IN_PROGRESS,
  svx::DocRecovery::E_NOT_RECOVERED_YET
}
 

Macro Definition Documentation

#define DLG_RET_CANCEL   RET_CANCEL
#define DLG_RET_OK   RET_OK
#define DLG_RET_OK_AUTOLUNCH   101

Definition at line 67 of file docrecovery.hxx.

Referenced by svx::DocRecovery::IMPL_LINK_NOARG().

#define DLG_RET_UNKNOWN   -1

Definition at line 64 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryDialog::execute().

#define PROP_DISPATCHASYNCHRON   "DispatchAsynchron"
#define PROP_ENTRYID   "EntryID"
#define PROP_SAVEPATH   "SavePath"
#define PROP_STATUSINDICATOR   "StatusIndicator"
#define RECOVERY_CMD_DO_EMERGENCY_SAVE   "vnd.sun.star.autorecovery:/doEmergencySave"
#define RECOVERY_CMD_DO_ENTRY_BACKUP   "vnd.sun.star.autorecovery:/doEntryBackup"
#define RECOVERY_CMD_DO_ENTRY_CLEANUP   "vnd.sun.star.autorecovery:/doEntryCleanUp"
#define RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE   "vnd.sun.star.autorecovery:/doPrepareEmergencySave"
#define RECOVERY_CMD_DO_RECOVERY   "vnd.sun.star.autorecovery:/doAutoRecovery"
#define RECOVERY_CMDPART_DO_BRINGTOFRONT   "/doBringToFront"

Definition at line 38 of file docrecovery.hxx.

#define RECOVERY_CMDPART_DO_EMERGENCY_SAVE   "/doEmergencySave"

Definition at line 36 of file docrecovery.hxx.

#define RECOVERY_CMDPART_DO_RECOVERY   "/doAutoRecovery"

Definition at line 37 of file docrecovery.hxx.

#define RECOVERY_CMDPART_PROTOCOL   "vnd.sun.star.autorecovery:"

Definition at line 34 of file docrecovery.hxx.

#define RECOVERY_OPERATIONSTATE_START   "start"

Definition at line 60 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define RECOVERY_OPERATIONSTATE_STOP   "stop"

Definition at line 61 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define RECOVERY_OPERATIONSTATE_UPDATE   "update"

Definition at line 62 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_FACTORYURL   "FactoryURL"

Definition at line 55 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_ID   "ID"

Definition at line 51 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_MODULE   "Module"

Definition at line 58 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_ORGURL   "OriginalURL"

Definition at line 53 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_STATE   "DocumentState"

Definition at line 52 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_TEMPLATEURL   "TemplateURL"

Definition at line 56 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_TEMPURL   "TempURL"

Definition at line 54 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

#define STATEPROP_TITLE   "Title"

Definition at line 57 of file docrecovery.hxx.

Referenced by svx::DocRecovery::RecoveryCore::statusChanged().

Enumeration Type Documentation

enum EDocStates
strong
Enumerator
Unknown 

default state, if a document was new created or loaded

TryLoadBackup 

an action was started (saving/loading) ...

Can be interesting later if the process may be was interrupted by an exception.

TryLoadOriginal 
Damaged 

the Auto/Emergency saved document isn't usable any longer

Incomplete 

the Auto/Emergency saved document is not really up-to-date (some changes can be missing)

Succeeded 

the Auto/Emergency saved document was processed successfully

Definition at line 70 of file docrecovery.hxx.