LibreOffice Module svx (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Variables
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

namespace  o3tl
 
namespace  svx
 
namespace  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_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 class  EDocStates {
  Unknown = 0x000 ,
  TryLoadBackup = 0x010 ,
  TryLoadOriginal = 0x020 ,
  Damaged = 0x040 ,
  Incomplete = 0x080 ,
  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 ,
  svx::DocRecovery::E_WILL_BE_DISCARDED
}
 

Variables

constexpr OUStringLiteral RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE = u"vnd.sun.star.autorecovery:/doPrepareEmergencySave"
 
constexpr OUStringLiteral RECOVERY_CMD_DO_EMERGENCY_SAVE = u"vnd.sun.star.autorecovery:/doEmergencySave"
 
constexpr OUStringLiteral RECOVERY_CMD_DO_RECOVERY = u"vnd.sun.star.autorecovery:/doAutoRecovery"
 
constexpr OUStringLiteral RECOVERY_CMD_DO_ENTRY_BACKUP = u"vnd.sun.star.autorecovery:/doEntryBackup"
 
constexpr OUStringLiteral RECOVERY_CMD_DO_ENTRY_CLEANUP = u"vnd.sun.star.autorecovery:/doEntryCleanUp"
 
constexpr OUStringLiteral PROP_STATUSINDICATOR = u"StatusIndicator"
 
constexpr OUStringLiteral PROP_DISPATCHASYNCHRON = u"DispatchAsynchron"
 
constexpr OUStringLiteral PROP_SAVEPATH = u"SavePath"
 
constexpr OUStringLiteral PROP_ENTRYID = u"EntryID"
 
constexpr OUStringLiteral STATEPROP_ID = u"ID"
 
constexpr OUStringLiteral STATEPROP_STATE = u"DocumentState"
 
constexpr OUStringLiteral STATEPROP_ORGURL = u"OriginalURL"
 
constexpr OUStringLiteral STATEPROP_TEMPURL = u"TempURL"
 
constexpr OUStringLiteral STATEPROP_FACTORYURL = u"FactoryURL"
 
constexpr OUStringLiteral STATEPROP_TEMPLATEURL = u"TemplateURL"
 
constexpr OUStringLiteral STATEPROP_TITLE = u"Title"
 
constexpr OUStringLiteral STATEPROP_MODULE = u"Module"
 

Macro Definition Documentation

◆ DLG_RET_CANCEL

#define DLG_RET_CANCEL   RET_CANCEL

Definition at line 66 of file docrecovery.hxx.

◆ DLG_RET_OK

#define DLG_RET_OK   RET_OK

Definition at line 65 of file docrecovery.hxx.

◆ DLG_RET_OK_AUTOLUNCH

#define DLG_RET_OK_AUTOLUNCH   101

Definition at line 67 of file docrecovery.hxx.

◆ DLG_RET_UNKNOWN

#define DLG_RET_UNKNOWN   -1

Definition at line 64 of file docrecovery.hxx.

◆ RECOVERY_CMDPART_DO_BRINGTOFRONT

#define RECOVERY_CMDPART_DO_BRINGTOFRONT   "/doBringToFront"

Definition at line 38 of file docrecovery.hxx.

◆ RECOVERY_CMDPART_DO_EMERGENCY_SAVE

#define RECOVERY_CMDPART_DO_EMERGENCY_SAVE   "/doEmergencySave"

Definition at line 36 of file docrecovery.hxx.

◆ RECOVERY_CMDPART_DO_RECOVERY

#define RECOVERY_CMDPART_DO_RECOVERY   "/doAutoRecovery"

Definition at line 37 of file docrecovery.hxx.

◆ RECOVERY_CMDPART_PROTOCOL

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

Definition at line 34 of file docrecovery.hxx.

◆ RECOVERY_OPERATIONSTATE_START

#define RECOVERY_OPERATIONSTATE_START   "start"

Definition at line 60 of file docrecovery.hxx.

◆ RECOVERY_OPERATIONSTATE_STOP

#define RECOVERY_OPERATIONSTATE_STOP   "stop"

Definition at line 61 of file docrecovery.hxx.

◆ RECOVERY_OPERATIONSTATE_UPDATE

#define RECOVERY_OPERATIONSTATE_UPDATE   "update"

Definition at line 62 of file docrecovery.hxx.

Enumeration Type Documentation

◆ EDocStates

enum class 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.

Variable Documentation

◆ PROP_DISPATCHASYNCHRON

constexpr OUStringLiteral PROP_DISPATCHASYNCHRON = u"DispatchAsynchron"
inlineconstexpr

◆ PROP_ENTRYID

constexpr OUStringLiteral PROP_ENTRYID = u"EntryID"
inlineconstexpr

◆ PROP_SAVEPATH

constexpr OUStringLiteral PROP_SAVEPATH = u"SavePath"
inlineconstexpr

◆ PROP_STATUSINDICATOR

constexpr OUStringLiteral PROP_STATUSINDICATOR = u"StatusIndicator"
inlineconstexpr

◆ RECOVERY_CMD_DO_EMERGENCY_SAVE

constexpr OUStringLiteral RECOVERY_CMD_DO_EMERGENCY_SAVE = u"vnd.sun.star.autorecovery:/doEmergencySave"
inlineconstexpr

◆ RECOVERY_CMD_DO_ENTRY_BACKUP

constexpr OUStringLiteral RECOVERY_CMD_DO_ENTRY_BACKUP = u"vnd.sun.star.autorecovery:/doEntryBackup"
inlineconstexpr

◆ RECOVERY_CMD_DO_ENTRY_CLEANUP

constexpr OUStringLiteral RECOVERY_CMD_DO_ENTRY_CLEANUP = u"vnd.sun.star.autorecovery:/doEntryCleanUp"
inlineconstexpr

◆ RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE

constexpr OUStringLiteral RECOVERY_CMD_DO_PREPARE_EMERGENCY_SAVE = u"vnd.sun.star.autorecovery:/doPrepareEmergencySave"
inlineconstexpr

◆ RECOVERY_CMD_DO_RECOVERY

constexpr OUStringLiteral RECOVERY_CMD_DO_RECOVERY = u"vnd.sun.star.autorecovery:/doAutoRecovery"
inlineconstexpr

◆ STATEPROP_FACTORYURL

constexpr OUStringLiteral STATEPROP_FACTORYURL = u"FactoryURL"
inlineconstexpr

Definition at line 55 of file docrecovery.hxx.

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

◆ STATEPROP_ID

constexpr OUStringLiteral STATEPROP_ID = u"ID"
inlineconstexpr

Definition at line 51 of file docrecovery.hxx.

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

◆ STATEPROP_MODULE

constexpr OUStringLiteral STATEPROP_MODULE = u"Module"
inlineconstexpr

Definition at line 58 of file docrecovery.hxx.

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

◆ STATEPROP_ORGURL

constexpr OUStringLiteral STATEPROP_ORGURL = u"OriginalURL"
inlineconstexpr

Definition at line 53 of file docrecovery.hxx.

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

◆ STATEPROP_STATE

constexpr OUStringLiteral STATEPROP_STATE = u"DocumentState"
inlineconstexpr

Definition at line 52 of file docrecovery.hxx.

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

◆ STATEPROP_TEMPLATEURL

constexpr OUStringLiteral STATEPROP_TEMPLATEURL = u"TemplateURL"
inlineconstexpr

Definition at line 56 of file docrecovery.hxx.

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

◆ STATEPROP_TEMPURL

constexpr OUStringLiteral STATEPROP_TEMPURL = u"TempURL"
inlineconstexpr

Definition at line 54 of file docrecovery.hxx.

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

◆ STATEPROP_TITLE

constexpr OUStringLiteral STATEPROP_TITLE = u"Title"
inlineconstexpr

Definition at line 57 of file docrecovery.hxx.

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