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

Classes | |
| struct | Int2Type |
| struct | LockedParentChoice |
| struct | StandoffChoice |
Public Types | |
| enum | { kDefaultIID = IID_ILAYOUTTARGET } |
Public Member Functions | |
| virtual void | Add (const UID newItem)=0 |
| virtual void | Add (const UIDList &newItems)=0 |
| virtual void | Remove (const UID itemToRemove)=0 |
| virtual void | Clear (void)=0 |
| virtual UIDList | GetUIDList (StandoffChoice stripStandoffs, LockedParentChoice stripIfParentLocked) const =0 |
| UIDList | GetUIDList (StandoffChoice stripStandoffs) const |
| virtual void | SetUIDList (const UIDList &)=0 |
| virtual void | SetUIDList (const UID)=0 |
| virtual UIDList | CreateFlattenedUIDList (const PMIID &) const =0 |
| virtual void | CalculatePreviousSelectionDifferences (UIDList *addedPageItems, UIDList *removedPageItems)=0 |
| virtual void | Initialize (IDataBase *)=0 |
| virtual bool16 | PartOfTarget (const UID &) const =0 |
| virtual void | TargetChanged (void)=0 |
| virtual bool16 | HasContent (void) const =0 |
| virtual UIDRef | GetKeyObject (void) const =0 |
| virtual void | SetKeyObject (const UIDRef &keyObject)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The Layout target interface. A wrapper around the a UIDList for selection and target bosses
| pure virtual |
Add a new item
| pure virtual |
Add a new item
| pure virtual |
Calculate the differences between the last two layout selections.
| pure virtual |
Clear the target
Return the previous target. Only works on the LayoutCSB. Flattent the target's UIDList. This means: (a) Remove any page item that does not have the GfxSelection interface (b) Expand all containers so their children are in the returned list (c) Filter out any page items that do not support "interfaceID" (optional) (d) Any duplicates are removed from the list.
NOTE: If "interfaceID" is kInvalidInterfaceID don't filter any page items.
| pure virtual |
Return the key object, kInvalidUIDRef if none
| pure virtual |
Get the target
| pure virtual |
Has content, is the UIDList non empty
| pure virtual |
Initialize
| pure virtual |
Is the UID part of the target
| pure virtual |
Remove a item
| pure virtual |
Set the key object, kInvalidUIDRef to clear
| pure virtual |
Set the target
| pure virtual |
Set the target
| pure virtual |
The target has changed