InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGraphicStyleDescriptor.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael_Martz
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 // Note: This interface is used by clients of graphic attributes to ascertain
24 // which attributes are present on a page item. This interface will resolve
25 // any applied graphic style and override and return the requested attribute.
26 //
27 //========================================================================================
28 
29 #ifndef _IGRAPHIC_STYLE_DESCRIPTOR_
30 #define _IGRAPHIC_STYLE_DESCRIPTOR_
31 //========================================================================================
32 //________________________________________________________________________________________
33 // INCLUDES
34 //________________________________________________________________________________________
35  #include "IPMUnknown.h"
36  #include "GraphicStylesID.h"
37  #include "ShuksanID.h"
38 //========================================================================================
39 //________________________________________________________________________________________
40 // CLASS DECLARATIONS
41 //________________________________________________________________________________________
43 
48  {
49  //________________________________________________________________________________
50  // Data Types
51  //________________________________________________________________________________
52  public:
53  enum { kDefaultIID = IID_IGRAPHICSTYLE_DESCRIPTOR };
54 
55  //___________________________________________________________________________
56  // Attribute access
57  //___________________________________________________________________________
58  public:
64  virtual IPMUnknown* QueryAttribute (ClassID attrClass, const PMIID& interfaceID = IID_IUNKNOWN) = 0;
65 
72  virtual IPMUnknown* CreateAttributeCopy (ClassID attrClass, const PMIID& interfaceID = IID_IUNKNOWN) = 0;
73 
78 
82  virtual K2Vector<ClassID>* CreateDescriptorClassList (void) = 0;
83  };
84 
85 #endif // _IGRAPHIC_STYLE_DESCRIPTOR_