10.07.2015 Views

Download - Multivac!

Download - Multivac!

Download - Multivac!

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.

9 Generating various PDF Flavors9.1 Acrobat and PDF VersionsAt the user’s option PDFlib generates output according to PDF 1.3 (Acrobat 4), PDF 1.4(Acrobat 5), PDF 1.5 (Acrobat 6), or PDF 1.6 (Acrobat 7). In addition, PDF 1.7 (Acrobat 8) filescan be created, but at this time no specific features of PDF 1.7 are supported. The PDFoutput version can be controlled with the compatibility option in PDF_begin_document( ).Cookbook Code samples regarding PDF flavors can be found in the pdf_flavors category of the PDFlibCookbook.PDFlib output features for PDF 1.4 or above. In PDF 1.3 compatibility mode the PDFlibfeatures for higher PDF versions are not available. Trying to use one of these features inPDF 1.3 mode will result in an exception.Table 9.1 PDFlib features for PDF 1.4 which are not available in PDF 1.3 compatibility modeFeaturePDFlib API functions and optionssmooth shadings (color blends) PDF_shading_pattern( ), PDF_shfill( ), PDF_shading( )soft masks128-bit encryptionPDF_load_image( ) with the masked option referring to an image with more than1 bit pixel depthPDF_begin_document( ) with the userpassword, masterpassword, permissionsoptionsextended permission settings PDF_begin_document( ) with permissions option, see Table 9.4certain CMaps for CJK fonts PDF_load_font( ), see Table 4.5transparency and other graphicsstate optionsPDF_create_gstate( ) with options alphaisshape, blendmode, opacityfill,opacitystroke, textknockoutcertain options for actions PDF_create_action( )certain options for annotations PDF_create_annotation( )certain field options PDF_create_field( ) and PDF_create_fieldgroup( )Tagged PDF tagged option in PDF_begin_document( )PDFlib output features for PDF 1.5 or above. In PDF 1.3 or 1.4 compatibility modes thePDFlib features for higher PDF versions are not available. Trying to use one of these featuresin PDF 1.3 or PDF 1.4 mode will result in an exception.Table 9.2 PDFlib features for PDF 1.5 which are not available in lower compatibility modesFeaturePDFlib API functions and optionscertain field options PDF_create_field( ) and PDF_create_fieldgroup( )page layoutPDF_begin/end_document( ): option pagelayout=twopageleft/rightcertain annotation options PDF_create_annotation( )extended permission settings permissions=plainmetadata in PDF_begin_document( ), see Table 9.49.1 Acrobat and PDF Versions 195

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

Saved successfully!

Ooh no, something went wrong!