![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IALIGNANDDISTRIBUTESUITE } |
Public Member Functions | |
| virtual bool16 | CanAlign (AlignType alignHow) const =0 |
| virtual bool16 | CanDistribute (DistributeType distributeHow, const PMReal &spacingValue, UseDistributeValue useValue) const =0 |
| virtual bool16 | CanSetKeyObject () const =0 |
| virtual bool16 | CanCancelKeyObject () const =0 |
| virtual bool16 | CanToggleKeyObject () const =0 |
| virtual bool16 | IsKeyObjectSelected () const =0 |
| virtual ErrorCode | DoAlign (AlignType alignHow)=0 |
| virtual ErrorCode | DoDistribute (DistributeType distributeHow, const PMReal &spacingValue, UseDistributeValue useValue)=0 |
| virtual ErrorCode | DoSetKeyObject (const UIDRef &item=kInvalidUIDRef)=0 |
| virtual ErrorCode | DoCancelKeyObject ()=0 |
| virtual ErrorCode | DoToggleKeyObject (const UIDRef &item)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Returns kTrue if DoAlign() can be called, kFalse otherwise..
| alignHow | - how to align the objects, see IAlignCmdData |
| pure virtual |
Returns kTrue if the key object can be cleared, kFalse otherwise (i.e. it is not set)
| pure virtual |
Returns kTrue if DoDistribute() can be called, kFalse otherwise..
| distributeHow | - how to distribute the objects, see IDistributeCmdData |
| spacingValue | - spacing value for between objects |
| useValue | - use the spacingValue or not |
| pure virtual |
Returns kTrue if the key object can be called, kFalse otherwise.
| pure virtual |
Returns kTrue if the key object can be cleared or set.
| pure virtual |
Process commands to align the items in the selection with the specified type of alignment.
| alignHow | - how to align the objects, see IAlignCmdData |
| pure virtual |
Clear any key object that has been set.
| pure virtual |
Process commands to distribute the items in the selection with the specified type of distribution. Depending on the value of useValue, optionally use the spacing value in distribution.
| distributeHow | - how to distribute the objects, see IDistributeCmdData |
| spacingValue | - spacing value for between objects |
| useValue | - use the spacingValue or not |
| pure virtual |
Set the key object. If default value (kInvalidUIDRef) is used, one of the objects in the selection will be used, or a particular object may be chosen.
| item | - the UIDRef of the item in the selection to use as the "key" object. |
| pure virtual |
If indicated object is key object, clear it, if not, set it.
| item | - the UIDRef of the item in the selection to toggle as the "key" object. |
| pure virtual |
Returns kTrue if the key object is selected.