Block Handling and PPS | |
Fill PDFlib blocks so that they are placed below the imported page. | |
Output an imported PDF page several times, with its blocks being filled with different personalized data. | |
Duplicate a PDFlib block to any number of pages. | |
Output an imported PDF page with its blocks being filled with different personalized data. | |
Link multiple Textflow blocks | |
Output an imported PDF page several times, with its blocks being filled with different personalized data. | |
Fill some blocks of an imported PDF page while changing the rectangle coordinates. | |
Query the background color of blocks. | |
Import a PDF page containing blocks, and query various block properties. | |
Import a PDF page containing blocks, and process all blocks. | |
Color | |
Create crop marks which will be visible on all color separations, using the special color "All". | |
Fill some area or text with a smooth transition from one color to another. | |
Assign an ICC profile to an image. | |
Define and use several spot colors. | |
Demonstrate the basic use of supported color spaces. | |
View a list of all cross-browser colors including the color name and hexadecimal color value as well as the corresponding RGB color values used in PDFlib. | |
Document Interchange | |
For NexPress digital color printing machines, create some special kind of annotations to control the input tray. | |
Embed custom XMP metadata in a document. | |
Retrieve the XMP metadata from an imported document and write all document-level XMP metadata to the output PDF. | |
Create document with structure information for reflow and accessibility. | |
Create a Tagged PDF containing a Textflow with appropriate structure elements over several pages | |
Fonts and Encodings | |
Create bold or italic text if you don't have a suitable font. | |
Output text in a barcode font. | |
Demonstrate the usefulness of character references, using a suitable font. | |
Use escape sequences in text lines to output octal or hexadecimal values. | |
Get various properties of a font such as font name, font style, or encoding. | |
Get various font related metrics such as the ascender or descender. | |
Configure font resources and search for fonts. | |
Check the availability of glyphs in a font. | |
Show the effects of glyph substitution in case of glyphs missing in the font. | |
Create simulated italic or bold text output. | |
Create a simple Type 3 font from vector data. | |
Create a simple Type 3 font from image data. | |
Create a Type 3 font which contains a single logo derived from an image. | |
Demonstrate Type 3 font definition, use, and subsetting. | |
Create a Type 3 font by cloning another font and adding a further glyph | |
Create a Type 3 font which contains a single logo derived from a vector based PDF page. | |
General Programming | |
Demonstrate different strategies with respect to exception handling. | |
Explain the concept of scopes of the PDFlib API. | |
Define the initial viewing properties for a document, such as zoom, page number, navigation tab, or title bar. | |
Apply your PDFlib license key using various methods to get rid of the demo stamp. | |
Output text using metric coordinates in a topdown coordinate system. | |
Change the permission settings so that only commenting the PDF is allowed. | |
Create contents which are used identically on multiple pages, such as fixed headers or footers. | |
Create some simple text, vector graphics and image output. | |
Create a PVF file which holds an image or PDF, and import the data from the PVF file. | |
Graphics | |
Create an arrow using different methods. | |
Create some dash patterns to be used as line styles. | |
Define some hatching patterns and use them to fill arbitrary shapes. | |
Define some overlapping vector graphics and fill them using various methods. | |
Define a layer hierarchy using the parent and child options. | |
Define two layers and hide or show them via bookmarks. | |
Create text which will overprint other page contents instead of knocking it out. | |
Create some rectangle with the corners being rounded. | |
Place a stamp on a layer which is only visible upon printing. | |
Create some basic examples of vector graphics. | |
Define several layers, output images and text into them and define particular layers to be visible when opening the document. | |
Create some transparent graphics objects. | |
Images | |
Attach OPI information to an image. | |
Align text at an image. | |
Place an image on an imported PDF card. | |
Display an image partially. | |
Draw a frame around an image. | |
Get the dimensions of an image for various purposes. | |
Read an image from an URL and place it in a PDF document. | |
Place an image with a mask applied to it. | |
Place an image with rounded corners. | |
Place an image with its integrated clipping path being applied to it. | |
Convert an input TIFF image containing one or more frames to PDF. | |
Load and place an image using various options for scaling and positioning. | |
Define a tiling pattern containing an image and use it to cover the page background with tiles. | |
Create transparent images. | |
Interactive Elements | |
Upon opening the page, create a full list of all menu item names in Acrobat. | |
Define two layers for English or German contents and hide or show them via form field buttons. | |
Create four form fields of type "checkbox". | |
Create a form field of type "combobox" for choosing an item from a list or changing an existing item. | |
Create a form field of type "listbox" for choosing an item from a list. | |
Create a form field of type "textfield" for entering multiline text. | |
Create two form fields of type "pushbutton" for executing the "Print" and "Save As" commands. | |
Create a field group with three form fields of type "radiobutton". | |
Define the position of each form field in the tab order, i.e. when the user presses the "Tab" key. | |
Fill a form text field with a value using JavaScript. | |
Determine the height of a form field of type "textfield" with respect to the font size and vice versa. | |
Check if the date entered in a form field of type "textfield" has been formatted correctly. | |
Format the data entered in a form field of type "textfield" according to the rules defined. | |
Specify the layout of a form field of type "textfield" for displaying a date. | |
Demonstrate all possibilities to trigger a JavaScript action from a form field. | |
On images and text lines, create links to open PDF files or Web pages, or to execute a JavaScript. | |
Demonstrate the use of a movie annotation in PDF. | |
Create bookmarks which are nested in several levels. | |
Demonstrate all possibilities to trigger a JavaScript action (except of form fields). | |
Multimedia | |
Create a 3D model and load it into a U3D annotation. | |
Pagination | |
Crop an A4 page to an A5 page. | |
Create pages in reverse page order. | |
Create some pages, assign labels to them and insert a table of contents at the beginning of the document. | |
Create some pages with various page sizes. | |
Create a running footer "Page x of y" on each page of the document. | |
PDF Flavors | |
Convert grayscale, CMYK or RGB image files in TIFF or JPEG formats to PDF/A-1b, taking care of color space issues. | |
Import an existing PDF/A-1b document and output it as PDF/A-1b. | |
Import an existing PDF/X-3 document and output it as PDF/X-3. | |
Demonstrate the use of an XMP extension schema as defined in PDF/A-1. | |
Demonstrate the use of a complex XMP extension schema as defined in PDF/A-1. | |
Create a PDF/A-compliant output. | |
Create a PDF/X-compliant output. | |
Output text conforming to PDF/A-1b, taking care of color space and font issues. | |
Apply a transparent stamp to an existing PDF/A document while maintaining PDF/A conformance. | |
PDF Import | |
Clone the ArtBox, TrimBox, BleedBox, CropBox, and MediaBox entries of an imported PDF page. | |
Crop the pages of an existing PDF document. | |
Read the pages of an input PDF document and output them in reverse order. | |
Import two pages and output them on two layers on the same page. | |
Merge pages from multiple PDF documents. | |
Dump information from an existing PDF document. | |
Rotate the pages of an existing PDF document. | |
Place a stamp on the pages of an existing PDF document. | |
Import all pages from one more existing PDFs, and place c x r pages on each sheet of the output PDF (imposition). | |
Place A4 pages from an imported PDF as A5 pages in the output document. | |
Merge multiple PDF documents with the output PDF having as version number the maximum of the PDF version numbers of all imported documents. | |
PDF on the Web Server | |
Create a linearized PDF which is encrypted and contains some form fields. | |
Tables | |
Define the height of the rows in a table. | |
Place a sub-table in one table cell. | |
Fit a form field into a table cell, e.g. to create a pushbutton in the cell. | |
Provide some table cells with a colored background. | |
Demonstrate how to place various kinds of contents in table cells spanning one or more columns or rows. | |
Output a table on 2 x m pages as it is needed to fit it completely. | |
Create table which may span multiple pages. | |
Create a contact sheet with photos and their labels. | |
Create an invoice using the table feature. | |
Create a table containing rotated text. | |
Create a weekly booking plan for the meeting rooms of a company. | |
Create a monthly time sheet for the working hours of an employee. | |
Demonstrate the vertical alignment of text lines and Textflows in a table cell. | |
Text Output | |
In a Textflow define some terms to be indexed and create a sorted index from the indexed terms. | |
Control the vertical alignment of text in the fitbox. | |
Control the lines kept together on the page. | |
Create an initial drop cap at the beginning of some text. | |
Control the distance between adjacent paragraphs. | |
Create a Textflow and define various options for line breaking. | |
Output numbered and bulleted lists. | |
Demonstrate how the current text position can be used to output simple text, text lines, or Textflows next to one another. | |
Use leaders to fill the space defined by tabs between left-aligned and right-aligned text, such as in a table of contents. | |
Define arbitrary polygons to be filled with text. | |
Create footnotes (superscript text) in a Textflow provided with links to jump to the footnote text. | |
Create outline text and fill the interior of the glyphs with an image. | |
Output invisible text on top of an image. | |
Use dot leaders to fill the space between text and a page number such as in a table of contents. | |
Output numbered lists with the numbers left- or right-aligned. | |
Read text in the UTF-8 format and output it. | |
Create text output which does not run horizontally, but at some angle. | |
Create a stamp across the page which runs diagonally from one edge to the other. | |
Create multi-column text output which may span multiple pages. | |
Demonstrate various options for placing a text line. | |
Create a simple multi-column layout using tab stops. | |
Output text filled with an image. | |
Place a text line and a Textflow on a colored background. | |
Create some transparent text. | |
Create underlined text. | |
Create a Textflow and integrate colorized Web links in the text. | |
Place images within a Textflow. | |
Use arbitrary polygons as wrapping shapes for text to wrap around. | |