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

This boss class implements the dialog for this plug-in. All
dialogs must implement IDialogController. Specialization 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 specialized because the dialog includes a 'preview' button. In the Observer's Update method, values are grabbed from the widgets, and the watermark is updated and redrawn.
| IDialogController kWatermarkUIDialogBoss::IID_IDIALOGCONTROLLER |
Provides management and control over the dialog.
Implementation: kWatermarkUIDialogControllerImpl.
| IPMUnknown kWatermarkUIDialogBoss::IID_IOBSERVER |
Allows dynamic processing of dialog changes.
Implementation: kWatermarkUIDialogObserverImpl.
| IPMUnknown kWatermarkUIDialogBoss::IID_ITEXTFOCUSDATA |
Implementation: kTextFocusDataImpl.
| IPMUnknown kWatermarkUIDialogBoss::IID_ITEXTTARGETSERVER |
Implementation: kTextTargetServerImpl.