InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAssignedStory.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jon Pugh
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 _IASSIGNEDSTORY_
25 #define _IASSIGNEDSTORY_
26 
27 #include "AssignmentID.h"
28 #include "PMString.h"
29 
30 
31 class IAssignment;
32 
33 
38 class IAssignedStory : public IPMUnknown
39 {
40 public:
41  enum { kDefaultIID = IID_IASSIGNEDSTORY };
42 
47  virtual UIDRef GetUIDRef() = 0;
48 
53  virtual void SetUIDRef(const UIDRef& uidref) = 0;
54 
59  virtual const PMString& GetFile() = 0;
60 
65  virtual void SetFile(const PMString& file) = 0;
66 
71  virtual const PMString& GetName() = 0;
72 
77  virtual void SetName(const PMString& name) = 0;
78 
83  virtual IAssignment* GetAssignment() = 0;
84 
90  virtual void SetAssignment(IAssignment* assignment) = 0;
91 
95  virtual bool16 IsDirty() = 0;
96 
101  virtual void Update() = 0;
102 
106  virtual void Register() = 0;
107 
111  virtual void Unregister() = 0;
112 
120  virtual ErrorCode SetProps(const UIDRef& uidref, const PMString& file, const PMString& name) = 0;
121 };
122 
125 
126 #endif //_IASSIGNEDSTORY_