InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStepAndRepeatSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ryan Gano
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 __ISTEPANDREPEATSUITE__
25 #define __ISTEPANDREPEATSUITE__
26 
27 // Interface Includes:
28 #include "IPMUnknown.h"
29 #include "ShuksanID.h"
30 
31 // Implementation includes:
32 #include "PMPoint.h"
33 
34 // Forward declarations
35 class IControlView;
36 
41 {
42 public:
43  enum { kDefaultIID = IID_ISTEPANDREPEATSUITE };
44 
45 // ----- Abilities
50  virtual bool16 CanStepAndRepeat() const = 0;
51 
56  virtual bool16 CanStepAndRepeatVertical() const = 0;
57 
62  virtual bool16 CanStepAndRepeatHorizontal() const = 0;
63 
70  virtual bool16 AreValuesAllowed(const PBPMPoint& offset, int32 repeatCountOrRowCount, int32 columnCount) const = 0;
71 
72 // ----- Manipulators
73 
81  virtual ErrorCode StepAndRepeat(const PBPMPoint& offset, int32 repeatCountOrRowCount, int32 columnCount, const UIDRef& layerRef) = 0;
82 
87  virtual ErrorCode FinalizeSelection(const UIDList& allStepAndRepeatItems) = 0;
88 };
89 
90 #endif // __ISTEPANDREPEATSUITE__