PDF Designer settings

The Settings section of the PDF Designer is accessible from the side navigation. It contains configuration options for the current PDF template.

Template settings

In the PDF Document Settings tab, you can set a name and description for the template and assign it to a package.

Interface

An interface defines the data structure that the PDF template accepts when called via API. Adding an interface lets you bind components in the template to specific data fields, which are then populated at runtime from the JSON payload passed to the template.

Once an interface is defined, you can bind component attributes to it using the binding dialog in the Properties pane. Binding an attribute to an interface value sets the model path for that attribute, determining where its content comes from when the PDF is generated.

For instructions on adding and managing interfaces, see Insert an interface to the PDF Designer.

Custom fonts

Custom fonts uploaded to the Fonts tool in the Cockpit can be made available in the PDF Designer. To use a custom font in your template:

  1. Open the Fonts tool in the Cockpit.

  2. Import a font file in .ttf or .otf format.

  3. Assign font files to the regular, bold, italic, and bold-italic styles as needed.

  4. In the General tab of the font entry, enable Enable in PDF Designer.

    Result: The font then appears in the Font Family property of Text components in the PDF Designer.