InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CGraphicAttributeInfo.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Yeming Liu
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 
25 #ifndef __CGraphicAttributeInfo__
26 #define __CGraphicAttributeInfo__
27 
28 #include "IGraphicAttributeInfo.h"
29 
36 class CGraphicAttributeInfo : public CPMUnknown<IGraphicAttributeInfo>
37 {
38  public:
42 
46 
47  public:
48  virtual PMString* GetName (void) const;
49 
50  virtual bool16 IsTextAttribute (void) const;
51  virtual bool16 IsGraphicAttribute (void) const;
52  virtual bool16 IsTableAttribute (void) const;
53  virtual bool16 IsRequiredGraphicAttr (void) const;
54  virtual bool16 AffectsPageItemGeometry (void) const;
55 
56  virtual bool16 ObservedByGraphicState (void) const;
57  virtual bool16 ObservedByTransparencyAttrSuite (void) const;
58  virtual IPMUnknown* CreateTextAttribute (void) const;
59  virtual IPMUnknown* CreateTableAttribute (void) const;
60 
61  virtual IPMUnknown* DuplicateAttribute (const PMIID& iid) const;
62 
63  virtual bool16 IsEqual (const IPMUnknown* otherAttr) const;
64 
65  virtual ClassID GetClass (void) const;
66 
67  virtual PMString GetValue(const ClassID& attrClass, const IWorkspace* ws) const;
68 
69  private:
70  int16 fAttributeKind;
71  ClassID fClassID;
72  IPMUnknown* fDataInterface;
73 };
74 
75 #endif