InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ILayerSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Paul Sorrick
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 __ILayerSuite__
25 #define __ILayerSuite__
26 
27 
28 #include "IPMUnknown.h"
29 
30 #include "LayerPanelID.h"
31 #include "ISelectionMessages.h"
32 
33 class IControlView;
34 class IDocumentLayer;
35 class ISelectionManager;
36 
44 class ILayerSuite : public IPMUnknown
45 {
46  public:
47  enum { kDefaultIID = IID_ILAYERSUITE };
48 
49 
53  virtual void GetSelectedLayers(UIDList& docLayerUIDList) = 0;
54 
61  virtual bool16 AreAllItemsOnLayerSelected(IDocumentLayer* documentLayer, IControlView* view, bool16 guideLayerOnly) = 0;
62 
68  virtual void DeselectAllItemsOnLayer(IDocumentLayer* documentLayer, IControlView* view, bool16 guideLayerOnly) = 0;
69 
74  virtual void DeselectAllItemsInList(UIDList& list, ISelectionManager* selectionMgr) = 0;
75 
82  virtual void SelectAllItemsOnLayer(IDocumentLayer* documentLayer, IControlView* view, bool16 guideLayerOnly, Selection::Action replaceOrAdd) = 0;
83 
93  virtual ErrorCode MoveToLayer(IDocumentLayer* sourceLayer, IDocumentLayer* targetLayer, IControlView* view, Selection::Action replaceOrAdd, bool16 bDuplicate) = 0;
94 
98  virtual UIDList GetSelectedItemsForLayersPanel() const = 0;
99 };
100 
101 #endif // __IShortcutContext__
102 
103