![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CusDtLnkDocObserver (IPMUnknown *boss) | |
| virtual | ~CusDtLnkDocObserver () |
| void | AutoAttach () |
| void | AutoDetach () |
| virtual void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
| virtual void | LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data) |
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 |
Protected Member Functions | |
| void | AttachDocument (IDocument *document) |
| void | DetachDocument (IDocument *document) |
| void | HandleAddRemoveAdornment (const UIDList &itemList) |
Additional Inherited Members | |
Public Types inherited from IObserver | |
| enum | { kDefaultIID = IID_IOBSERVER } |
Protected Attributes inherited from CObserver | |
| bool16 | fDetachSubjectsOnDelete |
| PMIID | fAttachIID |
| const UIDRef | fThisRef |
| bool16 | fEnabled |
Implementation of IObserver to respond to notification about changes to the document (kDocBoss) subject
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * CusDtLnkDocObserver::CusDtLnkDocObserver | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | IN interface ptr from boss object on which this interface is aggregated. |
| virtual |
Destructor.
| protected |
Attaches this observer to a document.
| document | IN The document to which we want to attach. |
| virtual |
Reimplemented from CObserver.
| virtual |
Reimplemented from CObserver.
| protected |
Detaches this observer from a document.
| document | IN The document from which we want to detach. |
| protected |
Respond to a list of page items being added to document hierarchy
| itemList | the items that just got added |
| virtual |
Updates this plug-in's panel when the plug-in's model changes. Widgets that react to changes in the plug-in's model are updated by lazy notifications handled by this method.
| theSubject | [IN] provides a reference to the object which has changed. |
| protocol | [IN] the protocol along which the change occurred. |
| data | [IN] |
Reimplemented from CObserver.
| virtual |
Implements IObserver.