![]() | InDesign SDK 20.5 |

Public Member Functions | |
| TxtExpDialogObserver (IPMUnknown *boss) | |
| virtual | ~TxtExpDialogObserver (void) |
| virtual void | AutoAttach (void) |
| virtual void | AutoDetach (void) |
| virtual void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
Public Member Functions inherited from CDialogObserver | |
| CDialogObserver (IPMUnknown *boss) | |
Public Member Functions inherited from AbstractDialogObserver | |
| AbstractDialogObserver (IPMUnknown *boss) | |
Public Member Functions inherited from CObserver | |
| CObserver (IPMUnknown *boss, PMIID interfaceID=IID_IOBSERVER) | |
| IChangeManager * | GetChangeManager () const |
| virtual void | SetAttachIID (PMIID iid) |
| virtual PMIID | GetAttachIID () const |
| virtual void | SetEnabled (bool16 state) |
| virtual bool16 | IsEnabled () const |
| virtual void | LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data) |
Additional Inherited Members | |
Public Types inherited from IObserver | |
| enum | { kDefaultIID = IID_IOBSERVER } |
Protected Member Functions inherited from CDialogObserver | |
| virtual void | CloseDialog (bool16 windowAlreadyClosed=kFalse) |
| virtual void | FireOffEndDialogCmd (bool16 hitOK) |
| void | SetDialogValidationStatusFailed (bool16 bStatus=kTrue) |
| void | SetCloseOnCancel (bool16 shouldCloseOnCancel=kTrue) |
Protected Attributes inherited from CObserver | |
| bool16 | fDetachSubjectsOnDelete |
| PMIID | fAttachIID |
| const UIDRef | fThisRef |
| bool16 | fEnabled |
TxtExpDialogObserver Allows dynamic processing of dialog widget changes, in this case the dialog's info button.
Implements IObserver based on the partial implementation CDialogObserver.
| inline |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| inlinevirtual |
Destructor.
| virtual |
Called by the application to allow the observer to attach to the subjects to be observed, in this case the dialog's info button widget. If you want to observe other widgets on the dialog you could add them here.
Reimplemented from CDialogObserver.
| virtual |
Called by the application to allow the observer to detach from the subjects being observed.
Reimplemented from CDialogObserver.
| virtual |
Called by the host when the observed object changes, in this case when the dialog's info button is clicked.
| theChange | specifies the class ID of the change to the subject. Frequently this is a command ID. |
| theSubject | points to the ISubject interface for the subject that has changed. |
| protocol | specifies the ID of the changed interface on the subject boss. |
| changedBy | points to additional data about the change. Often this pointer indicates the class ID of the command that has caused the change. |
Reimplemented from CDialogObserver.