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

This boss class implements the New and Modify IPstLstData dialog for this plug-in. All
dialogs must implement IDialogController. Specialisation of IObserver is only necessary if you want to handle widget changes dynamically rather than just gathering their values and applying in the IDialogController implementation. In this implementation IObserver is specialised so that the plug-in's about box is popped when the info button widget is clicked.
| IDialogController kPstLstUIDialogBoss::IID_IDIALOGCONTROLLER |
Provides management and control over the dialog. In this case, when the OK button is clicked,
use appropriate suite to create or modify new IPstLstData on the IPstLstUIDList of the current selection. Implementation provided in PstLstUIDlgController.cpp.
Implementation: kPstLstUIDlgControllerImpl.
| IIntData kPstLstUIDialogBoss::IID_IINTDATA |
This interface carries a flag that stores the dialog mode, the dialog is used by both
New and Modify command, and we need to display different string for each case.
Implementation: kIntDataImpl.
| IUIDListData kPstLstUIDialogBoss::IID_IUIDLISTDATA |
This interface hold the list of the selected PstLstData objects of the panel.
Implementation: kUIDListDataImpl.