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

Public Types | |
| enum | { kDefaultIID = IID_IPNLTRVOPTIONS } |
Public Member Functions | |
| virtual void | AddOption (const WideString &newVal, const int32 indexWhere)=0 |
| virtual WideString | GetNthOption (const int32 index)=0 |
| virtual void | GetOptionListCopy (K2Vector< WideString > &outList)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
From SDK sample; persistent interface added in to the session workspace, holding options for this plug-in.
| pure virtual |
Append an option to the persistent list. If the index you specify is outwith the length, then it'll get appended to the list
| newVal | [IN] new value to add to existing list of options |
| indexWhere | [IN] where you want it in the list of options, zero based |
Implemented in PnlTrvOptions.
| pure virtual |
Return option at given index in list
| index | [IN] zero-based index |
Implemented in PnlTrvOptions.
| pure virtual |
Retrieves current list of options as clone
| outList | OUT contains copy of list of options |
Implemented in PnlTrvOptions.