12.07.2015 Views

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PDF</strong> <strong>Library</strong>-specific Methods<strong>PDF</strong><strong>Library</strong>RegisterNotification<strong>PDF</strong><strong>Library</strong>RegisterNotificationvoid <strong>PDF</strong><strong>Library</strong>RegisterNotification (NSelec<strong>to</strong>r nsel,ASExtension owner, void *proc, void *clientData);DescriptionRegisters a user-supplied procedure <strong>to</strong> call when <strong>the</strong> specified event occurs. This is exactly<strong>the</strong> same as <strong>the</strong> AVAppRegisterNotification method. All of <strong>the</strong> PD levelnotifications are available with <strong>the</strong> Adobe <strong>PDF</strong> <strong>Library</strong>.ParametersnselownerprocclientDataNotification type. Must be one of <strong>the</strong> notification selec<strong>to</strong>rs. Thenotification selec<strong>to</strong>r is <strong>the</strong> name of <strong>the</strong> notification with <strong>the</strong>characters NSEL appended. For example, <strong>the</strong> selec<strong>to</strong>r forPDDocDidPrintPage is PDDocDidPrintPageNSEL.Only <strong>the</strong> PD-level notifications are available with <strong>the</strong> Adobe <strong>PDF</strong><strong>Library</strong>.Identifies <strong>the</strong> owner.For <strong>the</strong> Adobe <strong>PDF</strong> <strong>Library</strong>, if <strong>the</strong>re is only one owner of <strong>the</strong> <strong>PDF</strong>Editsubsystem, owner should be zero. If <strong>the</strong>re are multiple owners, eachshould specify a nonzero, non-negative owner. (A negative owneris reserved for <strong>the</strong> implementation.)User-supplied callback <strong>to</strong> call when <strong>the</strong> notification occurs. Itsdeclaration depends on <strong>the</strong> notification type (see <strong>the</strong> Notificationssection in <strong>the</strong> Acrobat <strong>Core</strong> <strong>API</strong> <strong>Reference</strong>).Pointer <strong>to</strong> user-supplied data <strong>to</strong> pass <strong>to</strong> proc each time it is called.Return ValueNoneHeader File<strong>PDF</strong>LHFT.hRelated MethodsAVExtensionMgrRegisterNotificationAVAppRegisterNotification<strong>PDF</strong><strong>Library</strong>UnregisterNotification<strong>PDF</strong> <strong>Library</strong> <strong>Supplement</strong> <strong>to</strong> <strong>the</strong> Acrobat <strong>Core</strong> <strong>API</strong> <strong>Reference</strong> 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!