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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PDF</strong> <strong>Library</strong>-specific CallbacksDataSourceStringDataSourceStringACCB1 ASUns32 ACCB2 DataSourceString (<strong>PDF</strong>ileSpec f, char* buf,ASUns32 bufSize, void* clientData);Description(Optional) If this method is supplied, and <strong>the</strong> emitExternalStreamRef parameter in<strong>the</strong> PDPrintParamsRec is true, <strong>the</strong>n during PostScript printing this method will becalled when an external stream is encountered. If <strong>the</strong> method is not supplied, or if it returnsNULL, <strong>the</strong>n <strong>the</strong> “simple pathname” will be written as <strong>the</strong> DataSource for <strong>the</strong> stream;o<strong>the</strong>rwise, <strong>the</strong> returned string will be written as <strong>the</strong> DataSource.The DataSource is used thus:/DataSource (xxxxx) (r) filewhere xxxxx is <strong>the</strong> returned string or <strong>the</strong> simple pathname.N OTE:The method may not s<strong>to</strong>re <strong>the</strong> <strong>PDF</strong>FileSpec pointer or any pointers (strings)within it.ParametersfbufbufSizeclientDataAn object of type <strong>PDF</strong>ileSpec.(Filled by <strong>the</strong> callback) The buffer.The buffer size in bytes.A pointer <strong>to</strong> <strong>the</strong> client data.Return ValueLength of <strong>the</strong> string written info buf.Header File<strong>PDF</strong>LExpT.hRelated MethodsPDDocPrintPages<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> 59

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

Saved successfully!

Ooh no, something went wrong!