![]() | InDesign SDK 20.5 |
#include <IStepAndRepeatSuite.h>

Public Types | |
| enum | { kDefaultIID = IID_ISTEPANDREPEATSUITE } |
Public Member Functions | |
| virtual bool16 | CanStepAndRepeat () const =0 |
| virtual bool16 | CanStepAndRepeatVertical () const =0 |
| virtual bool16 | CanStepAndRepeatHorizontal () const =0 |
| virtual bool16 | AreValuesAllowed (const PBPMPoint &offset, int32 repeatCountOrRowCount, int32 columnCount) const =0 |
| virtual ErrorCode | StepAndRepeat (const PBPMPoint &offset, int32 repeatCountOrRowCount, int32 columnCount, const UIDRef &layerRef)=0 |
| virtual ErrorCode | FinalizeSelection (const UIDList &allStepAndRepeatItems)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Defines the interface for a step and repeat suite to be used in the new selection architecture
| pure virtual |
Can values be passed in to Step and Repeat (Text for instance cannot receive values)
| offset | - The values client would like to use |
| repeatCountOrRowCount | - The number of times client would like to repeat the step and repeat. When columnCount is not -1, this is the rowCount. |
| columnCount | - The number of times client would like to repeat columns when creating a grid. Use a value of -1 when not creating a grid. |
| pure virtual |
Can this selection be step and repeated
| none |
| pure virtual |
Can this selection be step and repeated horizontally
| none |
| pure virtual |
Can this selection be step and repeated vertically
| none |
| pure virtual |
Finalize the selection after the Step and Repeat action. e.g. Select just the newly created items.
| allStepAndRepeatItems | - all the items that are stepped and repeated. This includes the original items and the newly created ones. |
| pure virtual |
Perform the Step and Repeat action
| offset | - Offset to use |
| repeatCountOrRowCount | - Number of times to repeat, or number of rows to create. |
| columnCount | - Number of columns to create, -1 when just doing a standard "repeat" Step and Repeat. |
| layerRef | - This is the layer to step and repeat onto |