![]() | InDesign SDK 20.5 |

Public Member Functions | |
| PrnSelDrawHandler (IPMUnknown *boss) | |
| virtual | ~PrnSelDrawHandler () |
| virtual void | Register (IDrwEvtDispatcher *eventDispatcher) |
| virtual void | UnRegister (IDrwEvtDispatcher *eventDispatcher) |
| virtual bool16 | HandleDrawEvent (ClassID eventID, void *eventData) |
Public Member Functions inherited from CPMUnknown< IDrwEvtHandler > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from CPMUnknown< IDrwEvtHandler > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< IDrwEvtHandler > | |
| HelperInterface | fHelperInterface |
Implements the code necessary to process draw events. Register()/UnRegister() allows install/uninstall into the draw event dispatcher. HandleEvent() is called when the event registered for happens.
PrnSelDrawHandler implements IDrwEvtHandler.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * PrnSelDrawHandler::PrnSelDrawHandler | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| inlinevirtual |
Destructor.
| virtual |
If event handled here, return kTrue and the item should not be drawn. Else event not handled here, return kFalse and continue drawing item.
| eventID | (in) specifies ID of the specific event. |
| eventData | (in) specifies pointer to the draw event data. In this case, we are being passed a UIDRef of the spread to be printed. |
Implements IDrwEvtHandler.
| virtual |
Called so handler can register for particular draw events using the RegisterHandler() method in IDrwEvtDispatcher.
| eventDispatcher | (in) specifies active draw event dispatcher. |
Implements IDrwEvtHandler.
| virtual |
Called so handler can unregister for particular draw events using the UnRegisterHandler() method in IDrwEvtDispatcher. Not actually necessary since all handlers get unregistered automatically at quit time, but it is good form.
| eventDispatcher | (in) specifies active draw event dispatcher. |
Implements IDrwEvtHandler.