InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IRecoverDocumentCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Roey Horns
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IRecoverDocumentCmdData__
25 #define __IRecoverDocumentCmdData__
26 
27 #include "IPMUnknown.h"
28 
29 #ifndef __IDATABASE__
30 #include "IDataBase.h"
31 #endif
32 #include "PMString.h"
33 #include "IDocument.h"
34 #include "DocumentID.h"
35 
36 
38 {
39 public:
40  enum {kDefaultIID = IID_IRECOVERDOCUMENTCMDDATA};
41  virtual void SetPubFilePath(const PMString &path) = 0;
42  virtual void SetMiniSaveFilePath(const PMString &path) = 0;
43  virtual void SetProtectionLevel(IDataBase::ProtectionLevel level) = 0;
44  virtual void SetOpenUIFlag(const bool16& bOpen) = 0;
45  virtual void SetIsFauxUserFile(bool bIsFauxUserFile) = 0;
46 
51  virtual void SetUndoSupport(IDocument::UndoSupport undoSupport) = 0;
52 
53 
54  virtual const PMString& PubFilePath() const = 0;
55  virtual const PMString& MiniSaveFilePath() const = 0;
56  virtual IDataBase::ProtectionLevel ProtectionLevel() const = 0;
57  virtual const bool16& GetOpenUIFlag() const = 0;
58  virtual bool16 GetIsFauxUserFile() const = 0;
63  virtual IDocument::UndoSupport GetUndoSupport() const = 0;
64 };
65 
66 
67 #endif // __IDocProtectionPrefsCmdData__