InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPageItemVisibilityFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: bob freeman
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:
24 //
25 //========================================================================================
26 
27 #ifndef _IPageItemVisibilityFacade_
28 #define _IPageItemVisibilityFacade_
29 
30 #include "GenericID.h"
31 
36 namespace Facade
37 {
39  {
40  public:
41  enum { kDefaultIID = IID_IPAGEITEMVISIBILITYFACADE };
42 
43 
48  virtual bool16 CanHide(const UIDRef& targetItem) const = 0;
49 
54  virtual bool16 CanAnyHide(const UIDList& targetItemList) const = 0;
55 
63  virtual bool16 GetVisibleState(const UIDRef& targetItem) const = 0;
64 
65 
70  virtual bool16 IsHidden(const UIDRef& targetItem) const = 0;
71 
76  virtual bool16 AreAnyHidden (const UIDList& targetItemList) const = 0;
77 
82  virtual bool16 AreAllHidden (const UIDList& targetItemList) const = 0;
83 
88  virtual bool16 AreAnyHiddenOnSpread (const UIDRef& targetItem) const = 0;
89 
94  virtual ErrorCode Show (const UIDList& targetItemList) = 0;
95 
100  virtual ErrorCode Hide (const UIDList& targetItemList) = 0;
101 
106  virtual ErrorCode ShowAllInSpread (const UIDRef& targetSpread) = 0;
107 
114  virtual ErrorCode GetHiddenObjects(const UIDRef& targetSpread, UIDList& hiddenItems ) = 0;
115 
120  virtual bool16 IsVisibleOnCanvas(const UIDRef& targetItem) const = 0;
121 
122  };
123 }
124 #endif // _IPageItemVisibilityFacade_