Package | Description |
---|---|
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 | Method and Description |
---|---|
static ClippingArea |
ClippingArea.createFullSizeFromDocument(com.pdfunit.internal.spi.IDocument testDocument)
This method creates a clipping area instance for a full page of the given
document.
|
Modifier and Type | Method and Description |
---|---|
TextValidator |
DocumentValidator.hasContent(PagesToUse pagesToUse,
ClippingArea clippingArea)
Deprecated.
Use hasText(PagesToUse, ClippingArea) instead.
The name of this method is not clear enough.
|
boolean |
DocumentValidator.hasNoText(PagesToUse pagesToUse,
ClippingArea clippingArea) |
boolean |
MultiDocumentValidator.hasNoText(PagesToUse pagesToUse,
ClippingArea clippingArea)
This method checks, that each document of the given set of PDF documents
do not have text in the areas of that pages that are defined.
|
TextValidator |
DocumentValidator.hasText(PagesToUse pagesToUse,
ClippingArea clippingArea)
This method prepares the validation of text for every page in effect, defined
by the first parameter, reduced to a section of every page, defined by the second parameter.
|
MultiDocumentTextValidator |
MultiDocumentTextValidator.hasText(PagesToUse pagesToUse,
ClippingArea clippingArea)
This method checks that each document of the given set of PDF documents
contains text in the area and pages that are defined by the parameters.
|
MultiDocumentTextValidator |
MultiDocumentValidator.hasText(PagesToUse pagesToUse,
ClippingArea inClippingArea) |
CompareValidator |
CompareValidator.haveSameAppearance(PagesToUse pagesToUse,
ClippingArea clippingArea)
This method renders areas from each specified page of a test PDF document
and compares it as an image to the same area of a master PDF.
|
CompareValidator |
CompareValidator.haveSameContent(PagesToUse pagesToUse,
ClippingArea clippingArea)
Deprecated.
Unprecise name. Use haveSameText(PagesToUse, ClippingArea) instead.
|
CompareValidator |
CompareValidator.haveSameContent(PagesToUse pagesToUse,
ClippingArea clippingArea,
WhitespaceProcessing whitespaceProcessing)
Deprecated.
Unprecise name. Use haveSameText(PagesToUse, ClippingArea, WhitespaceProcessing) instead.
|
CompareValidator |
CompareValidator.haveSameText(PagesToUse pagesToUse,
ClippingArea clippingArea)
This method does what the name suggests.
|
CompareValidator |
CompareValidator.haveSameText(PagesToUse pagesToUse,
ClippingArea clippingArea,
WhitespaceProcessing whitespaceProcessing)
This method does what the name suggests.
|
TextValidator |
TextValidator.inClippingArea(ClippingArea clippingArea,
int pageHeight)
This method stores parameters to reduce a text validation
to a section of one or more pages of a PDF document.
|
Constructor and Description |
---|
EmptyPageValidator(com.pdfunit.internal.spi.IDocument testDocument,
PagesToUse pagesToUse,
ClippingArea clippingArea) |
MultiDocumentEmptyPageValidator(java.util.Vector<DocumentValidator> documentValidators,
PagesToUse pagesToUse,
ClippingArea clippingArea) |
Copyright (C) PDFUnit.com. See here for license.