Class PdfAPageFactory
java.lang.Object
com.itextpdf.pdfa.PdfAPageFactory
- All Implemented Interfaces:
IPdfPageFactory
The class implements PDF page factory which is used for creating correct PDF/A documents.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfAPageFactory(PdfAChecker checker) Instantiates a newPdfAPageFactoryinstance based onPdfAChecker. -
Method Summary
Modifier and TypeMethodDescriptioncreatePdfPage(PdfDictionary pdfObject) CreatePdfPageon the base of the pagePdfDictionary.createPdfPage(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPagewith given page size and add it to thePdfDocument.
-
Field Details
-
checker
-
-
Constructor Details
-
PdfAPageFactory
Instantiates a newPdfAPageFactoryinstance based onPdfAChecker.- Parameters:
checker- the PDF/A checker
-
-
Method Details
-
createPdfPage
CreatePdfPageon the base of the pagePdfDictionary..- Specified by:
createPdfPagein interfaceIPdfPageFactory- Parameters:
pdfObject- thePdfDictionaryobject on which thePdfPagewill be based- Returns:
- created
PdfPage
-
createPdfPage
CreatePdfPagewith given page size and add it to thePdfDocument..- Specified by:
createPdfPagein interfaceIPdfPageFactory- Parameters:
pdfDocument-PdfDocumentto add pagepageSize-PageSizeof the created page- Returns:
- created
PdfPage
-