![]() | InDesign SDK 20.5 |

Public Member Functions | |
| TKITreeWidgetObserver (IPMUnknown *boss) | |
| void | AutoAttach () |
| void | AutoDetach () |
| void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
| ErrorCode | SelectText (InDesign::TextRange textRange) |
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 Attributes inherited from CObserver | |
| bool16 | fDetachSubjectsOnDelete |
| PMIID | fAttachIID |
| const UIDRef | fThisRef |
| bool16 | fEnabled |
| virtual |
If the observer knows which subject(s) to attach itself to, it'll do so with this call
Reimplemented from CObserver.
| virtual |
If the observer knows which subject(s) to detach itself from, it'll do so with this call
Reimplemented from CObserver.
| virtual |
Responds to tree widget node selection by getting the selected node, getting the text range data out of it, and then selecting the text range in the document.
Implements IObserver.