PDF Utils

The PDF Utilities is responsible for comparing and extracting information from PDF files. It provides functionality to compare two PDF files, extract text from a PDF file.

Property Name
Property Value
Description

StartPage

1

The starting page number for comparison/Extraction

EndPage

-1

The ending page number for comparison/Extraction

PDFAction

--

The action to be performed on the PDF files. Available options: "compare", "ExtractText"

File1

Value can be provide either in expressions (td:fileName, ud:fileName) or absolute path

The path or location of the first PDF file for comparison / extraction

File2

Value can be provide either in expressions (td:fileName, ud:fileName) or absolute path

The path or location of the second PDF file for comparison / extraction

TrimWhiteSpaces

Default : false

Flag to indicate whether to trim white spaces in the PDF files

HighlightDifference

Default : false

Flag to indicate whether to highlight differences in the PDF files

DifferenceImageColor

Default : MAGENTA

The color code (e.g., #FF0000) for highlighting differences in the PDF files

CompareAllPages

Default : false

Flag to indicate whether to compare all pages of the PDF files

CompareType

--

The type of comparison. Available options: "visual", "text"

ExcludeRegexPattern

--

Regular expression pattern to exclude specific text during comparison

fileName

Value can be provide either in expressions (td:fileName, ud:fileName) or absolute path

The path or location of the file Note : Only when PDF Action is "ExtractText"

ExtractionOperation

Refer to : Extraction Rules

Given extraction operation will be applied to the extracted text Note : Only when PDF action is "ExtractText"

Last updated