Package | Description |
---|---|
com.pdfunit |
This is the main package for testing PDF documents.
|
com.pdfunit.messages |
Classes for error messages, used as a key in messages.properties.
|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentFormatMillis
Format of a PDF page in millimeter.
|
Modifier and Type | Field and Description |
---|---|
static DocumentFormat |
Constants.A0_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A0_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.A1_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A1_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.A2_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A2_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.A3_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A3_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.A4_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A4_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.A5_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A5_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.A6_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.A6_PORTRAIT
A typical page format.
|
static DocumentFormat |
Constants.LETTER_LANDSCAPE
A typical page format.
|
static DocumentFormat |
Constants.LETTER_PORTRAIT
A typical page format.
|
Constructor and Description |
---|
PageFormatMessage(com.pdfunit.internal.spi.IDocument testDocument,
com.pdfunit.internal.util.PageNumberList effectedPageNumbers,
DocumentFormat expectedFormat,
DocumentFormat lastMismatchingFormat) |
Modifier and Type | Method and Description |
---|---|
DocumentValidator |
DocumentValidator.hasFormat(DocumentFormat expectedFormat)
This method verifies the format against every page of a document.
|
FormatValidator |
FormatValidator.hasFormat(DocumentFormat expectedFormat)
This method verifies that the format of all pages in effect are equal
to the expected format, given by the first parameter.
|
MultiDocumentFormatValidator |
MultiDocumentFormatValidator.hasFormat(DocumentFormat expectedFormat)
This method checks that each predefined page of a document from the given set
of PDF documents has the expected page format.
|
MultiDocumentFormatValidator |
MultiDocumentValidator.hasFormat(DocumentFormat expectedFormat)
This method checks that each document of the given set of PDF documents has
the expected page format.
|
PageValidator |
PageValidator.hasFormat(DocumentFormat expectedFormat)
This method verifies the format against every page of a document.
|
DocumentValidator |
DocumentValidator.hasFormat(DocumentFormat expectedFormat,
PagesToUse pagesToUse)
Deprecated.
|
MultiDocumentValidator |
MultiDocumentValidator.hasFormat(DocumentFormat expectedFormat,
PagesToUse pagesToUse)
Deprecated.
|
Copyright (C) PDFUnit.com. See here for license.