Package | Description |
---|---|
com.pdfunit |
This is the main package for testing PDF documents.
|
com.pdfunit.pagefilter |
Classes to filter individual pages from the entire document.
|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Field and Description |
---|---|
static FormatUnit |
Constants.CENTIMETER
A format unit.
|
static FormatUnit |
Constants.DPI72
A format unit.
|
static FormatUnit |
Constants.INCH
A format unit.
|
static FormatUnit |
Constants.MILLIMETER
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 |
---|
DocumentFormat(double width,
double height,
FormatUnit unit) |
Constructor and Description |
---|
ClippingArea(double upperLeftX,
double upperLeftY,
double width,
double 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 upperLeftX,
int upperLeftY,
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 upperLeftX,
int upperLeftY,
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 upperLeftX,
int upperLeftY,
FormatUnit unit,
java.lang.String imageFileName)
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 upperLeftX,
int upperLeftY,
FormatUnit unit,
java.awt.image.BufferedImage... renderedImages) |
RenderedPageValidator |
RenderedPageValidator.isEqualToImages(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.io.File... referencedImageFiles) |
RenderedPageValidator |
RenderedPageValidator.isEqualToImages(int upperLeftX,
int upperLeftY,
FormatUnit unit,
java.lang.String... renderedImageFilenames) |
MultiDocumentSingleFieldValidator |
MultiDocumentSingleFieldValidator.withHeight(double expectedHeight,
FormatUnit formatUnit)
This method verifies that the current field of each PDF document has the height
equals to the given parameter.
|
SingleFieldValidator |
SingleFieldValidator.withHeight(double expectedHeight,
FormatUnit unit)
This method verifies that the current field has the height equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
MultiDocumentSingleFieldValidator.withWidth(double expectedWidth,
FormatUnit formatUnit)
This method verifies that the current field of each PDF document has the width
equals to the given parameter.
|
SingleFieldValidator |
SingleFieldValidator.withWidth(double expectedWidth,
FormatUnit unit)
This method verifies that the current field has the width equals to the given parameter.
|
Copyright (C) PDFUnit.com. See here for license.