InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
INoteData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Wai Cheuk
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 // Comments: This interface saves the information about note data
24 //
25 //========================================================================================
26 
27 #ifndef __INOTEDATA__
28 #define __INOTEDATA__
29 
30 #include "IPMUnknown.h"
31 #include "InCopySharedID.h"
32 #include "WideString.h"
33 #include "GlobalTime.h"
34 
40 class INoteData : public IPMUnknown
41 {
42  public:
43  enum { kDefaultIID = IID_INOTEDATA };
44 
49  virtual const WideString& GetAuthor() const = 0;
50 
51 
55  virtual void SetAuthor(const WideString& author) = 0;
56 
61  virtual bool16 GetCollapse() const = 0;
62 
67  virtual void SetCollapse(bool16 collapsedState) = 0;
68 
73  virtual GlobalTime GetCreationTime() const = 0;
74 
78  virtual void SetCreationTime(const GlobalTime newTime) = 0;
79 
84  virtual GlobalTime GetModifiedTime() const = 0;
85 
89  virtual void SetModifiedTime(const GlobalTime newTime) = 0;
90 };
91 
92 #endif // __INOTEDATA__