![]() | InDesign SDK 20.5 |

Public Member Functions | |
| PstLstUIDList (IPMUnknown *boss) | |
| virtual | ~PstLstUIDList () |
| virtual void | Append (const UID &uid) |
| virtual void | Remove (const UID &uid) |
| virtual const UIDList * | GetUIDList () |
| virtual UIDRef | GetRef (int32 index) |
| virtual IDataBase * | GetDataBase () |
| virtual void | ReadWrite (IPMStream *s, ImplementationID prop) |
Public Member Functions inherited from CPMUnknown< IPstLstUIDList > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Public Types inherited from IPstLstUIDList | |
| enum | { kDefaultIID = IID_IPSTLSTUIDLIST } |
Protected Member Functions inherited from CPMUnknown< IPstLstUIDList > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< IPstLstUIDList > | |
| HelperInterface | fHelperInterface |
A persistent IPstLstUIDList implementation, which is aggregated in kDrawablePageItemBoss. When this plug-in is loaded, a page item will carry this UID list which contains UIDs of all associated persistent list items. UIDs of persistent list items are added to the list by processing kPstLstNewDataCmdBoss. PstLstUIDList allows adding/removing of a UID to/from the list. In the UI plug-in (persistentlistui), a user can see this list of UIDs as children of drawable page item node on the plug-in's panel.
| PstLstUIDList::PstLstUIDList | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Destructor. The UIDList is deleted.
| virtual |
Appends a UID of an object to the UID list of persistent list items.
NOTE: This method must be called from within a command, as it internally dirties the database. Client code must process the kPstLstNewDataCmdBoss instead of calling this method directly.
| uid | IN The UID of the object to be appened to the UID list. |
Implements IPstLstUIDList.
| virtual |
Gets the database associated with the persistent list.
Implements IPstLstUIDList.
| virtual |
Given an index, this routine will return the corresponding object's UIDRef.
| index | IN The index of the object in the persistent item list. |
Implements IPstLstUIDList.
| virtual |
Gets the list of persistent list items maintained.
Implements IPstLstUIDList.
| virtual |
Because this is a persistent interface, it must support the ReadWrite method. This method is used for both writing data out to the database and reading data from the database. The infomation it reads/writes include the current selected UID and the whole UID list of persistent list items associated.
| s | IN Contains the stream to read or write. |
| prop | IN The implementation ID to read or write |
| virtual |
Removes a UID of an object from the UID list of persistent list items.
NOTE: This method must be called from within a command, as it internally dirties the database. Client code must process the kPstLstDeleteDataCmdBoss instead of calling this method directly.
| uid | IN The UID of the object to be removed from the UID list. |
Implements IPstLstUIDList.