Description
Utility for PDF file processing (encrypted and unencrypted).
- No need to open the PDF document
- No need to have PDF reading software installed
- Supports password protected PDF documents (128-bit)
- Extract text from entire PDF document, selected pages or selected areas of pages
- Extract images from the PDF document
- Allows to insert text and images into the PDF documents
- Supports signatures extraction
The runmode of this business object is “background”
1.1 Extract Images
Extracts the images from a PDF file.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Page |
In |
Number |
Optional. A page to extract images from |
Password |
In |
Password |
Password to PDF file |
Folder |
In |
Text |
Optional. A target folder to store images |
Images |
Out |
Collection |
Collection with images names and paths. |
1.2 Extract Pages
Extracts specific pages from a PDF file.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Pages |
In |
Text |
Pages to extract from PDF file. E.g. “1-3” or “1,2,3” |
Password |
In |
Password |
Password to PDF file |
Target File Path |
In |
Text |
Optional. A target file to save the extarcted pages. Default value is the source file. |
1.3 Get File Properties
Gets a PDF file properties.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Password |
In |
Password |
Optional. Password to PDF file |
Author |
Out |
Text |
Author of the PDF file |
Creator |
Out |
Text |
Creator of the PDF file |
Producer |
Out |
Text |
Producer of the PDF file |
Subject |
Out |
Text |
Subject of the PDF file |
Title |
Out |
Text |
Title of the PDF file |
Keywords |
Out |
Text |
Keywords |
Page Count |
Out |
Number |
Page Count |
Encrypted |
Out |
Flag |
Is file password protected? |
Creation Date |
Out |
DateTime |
Date of the file creation |
Pages |
Out |
Collection |
Additional pages info |
Signatures |
Out |
Collection |
Signatures in the PDF file |
Images |
Out |
Collection |
Images in the PDF file |
1.4 Get Text
Gets text from PDF file.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Password |
In |
Password |
Optional. Password to PDF file |
Page |
In |
Number |
Page number |
Text |
Out |
Text |
Text from PDF file |
1.5 Get Text From Area
Gets text from the specific region of the PDF’s file page.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Password |
In |
Password |
Optional. Password to PDF file |
Page |
In |
Number |
Page number |
X |
In |
Number |
Area start position x in inches |
Y |
In |
Number |
Are start position x in inches |
Width |
In |
Number |
Area width |
Height |
In |
Number |
Area height |
Text |
Out |
Text |
A text from the area |
1.6 Get Text Location
Returns a collection of locations of the text on the PDF’s file page.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Password |
In |
Password |
Optional. Password to PDF file |
Text |
In |
Text |
Text to be located |
Ignore Case |
In |
Flag |
Optional. False by default |
Location |
Out |
Collection |
Collection of the text locations |
1.7 Remove Password
Removes a password protection from a PDF file. Support for 128-bit encryption.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Password |
In |
Password |
Password to PDF file |
1.8 Set Image
Sets the image on the page of a PDF file.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Image |
In |
Image |
Image to be set in the PDF file |
Page |
In |
Number |
A page to set the Image on |
X |
In |
Number |
Image start position x in inches |
Y |
In |
Number |
Image start position y in inches |
Compress |
In |
Flag |
Optional. Compress image |
1.9 Set Password
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Password |
In |
Password |
Optional. Password to PDF file |
1.10 Set Rotation
Rotates the page of a PDF file.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Page |
In |
Number |
A page of the PDF file to be rotated |
Rotation |
In |
Number |
Rotation degree |
1.11 Set Text
Sets text on the page of a PDF file.
Parameter |
Direction |
Data Type |
Description |
File Path |
In |
Text |
PDF file path |
Text |
In |
Text |
Text to be set in the PDF file |
Page |
In |
Number |
A page to set the text on |
X |
In |
Number |
Text start position x in inches |
Y |
In |
Number |
Text start position y in inches |
Font |
In |
Text |
Text font |
Font Size |
In |
Number |
Text font size |
Color |
In |
Text |
Text color in hex |
Spacing |
In |
Number |
Text spacing |
Rotation |
In |
Number |
Text rotation |