InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CPageItemName.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: lance bushore
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
20 // with the terms of the Adobe license agreement accompanying it. If you have received
21 // this file from a source other than Adobe, then your use, modification, or
22 // distribution of it requires the prior written permission of Adobe.
23 //
24 //========================================================================================
25 
26 #ifndef __CPageItemName__
27 #define __CPageItemName__
28 
29 #include "IPageItemName.h"
30 #include "CPMUnknown.h"
31 
32 
33 class CPageItemName : public CPMUnknown<IPageItemName>
34 {
35 public:
37  virtual ~CPageItemName();
38 
39  virtual PMString GetPageItemName() const;
40  virtual PMString GetDefaultNameForObject() const;
41  virtual void SetPageItemName(const PMString& newName);
42 
43  virtual void ReadWrite(IPMStream *s, ImplementationID prop);
44 
45 private:
46  PMString fCurrentName;
47 
48 };
49 
50 #endif