InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
INewLayerCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: robin briggs
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 // Data interface for the NewLayerCmd.
24 //
25 //========================================================================================
26 
27 #ifndef __INewLayerCmdData__
28 #define __INewLayerCmdData__
29 
30 #include "IPMUnknown.h"
31 #include "LayerID.h"
32 
33 class PMString;
34 
42 {
43 public:
58  virtual void Set(const UIDRef& layerList, const PMString *name = nil,
59  bool16 isVisible = kTrue, bool16 isLocked = kFalse,
60  bool16 isGuideVisible = kTrue, bool16 isGuideLocked = kFalse,
61  UID layerColor = kInvalidUID,
62  bool16 isUILayer = kTrue, bool16 isExpendable = kTrue) = 0;
63 
68  virtual const UIDRef& GetLayerList() = 0;
69 
74  virtual const PMString& GetName() = 0;
75 
81  virtual bool16 IsVisible() = 0;
82 
88  virtual bool16 IsLocked() = 0;
89 
96  virtual bool16 IsGuideVisible() = 0;
97 
104  virtual bool16 IsGuideLocked() = 0;
105 
111  virtual UID GetColor() = 0;
112 
117  virtual bool16 IsUILayer() = 0;
118 
123  virtual bool16 IsLayerExpendable() = 0; // can the layer be deleted?
124 
129  virtual void SetPrintable(bool16 bPrintable) = 0;
130 
135  virtual bool16 IsPrintable() = 0;
136 
140  virtual void SetIgnoreTextWrapWhenNotVisible(bool16 bIgnoreWhenNotVisible) = 0;
141 
146  virtual bool16 GetIgnoreTextWrapWhenNotVisible() = 0;
147 };
148 
149 
150 #endif // __INewLayerCmdData__