![]() | InDesign SDK 20.5 |
Public Member Functions | |
| SnpSelectShape () | |
| virtual | ~SnpSelectShape () |
| ErrorCode | ReportObjectType (PMPageItemType pathType) |
| void | FindSimilarObjectTypes (PMPageItemType pathType, UIDList &uids, ISpread *spread) |
| void | Select (ISelectionManager *selectionManager, const UIDList &itemList) |
This snippet identifies the PMPageItemType of the current page item selection, then searches the spread containing the selection for all other page items of the same type.
| inline |
Constructor.
| inlinevirtual |
Destructor.
| void SnpSelectShape::FindSimilarObjectTypes | ( | PMPageItemType | pathType, |
| UIDList & | uids, | ||
| ISpread * | spread | ||
| ) |
Find all page items of the same PMPageItemType.
| pathType | (in) Specifies enum of shape types. |
| uids | (in/out) Specifies list to hold similar page items. |
| spread | (in) Specifies pointer to spread containing selection. |
| ErrorCode SnpSelectShape::ReportObjectType | ( | PMPageItemType | pathType | ) |
Report selected object shape type to sniplog.
| pathType | (in) Specifies enum of shape types. |
| void SnpSelectShape::Select | ( | ISelectionManager * | selectionManager, |
| const UIDList & | itemList | ||
| ) |
Select the given page items.
| selectionManager | in which items are to be selected. |
| itemList | UIDs of items to be selected. |