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

Public Types | |
| enum | { kDefaultIID = IID_IASSIGNEDDOCUMENT } |
Public Member Functions | |
| virtual void | AddAssignment (IAssignment *assignment)=0 |
| virtual void | RemoveAssignment (IAssignment *assignment, bool16 deleteFile)=0 |
| virtual void | MoveAssignment (IAssignment *assignment, IAssignment *beforeAssignment)=0 |
| virtual UIDList | GetAssignments () const =0 |
| virtual ErrorCode | MoveAssignmentCmd (IAssignment *assignment, IAssignment *beforeAssignment)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This class is used to manage the list of assignments in an InDesign document. This object is added into kDocBoss, so you can get it from the RootUID of the IDataBase.
| pure virtual |
Add an assignment to the document. Must be called from a command.
| assignment | The assignment to add to the document. |
| pure virtual |
Returns the list of assignments in this document. Can supply a const_iterator.
| pure virtual |
Moves an assignment before another assignment.
| assignment | - The assignment to move. |
| beforeAssignment | - The assignment to move in front of. Pass nil to move to the end of the list. |
| pure virtual |
Moves an assignment before another assignment.
| assignment | - The assignment to move. |
| beforeAssignment | - The assignment to move in front of. Pass nil to move to the end of the list. |
| pure virtual |
Remove an assignment from the document. Must be called from a command.
| assignment | The assignment to remove. |