Package | Description |
---|---|
com.pdfunit |
This is the main package for testing PDF documents.
|
com.pdfunit.filter.region |
Classes to operate with regions of PDF pages.
|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Field and Description |
---|---|
static FormatUnit |
Constants.MILLIMETER
Deprecated.
|
static FormatUnit |
Constants.MILLIMETERS
A format unit.
|
static FormatUnit |
Constants.POINTS
A format unit.
|
Modifier and Type | Method and Description |
---|---|
static FormatUnit |
FormatUnit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormatUnit[] |
FormatUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ClippingArea(int leftX,
int upperY,
int width,
int height,
FormatUnit formatUnit)
Deprecated.
Creating a wrapper to hold a rectangle representing a section of a PDF page.
|
PageRegion(int leftX,
int upperY,
int width,
int height,
FormatUnit formatUnit)
Creating a wrapper to hold a rectangle representing a section of a PDF page.
|
Modifier and Type | Method and Description |
---|---|
RenderedPageValidator |
RenderedPageValidator.isEqualToImage(int leftX,
int upperY,
FormatUnit unit,
java.awt.image.BufferedImage expectedImage)
This method compares a rectangle of a page of the current PDF document to
the given image.
|
RenderedPageValidator |
RenderedPageValidator.isEqualToImage(int leftX,
int upperY,
FormatUnit unit,
java.io.File imageFile)
This method compares a rectangle of a page of the current PDF document to
the image, created from the file parameter.
|
RenderedPageValidator |
RenderedPageValidator.isEqualToImage(int leftX,
int upperY,
FormatUnit unit,
java.lang.String imageName)
This method compares a rectangle of a page of the current PDF document to
the image, created from the filename parameter.
|
RenderedPageValidator |
RenderedPageValidator.isEqualToImages(int leftX,
int upperY,
FormatUnit unit,
java.awt.image.BufferedImage... renderedImages)
This method compares a rectangle of a page of the current PDF document to
the image that was passed with the second parameter.
|
RenderedPageValidator |
RenderedPageValidator.isEqualToImages(int leftX,
int upperY,
FormatUnit unit,
java.io.File... referencedImageFiles) |
RenderedPageValidator |
RenderedPageValidator.isEqualToImages(int leftX,
int upperY,
FormatUnit unit,
java.lang.String... renderedImageFilenames) |
MultiDocumentSingleFieldValidator |
MultiDocumentSingleFieldValidator.withHeight(int expectedHeight,
FormatUnit formatUnit,
int allowedDelta)
This method verifies that the current field of each PDF document has the height
equals to the given parameter.
|
SingleFieldValidator |
SingleFieldValidator.withHeight(int expectedHeight,
FormatUnit formatUnit,
int allowedDelta)
This method verifies that the current field has the width equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
MultiDocumentSingleFieldValidator.withWidth(int expectedWidth,
FormatUnit formatUnit,
int allowedDelta)
This method verifies that the current field of each PDF document has the
width equals to the given parameter.
|
SingleFieldValidator |
SingleFieldValidator.withWidth(int expectedWidth,
FormatUnit formatUnit,
int allowedDelta)
This method verifies that the current field has the width equals to the given parameter.
|
Copyright (C) PDFUnit.com. See here for license.