FME Transformers: 2025.1

Categories
Cartography and Reports

DocumentPDFStyler

Prepares features for output to the DocumentPDF Writer by applying styling with PDF format-specific attributes.

Jump to Configuration

Typical Uses

  • Styling PDF output

How does it work?

The DocumentPDFStyler receives features and applies various styles to them for output via the DocumentPDF Writer.

Styles are available for:

  • Column Layout
  • Heading
  • Image
  • List
  • Page Break
  • Page Properties
  • Paragraph
  • Table
  • Table of Contents
  • Title

Markdown Styling and Links

Markdown can be used to apply additional styling or create links when the input is text, with the exception of Title.

Inline Styling

Syntax and Example

Description

**bold**

Use double asterisks to bold text.

__italic__

Use double underscores to italicize text.

--underline--

Use double hyphens to underline text.

~~strikethrough~~

Use double tildes to strikethrough text.

\**bold\**

Use backslashes (\) to escape a character sequence (for example, if it would be incorrectly interpreted as a formatting marker).

Links

Link Type

Syntax

Example

External URL

[link text](URL)

Provide the text to display and the URL.

Adding a URL without markdown syntax creates a clickable link; however, since the link text will not be colored blue or underlined, using markdown syntax is always recommended.

[Google](https://google.com)

Google

Page in document

[link text](page number)

Provide the text to display and the page number.

[Page 3](3)

Page 3

 

 

Heading in document

[link text](#heading)

Provide the text to display and the heading.

The heading is case-sensitive and must contain all the characters of the heading, including spaces.

[Introduction](#Introduction)

Introduction

 

Usage Notes

Configuration

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
Aliases  
History  

FME Community

The FME Community has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the DocumentPDFStyler on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.