17.05.2014 Views

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Table 10.7 Operations which must be avoided or are restricted to achieve PDF/A conformance<br />

item<br />

annotations<br />

attachments<br />

form fields<br />

actions and<br />

JavaScript<br />

images<br />

ICC profiles<br />

page sizes<br />

templates<br />

transparency<br />

transparency groups<br />

security<br />

PDF version /<br />

compatibility<br />

PDF import (PDI)<br />

metadata<br />

external content<br />

file size<br />

Prohibited or restricted <strong>PDFlib</strong> functions and options for PDF/A conformance<br />

create_annotation( ): annotations with type=FileAttachment and Movie must be avoided; for<br />

text annotations the zoom and rotate options must not be set to true. The annotcolor and<br />

interiorcolor options must only be used if an RGB output intent has been specified. The<br />

fillcolor option must only be used if an RGB or CMYK output intent has been specified, and a<br />

corresponding rgb or cmyk color space must be used. The opacity option must not be used.<br />

begin/end_document( ): the attachments option must be avoided.<br />

create_field( ) and create_fieldgroup( ) for creating form fields must be avoided.<br />

create_action( ): actions with type=Hide, Launch, Movie, ResetForm, ImportData, JavaScript<br />

must be avoided; for type=name only NextPage, PrevPage, FirstPage, and LastPage are allowed.<br />

The OPI-1.3 and OPI-2.0 options and interpolate=true option in load_image( ) must be avoided.<br />

ICC profiles loaded explicitly with load_iccprofile( ) or implicitly with load_image( ) and ICCtagged<br />

images must comply to ICC specification ICC.1:1998-09 and its addendum ICC.1A:1999-04<br />

(internal profile version 2.x).<br />

There are no strict page size limits in PDF/A. However, it is recommended to keep the page size<br />

(width and height, and all box entries) in the range 3...14400 points (508 cm) to avoid problems<br />

with Acrobat.<br />

The OPI-1.3 and OPI-2.0 options in begin_template_ext( ) must be avoided.<br />

Soft masks for images must be avoided: the masked option for load_image( ) must be avoided unless<br />

the mask refers to a 1-bit image. Images with implicit transparency (alpha channel) are not<br />

allowed; they must be loaded with the ignoremask option of load_image( ).<br />

The opacityfill and opacitystroke options for create_gstate( ) must be avoided unless they<br />

have a value of 1; if blendmode is used it must be Normal.<br />

The opacity option in create_annotation( ) must be avoided.<br />

The transparencygroup option of begin/end_page_ext( ), begin_template_ext( ), and open_pdi_<br />

page( ) is not allowed.<br />

The userpassword, masterpassword, and permissions options in begin_document( ) must be<br />

avoided.<br />

PDF/A is based on PDF 1.4. Operations that require PDF 1.5 or above (such as layers) must be avoided.<br />

Imported documents must conform to a PDF/A level which is compatible to the output document,<br />

and must have been prepared according to a compatible output intent (see Table 10.10).<br />

All predefined XMP schemas (see <strong>PDFlib</strong> API Reference) can be used. In order to use other schemas<br />

(extension schemas) the corresponding description must be embedded using the PDF/A extension<br />

schema container schema.<br />

The reference option in begin_template_ext( ) and open_pdi_page( ) must be avoided.<br />

The file size of the generated PDF document must not exceed 2 GB, and the number of PDF objects<br />

must be smaller than 8.388.607. See Section 3.1.5, »Large PDF Documents«, page 68, for<br />

more details about these limits.<br />

262 Chapter 10: PDF Versions and Standards (Edition for <strong>COM</strong>, .<strong>NET</strong>, and REALbasic)

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

Saved successfully!

Ooh no, something went wrong!