InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DropDownListSelection Class Reference
Inheritance diagram for DropDownListSelection:
CPMUnknown< IDropDownListSelection >IDropDownListSelectionIPMUnknown

Public Member Functions

 DropDownListSelection (IPMUnknown *boss)
 
virtual void SetSelection (int32 dropDownList, int32 index)
 
virtual int32 GetSelection (int32 dropDownList) const
 
virtual void Init (void)
 
- Public Member Functions inherited from CPMUnknown< IDropDownListSelection >
IPMUnknownQueryInterface (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
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IDropDownListSelection
enum  { kDefaultIID = IID_IPDFVTUIDROPDOWNLISTSELECTION }
 
- Protected Member Functions inherited from CPMUnknown< IDropDownListSelection >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IDropDownListSelection >
HelperInterface fHelperInterface
 

Detailed Description

Stores the current selected index for all the dropdown lists on the dialog.

Constructor & Destructor Documentation

DropDownListSelection::DropDownListSelection (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.

Member Function Documentation

int32 DropDownListSelection::GetSelection (int32 dropDownList) const
virtual

Gets the selection of given dropdown list.

Parameters
dropDownListid of the dropdown list.
Returns
selected index.

Implements IDropDownListSelection.

void DropDownListSelection::Init (void )
virtual

Re-initialize the selection for all the dropdown lists to 0.

Implements IDropDownListSelection.

void DropDownListSelection::SetSelection (int32 dropDownList,
int32 index 
)
virtual

Sets the selection of given dropdown list to the specified value.

Parameters
dropDownListid of the dropdown list.
indexselected index.

Implements IDropDownListSelection.