InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISpreadLayer.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Zak_Williamson
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 __ISPREADLAYER__
25 #define __ISPREADLAYER__
26 
27 #include "IPMUnknown.h"
28 #include "LayerID.h"
29 
30 #include "IDocumentLayer.h" // for TextWrapLayerOptionsEnum
31 class GraphicsData;
32 class PMString;
33 
53 class ISpreadLayer : public IPMUnknown
54 {
55 public:
56  enum { kDefaultIID = IID_ISPREADLAYER };
57 
65  virtual void SetDocLayer(IDocumentLayer * docLayer) = 0;
66 
70  virtual IDocumentLayer * QueryDocLayer() const = 0;
71 
75  virtual UID GetDocLayerUID() const = 0;
76 
80  virtual void GetName(PMString * pName) const= 0;
81 
86  virtual UID GetColorUID() const = 0;
87 
93  virtual void SetIsGuideLayer(bool16 isGuideLayer) = 0;
94 
100  virtual bool16 GetIsGuideLayer() const = 0;
101 
108  virtual bool16 IsLocked() const = 0;
109 
116  virtual bool16 IsVisible() const = 0;
117 
123  virtual bool16 IsPrintable() const = 0;
124 
131  virtual void Inval( GraphicsData *gd, ClassID reasonForInval = 0, int32 flags = 0 ) = 0 ;
132 
137  virtual bool16 GetIgnoreTextWrapWhenNotVisible(void) const = 0;
138 };
139 
140 #endif