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

Public Types | |
| enum | { kDefaultIID = IID_ITRAPSTYLEUTILS } |
Public Member Functions | |
| virtual ITrapStyleListMgr * | QueryTrapStyleListMgr (IDocument *doc)=0 |
| virtual ITrapStyleListMgr * | QueryTrapStyleListMgr (const UIDRef &listRef)=0 |
| virtual ErrorCode | AssignStyleToPageList (const UIDList &pageUIDList, UIDRef trapStyleRef)=0 |
| virtual ErrorCode | ReplaceAndDeleteTrapStyles (ITrapStyleListMgr *iListMgr, K2Vector< int32 > &styleIndexList, bool16 doReplacement=kFalse, const UIDList *pPageUIDList=nil, const UIDRef *pReplacmentStyleRef=nil)=0 |
| virtual UIDList | GetDocumentTrapStylePageList (IDocument *, const K2Vector< PMString > &)=0 |
| virtual void | BuildDocumentPageTrapStyleUsageInfo (IDocument *iDoc, const K2Vector< PMString > &trapStyleList, PMString &trapStyleUseSummaryText)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
An utility interface for trap styles.
| pure virtual |
Assign the specified trap style to the list of pages.
| pageUIDList | list of page UIDs. |
| trapStyleRef | is the trap style to assign. |
| pure virtual |
Build a summary text containing the document's trap style usages.
| trapStyleList | specifies the list of trap styles |
| trapstyleUseSummaryText | is the string containing the usage information for the specified trap styles. |
| pure virtual |
Get a page list (UIDList) in the specified document whose assigned trap style matches the specified trap stye list.
| iDoc | is the document |
| styleIndexList | is the list of trap styles |
| pure virtual |
Returns the trap style list manager for the specified document.
| doc | is the document. |
| pure virtual |
| pure virtual |
Delete the specified trap styles specified by styleIndexList.
| iListMgr | is the trap style list manager to use |
| styleIndexList | is the list of styles to delete |
| doReplacement | if set to true, the replacement trap style is assigned to the specified page list before deleting the trap styles. |
| pPageUIDList | is the list of page UIDs |
| pRelacementStyleRef | ist he replacement trap style |