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 CallbacksTKResourceAcquireProcTKResourceAcquireProcACCB1 void* ACCB2 TKResourceAcquireProc (char* resourceName,ASInt32 resType, void* registry, ASInt32* size,void* clientData, ASStm* rdStm);DescriptionCallback in TKResourceProcs structure in <strong>the</strong> Adobe <strong>PDF</strong> <strong>Library</strong>. Acquires <strong>the</strong>specified resource and use it <strong>to</strong> fill in <strong>the</strong> rdStm parameter.ParametersresourceNameresTyperegistrysizeclientDatardStmName of resource <strong>to</strong> acquire.One of <strong>the</strong> following from <strong>the</strong> resType enum:resCMapDataresCharTypeDataresCharRangeDataresFontPropDataresCJKNoteFontNormalresCJKNoteFontBoldresCJKNoteFontObliqueresFontDataresCMapLastIDOne of <strong>the</strong> following.● Adobe-Japan1—Japanese● Adobe-Korea1—Korean● Adobe-CNS1—Traditional Chinese● Adobe-GB1—Simplified Chinese(Filled by <strong>the</strong> callback) Size of <strong>the</strong> ASStm returned.A pointer <strong>to</strong> <strong>the</strong> clientData specified in <strong>the</strong>TKResourceProcs structure.(Filled by <strong>the</strong> callback) An ASStm for <strong>the</strong> data requested.Return ValueA void* of data that you want returned <strong>to</strong> you in TKResourceReleaseProc. Thisdata can be used <strong>to</strong> determine what Resource <strong>to</strong> release. You can return NULL fromTKResourceAcquireProc.Header File<strong>PDF</strong>Init.h<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> 91

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

Saved successfully!

Ooh no, something went wrong!