The Convert Document flow block converts documents into different formats based on parameters set by the user. Many users link Convert Document flow blocks to a Generate document block. However, users can also connect other blocks like the Send to Docusign block and then Convert the signed document.
Flow Block Parameters
The sections below describe the configuration options of the Convert Document block: the flow outputs, the basic settings, and the additional settings for each target document format.
Flow Output
Component, Control, or Indicator
Function
Source Document
When checked, a link to the original source document that was converted is provided in the flow output.
Source Document Type
When checked, the file type of the source document is displayed in the flow output.
Target document
When checked, a link is provided to the converted document in the flow output.
Target Document Name
When checked, the document name of the converted document is displayed in the flow output.
Target Document Type
When checked, the file type of the converted document is displayed in the flow output.
Target Document Title
When checked, the title of the converted document is displayed in the flow output. This output is relevant only for PDF conversions.
Compliance test report
When checked, an XML file containing the details of the compliance test result is provided in the flow output if the converted document does not pass the compliance test. This output is relevant only for the 'PDF/UA-1', 'PDF/UA-2', and 'PDF/A-4 + PDF/UA-2' types.
Formatted compliance test report
When checked, a link is provided in the flow output if the converted document does not pass the compliance test. The link opens a user-friendly view of the compliance test report in the Flow Execution Panel. This output is relevant only for the 'PDF/UA-1', 'PDF/UA-2', and 'PDF/A-4 + PDF/UA-2' types.
Compliance test passed
When checked, the compliance test result is displayed in the flow output. (true/false). This output is relevant only for the 'PDF/UA-1', 'PDF/UA-2', and 'PDF/A-4 + PDF/UA-2' types.
Basic Settings
The basic settings define the source document, the name of the converted document, and the format to convert it to. The Target Document Format field controls which additional settings are displayed below Basic Settings.
Field name
Function
Source Document
Specifies the document to convert, for example, the document generated by a Generate Document block.
Target Document Name
Sets the name of the converted document. If empty, the system uses the name of the source document.
Time format
Adds a timestamp to the name of the converted document. Select a date format, a time format, or both. To use a custom timestamp, use a linked field. Refer to Date & time patterns for more information.
Target Document Format
The format of the converted document. By default, the system uses PDF. Available formats include:
PDF
HTML
RTF
Word
ODF
Word 97-2003
Plain text
XPS
PCL 6
PS 3.0
EPUB
PNG
JPEG
XLSX
PPTX
Use a generated document as input
When checked, the system converts the linked document instead of the original .docx document generated by the flow.
Settings by Target Document Format
Some target document formats have additional settings. When you select one of these formats in Target Document Format, its settings appear below Basic Settings. Expand a format below to view its settings. The PS 3.0, PCL 6, PNG, JPEG, and EPUB formats have no additional settings.
PDF
PDF settings
The PDF settings define how your converted PDF functions for users, including encryption, permissions, and password protection.
Field name
Function
Profile
Sets the image quality and file size of the converted document. Options include:
Standard: The system balances image quality and file size. This is the default profile.
High quality: The system keeps the original image resolution and uses the highest image quality. The file is larger.
Small file size: The system compresses images and does not embed fonts. The file is smaller, but the document may look different on computers that don't have the fonts installed.
Compliance
Sets the PDF version and compliance level for the converted document. By default the system uses PDF 1.7. The options are grouped as follows:
PDF: PDF 2.0, PDF 1.7, and PDF 1.5 (deprecated, the system falls back to PDF 1.7).
PDF/A (Archive): PDF/A-1a and PDF/A-1b (legacy), PDF/A-2a, PDF/A-2b, PDF/A-2u, PDF/A-3a, PDF/A-3b, PDF/A-3u, PDF/A-4, and PDF/A-4f.
PDF/UA (Accessibility): PDF/UA-1, PDF/UA-2, and PDF/A-4 + PDF/UA-2.
PDF/UA-2 and PDF/A-4 + PDF/UA-2 cannot be applied when the source document is already a PDF.
Upon selecting PDF/UA-1, PDF/UA-2, or PDF/A-4 + PDF/UA-2, the following setting is displayed:
Fail the flow if the converted document is not valid according to the compliance test result - This setting allows you to ensure non-compliant documents are blocked from delivery.
For more information on PDF/UA, see Features of PDF/UA.
Image color space export mode
Sets the color space mode for the images in the PDF. You can select the following options:
Auto - The original color space of the image is retained as it is.
Simple CMYK - The original color space of the image is converted in to CMYK color space. For more information, see CMYK_color_model.
Preserve form fields
When checked, Word form fields (text input, drop-down, and check box) are exported as PDF form fields. When unchecked, they are exported as plain text. Some formatting may be lost.
Protect PDF
Field name
Function
Owner password
Sets password that unlocks the PDF document and provides access to all the document's features.
User password
Sets the password for users of the document. When a user enters the user password, it provides access to the features defined under Permissions.
Algorithm
Determines the algorithm to use when encrypting the converted document with the following options: RC4 40 bit, RC4 128 bit, AES 128 bit, AES 256 bit. The system uses RC4 40 bit encryption by default.
Note: The protection settings and the Permissions settings are applied only when Owner password is set.
Permissions
The Permissions settings define what users can do with the converted document, such as printing or content copying.
Field name
Function
Document assembly
When checked, the document allows users to modify the order of pages.
Content copying
When checked, the converted document allows the user to copy content from the document.
Degraded printing
When checked, users can print the document in low-resolution mode.
Fill in forms
When checked, form fields within the document are editable.
Modify annotations
When checked, annotations within the document are editable.
Modify content
When checked, allows users to change the content of the document.
Allow printing
When checked, allows users to print the document.
Allow screen readers
When checked, allows users to use a screen reader with the converted document.
PDF properties
Field name
Function
Author
Defines the author field for the document. You can type in a name for this field or use a linked field to fill the Author dynamically.
Title
Defines the title of the document. If empty, the system uses the Target Document Name. If Target Document Name is also empty, the system uses the name of the source document.
Subject
Sets the subject of the document.
Keywords
Assigns keywords to the document. Use commas to separate keywords.
Creation date
Sets the creation date for the converted document.
Modification date
Sets the modification date for the converted document.
Certify PDF
When checked, the system certifies the converted PDF with the selected asset certificate.
Field name
Function
Asset Certificate
Defines the certificate, chosen from the dropdown.
Access Permission
Defines 3 access permission levels.
No changes (default): Any change to the document invalidates the certificate.
Filling in forms: Users can fill in forms, instantiate page templates, and sign.
Annotation modification: In addition to the above, users can create, delete, and modify annotations.
Certificate Contact
(Optional) Additional certificate information that the PDF reader can display.
Certificate Reason
(Optional) Additional certificate information that the PDF reader can display.
Certificate Location
(Optional) Additional certificate information that the PDF reader can display.
HTML
HTML settings
The HTML-specific parameters define how the flow block functions when converting documents to HTML.
Field name
Function
Target Document format
Sets the format when converting to HTML with the following options:
Single file web page (*.mht; *.mhtml): Saves the page and all its resources in a single file.
Web page (*.htm; *.html): Saves the document as an HTML page. Depending on Source Document resources, images and other resources are embedded or saved to a file system. This is the default format.
Encoding
Sets the encoding to use for the HTML conversion. The system uses UTF-8 encoding by default.
Source Document resources
Defines how the system stores the extra resources connected to the document with the following options:
Embed in document: The system stores the extra resources in the document.
Shared on filesystem: Sets the system to store extra resources in a shared folder on your server. This setting requires a file system connector. We recommend using the Shared on filesystem setting to optimize resource usage and prevent the redundant copies common with the Own folder on filesystem option.
Own folder on filesystem: The system stores extra resources in unique folders on your server. This setting requires a file system connector.
Filesystem
Displayed when Shared on filesystem or Own folder on filesystem is selected. Sets the file system connector to save the resources to. If empty, the system uses the default file system connector. If no file system connector is available, the resources are embedded in the document.
Source Document headers and footers
Defines how the conversion handles headers and footers when converting to HTML with the following options:
No Action: Headers and footers are ignored.
Primary Headers and Footers per section: The primary header and footer are placed at the beginning and end of each section.
Primary Headers and Footers per document: The primary header and footer are placed at the beginning and end of the document. This is the default option.
First Page Header and Footer per section: The first page header and footer are placed at the beginning and end of each section.
RTF
RTF settings
Rich Text Format (RTF) is a document file format that most word processors can read. The RTF-specific settings define how the Convert Document flow block handles RTF files.
Field name
Function
Profile
The Profile setting defines the RTF output with the following options:
Standard: The system uses standard RTF output. This is the default profile.
Small file size: The system reduces the file size. Images may not display in older RTF readers.
ODF
ODF settings
The OpenDocument Format (ODF) is an open XML-based document file format for documents containing text, spreadsheets, charts, and graphical elements. The ODF-specific settings define the Convert Document flow block behavior for ODF file types.
Field name
Function
Document format
Sets the document format with the following options: Document (.odt) or template (.ott).
Plain Text
Text settings
Plain text document conversion produces documents that display and function similar to Notepad documents.
Field name
Function
Encoding
Defines the encoding applied when converting the document text.
PPTX
PPTX settings
The PPTX settings define how the Convert Document flow block converts documents to Microsoft PowerPoint presentations.
Field name
Function
Profile
Sets the resolution of the images in the converted presentation. The options are:
Standard: The system uses 192 DPI. This is the default when no profile is selected.
High quality: The system uses 300 DPI. Images have higher quality and the file is larger.
Reduced file size: The system uses 90 DPI. Images have lower quality and the file is smaller.
Note: Only PDF documents can be converted to PPTX. If the source document is in another format, such as DOCX, the flow fails with the error "Converting from DOCX to PPTX is not supported." To convert a generated Word document to PPTX, add two Convert Document blocks: first convert the document to PDF, then convert the PDF to PPTX.
Word
Word settings
The Word settings define how the Convert Document flow block handles Microsoft Word file types.
Field name
Function
Document format
Defines the Word format of the document with the following options: .docx, .docm, .dotm, .dotx, .xml. The system chooses .docx by default.
Compliance
Defines the Office Open XML (OOXML) version the system uses to convert the document with the following options: ECMA-376 1st Edition, 2006, ISO 29500:2008 transactional, ISO 29500:2008 strict. The system uses ISO 29500:2008 transactional by default.
Password
Sets the password required to open the document.
Word 97-2003
Word 97-2003 settings
The Word 97-2003 settings define how the Convert Document flow block converts documents to the legacy Microsoft Word formats: .doc and .dot.
Field name
Function
Document format
The format of the document with the following options: Document (.doc) or template (.dot).
Password
Sets the password required to open the document.
XLSX
XLSX settings
Post XLSX document format selection, the application displays the following settings:
Field name
Function
Profile > High quality
Slow file conversion with high quality images.
Profile > High performance
Fast file conversion with average quality images. Also, the converted file size is considerably large when compared to the Default profile files.
Profile > Default
Average conversion speed and image quality. This profile is not in the list: the system uses it when no profile is selected.
New worksheet per page
Places each section of the document on a separate worksheet.
The 'New worksheet per page' option works if the original .DOCX document is selected as input for the Convert block (so 'Use a generated document as input' is not checked) in combination with section breaks.
XPS
XPS settings
XML Paper Specification (XPS) is a fixed-layout document format. The XPS settings define how the Convert Document flow block converts documents to XPS.
Field name
Function
Profile
Sets the image and rendering quality of the converted document. The options are:
Standard: The system uses standard rendering and image quality. This is the default profile.
High quality: The system uses high-quality rendering and the highest image quality. The file may be larger and the conversion may take longer.
Flow block customization buttons
Users can use linked fields to map data from your data set(s).
Users can use edit fields to customize the flow block.
Using delayed output settings to wait for signatures or file names of completed documents.