Package com.itextpdf.pdfua
Class PdfUAPageFactory
java.lang.Object
com.itextpdf.pdfua.PdfUAPageFactory
- All Implemented Interfaces:
IPdfPageFactory
The class implements PDF page factory which is used for creating correct PDF/UA documents.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfUAPageFactory
(PdfUA1Checker checker) Instantiates a newPdfUAPageFactory
instance based onPdfUA1Checker
. -
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
.
-
Field Details
-
checker
-
-
Constructor Details
-
PdfUAPageFactory
Instantiates a newPdfUAPageFactory
instance based onPdfUA1Checker
.- Parameters:
checker
- the PDF/UA checker
-
-
Method Details
-
createPdfPage
Description copied from interface:IPdfPageFactory
CreatePdfPage
on the base of the pagePdfDictionary
.- Specified by:
createPdfPage
in interfaceIPdfPageFactory
- Parameters:
pdfObject
- thePdfDictionary
object on which thePdfPage
will be based- Returns:
- The pdf page.
-
createPdfPage
Description copied from interface:IPdfPageFactory
CreatePdfPage
with given page size and add it to thePdfDocument
.- Specified by:
createPdfPage
in interfaceIPdfPageFactory
- Parameters:
pdfDocument
-PdfDocument
to add pagepageSize
-PageSize
of the created page- Returns:
- The Pdf page.
-