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

Public Types | |
| enum | { kDefaultIID = IID_IRIDXNOTIFIERHANDLER } |
| enum | NotificationType { kBeingDeleted, kWillBeModified, kTestActivelyUsed, kSwatchesWillBeConvertedLocalToGlobal } |
| enum | NotificationStatus { kHandledStatus, kDidntHandleStatus, kTrueStatus, kFalseStatus } |
Public Member Functions | |
| virtual NotificationStatus | Notify (const NotificationType type, IDataBase *db, const UID targetUID, const RIDXSource &source, const IPMUnknown *data) const =0 |
| virtual NotificationStatus | Notify (const NotificationType type, IDataBase *db, const UIDList &targetUIDList, const RIDXSource &source, const IPMUnknown *data) const =0 |
| virtual bool16 | WantsNotification (const NotificationType type, const ClassID classIDOfTarget) const =0 |
| virtual bool16 | AlwaysNotifyForNonPersistReferences (const NotificationType type, const ClassID classIDOfTarget) const =0 |
| virtual NotificationStatus | Notify (const NotificationType type, IDataBase *db, const UIDList &targetUIDList, const IPMUnknown *data) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Handler which is called when the UID is being modified in some way, deleted, or just to query if it is being actively used. These functions are called by
Type of Notification status. Will return if the notification was handled, also if the notification is a bool question (like IsActivelyUses) it will return a boolean result (kTrueStatus or kFalseStatus)
Type of Notification being sent. Currently deleting, modifying, and checking if the UID is actively used
| pure virtual |
AlwaysNotifyForNonPersistReferences: return true if the handler wants to be notified wheneve changes are made to this type of class. The handler wants to return true in this case if there are non-persistent cases which will need notification.
| type | type of the notification |
| classIDOfTarget | the classID of the target |
| pure virtual |
Notify: Nofitication sent when a particular UID is being manipulated
| type | type of the notification |
| db | The database it is being deleted from |
| targetUID | The uid notification is being sent about |
| source | The information about the source with the link to the UID |
| data | Any data needed by the Notify |
| pure virtual |
Notify: Nofitication sent when a list of UID is being manipulated
| type | type of the notification |
| db | The database it is being deleted from |
| targetUIDList | The uid notification is being sent about |
| source | The information about the source with the link to the list of UIDs |
| data | Any data needed by the Notify |
| pure virtual |
Notify: Nofitication sent when a list of UID is being manipulated
| type | type of the notification |
| db | The database it is being deleted from |
| targetUIDList | The uid notification is being sent about |
| data | Any data needed by the Notify |
| pure virtual |
WantsNotification: returns true if this handler wants to be notified when changes are made to this type of class
| type | type of the notification |
| classIDOfTarget | the classID of the target |
| data | Any data needed by the Notify |