![]() | InDesign SDK 20.5 |

Public Member Functions | |
| HidTxtEdSelectionObserver (IPMUnknown *boss) | |
| virtual | ~HidTxtEdSelectionObserver () |
Public Member Functions inherited from ActiveSelectionObserver | |
| ActiveSelectionObserver (IPMUnknown *boss, PMIID observerIID=IID_IOBSERVER) | |
| virtual void | AutoAttach () |
| virtual void | AutoDetach () |
| virtual void | Update (const ClassID &c, ISubject *, const PMIID &p, void *v) |
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) |
Protected Member Functions | |
| virtual void | HandleSelectionChanged (const ISelectionMessage *message) |
| virtual void | HandleSelectionAttributeChanged (const ISelectionMessage *message) |
Protected Member Functions inherited from ActiveSelectionObserver | |
| virtual void | HandleFrequentSelectionChanged () |
| virtual void | AttachToSelectionSubject (ISubject *selectionSubject) |
| virtual void | DetachFromSelectionSubject (ISubject *selectionSubject) |
| virtual void | HandleActiveSelectionChanged () |
| virtual void | HandleSelectionUpdate (const ClassID &c, ISubject *s, const PMIID &p, void *v) |
| virtual IPMUnknown * | QueryAbstractSelection (const PMIID &p) |
| virtual void | AttachToActiveSelection () |
| virtual void | DetachFromActiveSelection () |
Additional Inherited Members | |
Public Types inherited from IObserver | |
| enum | { kDefaultIID = IID_IOBSERVER } |
Protected Attributes inherited from ActiveSelectionObserver | |
| PMIID | fObserverIID |
| ISelectionManager * | fCurrentSelection |
Implements an ActiveSelectionObserver that updates widgets that display hidden text associated with the selection.
| HidTxtEdSelectionObserver::HidTxtEdSelectionObserver | ( | IPMUnknown * | boss | ) |
Constructor
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Destructor.
| protectedvirtual |
If the selection's data changes this method gets called. We check that data we are interested in is affected before taking any action by calling ISelectionMessage::WasSuiteAffected and checking that a message from IHidTxtSuite is present. If so we update the data in the panel's widgets.
| message | from selection indicating the attribute(s) affected |
Reimplemented from ActiveSelectionObserver.
| protectedvirtual |
When an object is added or removed from the selection or if the kind of selection changes (e.g. from a a layout selection to a text selection) this method is called to synchronise the data displayed with the data associated with the selection.
| message | from selection describing change or nil if the active selection changed. |
Reimplemented from ActiveSelectionObserver.