Class PdfDocumentValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.PdfDocumentValidationContext
- All Implemented Interfaces:
-
IValidationContext
Class for
PdfDocument
validation context.
-
Constructor Summary
ConstructorDescriptionPdfDocumentValidationContext
(PdfDocument pdfDocument, Collection<PdfFont> documentFonts) Instantiates a newPdfDocumentValidationContext
based on document and document fonts. -
Method Summary
Modifier and TypeMethodDescriptionGets the document fonts.Gets the pdf document.getType()
Gets type of the context.
-
Constructor Details
-
PdfDocumentValidationContext
Instantiates a newPdfDocumentValidationContext
based on document and document fonts.- Parameters:
-
pdfDocument
- the pdf document -
documentFonts
- the document fonts
-
-
Method Details
-
getPdfDocument
Gets the pdf document.- Returns:
- the pdf document
-
getDocumentFonts
Gets the document fonts.- Returns:
- the document fonts
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-