@DoNotObfuscate
public final class ComparePageValidator
extends com.pdfunit.validators.AbstractPageValidator
CompareDocumentValidator
if you want to compare properties which
are unrelated to pages.Modifier | Constructor and Description |
---|---|
protected |
ComparePageValidator(CompareDocumentValidator compareDocumentValidator,
DocumentValidator documentValidatorTest,
DocumentValidator documentValidatorMaster) |
Modifier and Type | Method and Description |
---|---|
ComparePageValidator |
haveSameAppearance()
This method renders each specified page of a test PDF document and compares
it as an image to the same area of a master PDF.
|
ComparePageValidator |
haveSameFieldsByName()
This method does what the name suggests.
|
ComparePageValidator |
haveSameFieldsByValue()
This method does what the name suggests.
|
ComparePageValidator |
haveSameFormat()
This method does what the name suggests.
|
ComparePageValidator |
haveSameImages()
This method does what the name suggests.
|
ComparePageValidator |
haveSameNumberOfImages()
This method does what the name suggests.
|
ComparePageValidator |
haveSameText()
This method does what the name suggests.
|
ComparePageValidator |
haveSameText(WhitespaceProcessing whitespaceProcessing) |
ComparePageValidator |
restrictedTo(PageRegion region)
This method sets a region filter for the following validation process.
|
createFullSizeRegionFromDocument, getEffectedPages, getPageScanFlag, setPagesToUse, setRegion
protected ComparePageValidator(CompareDocumentValidator compareDocumentValidator, DocumentValidator documentValidatorTest, DocumentValidator documentValidatorMaster)
public ComparePageValidator haveSameAppearance()
public ComparePageValidator haveSameFieldsByName()
public ComparePageValidator haveSameFieldsByValue()
public ComparePageValidator haveSameFormat()
public ComparePageValidator haveSameImages()
public ComparePageValidator haveSameNumberOfImages()
public ComparePageValidator haveSameText()
@Guarded public ComparePageValidator haveSameText(WhitespaceProcessing whitespaceProcessing)
@Guarded public ComparePageValidator restrictedTo(PageRegion region)
Copyright (C) PDFUnit.com. See here for license.