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) Deprecated.PdfUAPageFactory(PdfUAChecker checker) Instantiates a newPdfUAPageFactoryinstance based onPdfUAChecker. -
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
-
PdfUAPageFactory
Deprecated.in favour ofPdfUAPageFactory(PdfUAChecker)Instantiates a newPdfUAPageFactoryinstance based onPdfUA1Checker.- Parameters:
checker- the PDF/UA checker
-
PdfUAPageFactory
Instantiates a newPdfUAPageFactoryinstance based onPdfUAChecker.- Parameters:
checker- the PDF/UA checker
-
-
Method Details
-
createPdfPage
Description copied from interface:IPdfPageFactoryCreatePdfPageon the base of the pagePdfDictionary.- Specified by:
createPdfPagein interfaceIPdfPageFactory- Parameters:
pdfObject- thePdfDictionaryobject on which thePdfPagewill be based- Returns:
- The pdf page.
-
createPdfPage
Description copied from interface:IPdfPageFactoryCreatePdfPagewith given page size and add it to thePdfDocument.- Specified by:
createPdfPagein interfaceIPdfPageFactory- Parameters:
pdfDocument-PdfDocumentto add pagepageSize-PageSizeof the created page- Returns:
- The Pdf page.
-
PdfUAPageFactory(PdfUAChecker)