PDF production

Introduction

Form Builder and Form Runner can produce PDF output in two ways:

  • Automatic
    • The PDF is produced based on the appearance of the form in your web browser. This is similar to printing a read-only version of your form.
    • As a form author, you do not need to take any action to enable this mode.
    • For more, see Automatic PDF.
  • Template-based
    • You upload a PDF file using the Upload PDF dialog in the toolbox. At runtime, Form Runner fills-out Acrobat fields in the template.
    • This mode is automatically enabled for a form if a PDF template is attached.
    • For more, see PDF Templates.

Availability

  • Automatic PDF generation is available in Orbeon Forms CE and PE
  • Templates are an Orbeon Forms PE feature.

Setup

Using buttons

PDF files can be accessed directly from the Form Runner Summary Page and Detail Page using the pdf button.

Example for the Detail Page:

<property as="xs:string" name="oxf.fr.detail.buttons.orbeon.controls">
    summary wizard-prev wizard-next pdf tiff save review
</property>

Example for the Summary Page:

<property as="xs:string"  name="oxf.fr.summary.buttons.orbeon.controls">
    home review pdf tiff delete duplicate new
</property>

See also Predefined buttons.

Sending

You can send the URL of a PDF file using the content = "pdf-url" parameter. See Sending a PDF URL.

Email

You can email the PDF file using the following property:

<property
    as="xs:boolean"
    name="oxf.fr.email.attach-pdf.*.*"
    value="true"/>

See also Email properties.

Production of TIFF images

[SINCE Orbeon Forms 2016.1]

PDF files can be converted to TIFF images. See TIFF Production.

results matching ""

    No results matching ""