PDF Display Type
Overview
The goal of the pdf
display type is support legacy PDFs that require an exact match against the original file. This page display type overlays the fields on top of the original PDF file in order to achieve the exact match.
Display Type
You can identify a Page PDF Display Type by using one of the following methods below:
Method 1: Page Legacy PDF Properties
Previously we did not have pdf
displayType saved within the JoyDoc JSON payload. Below is how you identify a legacy PDF displayType type. A Legacy PDF view will have the following page properties:
page.backgroundImage = 'url'
page.layout === 'float'
page.presentation === ‘transparent’
Method 2: Page displayType
Property (coming soon)
displayType
Property (coming soon)You can simply check the displayType
property on the page for the pdf
type. This indicates that this page is targeting pdf
.
How to identify a properly formatted legacy PDF form using the Joyfill Builder: Video Tutorial
Supported SDK Platforms
- Web ✅
- React Native ✅
- Swift (coming soon)
- Kotlin (coming soon)
Officially Supported Field Types
In order to support the legacy PDF standard as closely as possible across all of Joyfill's SDKs, we are limiting the officially supported fields for PDFs to only the fields that closely resemble the official ISO 32000 PDF standard.
Supported Fields
text
textarea
number
date
table
→ individual cell positions onlysignature
image
dropdown
multiSelect
→ individual option positions only
We do not recommend using any of the fields that are not listed above on PDF forms. Other fields not listed could be removed from the pdf
display type entirely. We cannot guarantee their support in the future so we don't recommend using them.
Updated 3 months ago