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.

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

Adobe PDF Library Version Control<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

There are two version issues that you may need to consider when building <strong>and</strong><br />

running your application: the version of Adobe PDF Library <strong>and</strong> <strong>DLI</strong> in use, <strong>and</strong> the<br />

declared PDF version (or Compliance Level) being declared within the PDF output<br />

being generated.<br />

Obtaining Adobe PDF Library Version Number<br />

The version number of the Adobe PDF Library which was initialized may be obtained<br />

at any time after initialization as the return value of the method PDFLGetVersion:<br />

• The high-order 16 bits of the value are the Major Version Number<br />

• bits 8 through 15 are the Minor Version Number<br />

• bits 0 through 7 are the Sub-minor Version Number<br />

You may wish to have your application obtain <strong>and</strong> compare the returned Version<br />

Number to the constant kPDFLVersion to see if the version of the Adobe PDF<br />

Library being used at runtime is the same, greater, or less than the Version Number of<br />

with which it was compiled.<br />

PDF Level Declarations in Output<br />

PDF output files declare their compliance level with a particular version of the PDF<br />

St<strong>and</strong>ard; e.g. documents created with Adobe PDF Library v6.x can declare PDF<br />

v1.5. Applications reading, processing or displaying PDF output may inspect the<br />

declaration within the file to determine how to process it. In particular, Adobe<br />

Acrobat <strong>and</strong> Reader v5.x applications may produce a popup warning of possible<br />

unsupported PDF features if they detect that the declared PDF level of the document is<br />

higher than v1.4, even if the document does not in fact contain any functionality<br />

unique to v1.5 or above.<br />

The Adobe PDF Library is a set of routines associated with other Adobe products<br />

such as Adobe Acrobat, Adobe Acrobat Distiller <strong>and</strong> Adobe Reader. The original<br />

Adobe PDF Library was labeled as version 1.2 in order to maintain consistency with

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

Saved successfully!

Ooh no, something went wrong!