![]() | InDesign SDK 20.5 |
#include <PstLstUtils.h>
Static Public Member Functions | |
| static ErrorCode | DoCreateNewData (const UIDList &pageItemListToAddTo, const WideString &name, UIDList &newItemsList) |
| static ErrorCode | DoGetName (const UIDRef &pstLstItemRef, WideString &name) |
| static ErrorCode | DoSetName (UIDList &pstLstDataList, const WideString &name) |
| static bool16 | AllPstLstAreEmpty (const UIDList &itemList) |
| static void | RemoveNonPstLstItems (UIDList &pageItemList) |
Implements some model-specific helper methods shared by different source files in this plug-in.
| static |
Tests whether all items in the itemList are devoid of persistent list items.
| itemList | IN List of page items to examine. These page items must aggregate IPstLstUIDList. |
| static |
Creates new persistent list item data on a page item.
| pageItemListToAddTo | IN List of page items (which aggregate IPstLstUIDList) to which you want to add new persistent list items. |
| name | IN The name of the persistent list item to add to each item in pageItemListToAddTo. |
| newItemsList | OUT The newly created persistent list items. |
| static |
Gets the name of the persistent list item.
| pstLstItemRef | IN The persistent list item to examine (not page item). |
| name | OUT The name in the persistent list item. |
| static |
Sets the name of the persistent list item.
| pstLstDataList | IN The list of persistent list items to modify (not page item). |
| name | IN The new name in the persistent list item. |
| static |
Removes page items that do not have any persistent list items.
| pageItemList | IN/OUT A list of page items to examine. This list is modified and returned to the caller via this parameter. |