InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IArrangeFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: lance bushore
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 _IArrangeFacade_
28 #define _IArrangeFacade_
29 
30 #include "LayoutID.h"
31 
32 namespace Facade
33 {
34  class IArrangeFacade : public IPMUnknown
35  {
36  public:
37  enum { kDefaultIID = IID_IARRANGEFACADE };
38 
39  public:
45  virtual bool16 CanBringToFront(const UIDList& targetItemList, UID referenceItem = kInvalidUID) const = 0;
46 
51  virtual bool16 CanBringForward(const UIDList& targetItemList) const = 0;
52 
57  virtual bool16 CanSendBackward(const UIDList& targetItemList) const = 0;
58 
64  virtual bool16 CanSendToBack(const UIDList& targetItemList, UID referenceItem = kInvalidUID) const = 0;
65 
72  virtual ErrorCode ProcessBringToFront (const UIDList& targetItemList, UID referenceItem = kInvalidUID, bool16 bDuplicate = kFalse) = 0;
73 
78  virtual ErrorCode ProcessBringForward (const UIDList& targetItemList) = 0;
79 
84  virtual ErrorCode ProcessSendBackward (const UIDList& targetItemList) = 0;
85 
92  virtual ErrorCode ProcessSendToBack (const UIDList& targetItemList, UID referenceItem = kInvalidUID, bool16 bDuplicate = kFalse) = 0;
93 
94  };
95 }
96 #endif // _IArrangeFacade_