22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - 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.

1.18 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

Functions Updated<br />

dlpdfinit<br />

This has been revised significantly, <strong>and</strong> now requires three parameters:<br />

• the PDFLData pointer containing Adobe PDF Library initialization data<br />

• the default file system to use, or NULL for the Adobe PDF Library default filesystem<br />

• NULL; reserved for future use as an optional argument<br />

The <strong>DLI</strong> graphics cache has been enhanced to use the default ASFileSys<br />

implementation provided to dlpdfinit for caching graphics. By default, the<br />

graphics cache file size is limited to 1.5GB. Customers who wish to use larger graphics<br />

cache files are advised to supply a filesystem to dlpdfinit which is capable of<br />

reliably h<strong>and</strong>ling files of the larger size.<br />

dlpdfdoccreate<br />

This call no longer accepts a PostScript filename. (Use dlpdfdocsetpsname, or<br />

supply one to dlpdfdocwritePS.) The PDFNeeded flag has been removed; PDF<br />

processing is always performed. It accepts one parameter, the DLPDFINSTANCE to use<br />

for the document.<br />

dlpdfterm<br />

This call now removes memory files used for the dlpdfttload call if the Files In<br />

Memory system is used, <strong>and</strong> if these files are no longer in use.<br />

Functions Removed<br />

dlpdfdocsevenbitsafe<br />

This method was not able to guarantee a PDF output stream safe for a seven-bit<br />

channel. The PDF specification refers to PDF as a binary format, <strong>and</strong> expects that<br />

consumers are able to accept a binary input stream.

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

Saved successfully!

Ooh no, something went wrong!