Package com.itextpdf.pdfa
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.
-
Constructor Summary
ConstructorDescriptionPdfAPageFactory
(PdfAChecker checker) Instantiates a newPdfAPageFactory
instance based onPdfAChecker
. -
Method Summary
Modifier and TypeMethodDescriptioncreatePdfPage
(PdfDictionary pdfObject) CreatePdfPage
on the base of the pagePdfDictionary
.createPdfPage
(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPage
with given page size and add it to thePdfDocument
.
-
Constructor Details
-
PdfAPageFactory
Instantiates a newPdfAPageFactory
instance based onPdfAChecker
.- Parameters:
-
checker
- the PDF/A checker
-
-
Method Details
-
createPdfPage
CreatePdfPage
on the base of the pagePdfDictionary
..- Specified by:
-
createPdfPage
in interfaceIPdfPageFactory
- Parameters:
-
pdfObject
- thePdfDictionary
object on which thePdfPage
will be based - Returns:
-
created
PdfPage
-
createPdfPage
CreatePdfPage
with given page size and add it to thePdfDocument
..- Specified by:
-
createPdfPage
in interfaceIPdfPageFactory
- Parameters:
-
pdfDocument
-PdfDocument
to add page -
pageSize
-PageSize
of the created page - Returns:
-
created
PdfPage
-