Package com.itextpdf.pdfa
Class PdfADocumentInfoHelper
java.lang.Object
com.itextpdf.kernel.pdf.DocumentInfoHelper
com.itextpdf.pdfa.PdfADocumentInfoHelper
Deprecated.
functionality moved to pdfDocument.
The class is helper which used for PDF/A document to properly configure PDF document's info dictionary.
-
Constructor Summary
ConstructorsConstructorDescriptionPdfADocumentInfoHelper(PdfDocument pdfDocument) Deprecated.Instantiates a newPdfADocumentInfoHelperinstance based on the document. -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustDocumentInfo(PdfDocumentInfo documentInfo) Deprecated.Adjusts document info before it's flushing and adding to the trailer if required, seeDocumentInfoHelper.shouldAddDocumentInfoToTrailer().booleanDeprecated.If document info dictionary should be added to the trailer.
-
Constructor Details
-
PdfADocumentInfoHelper
Deprecated.Instantiates a newPdfADocumentInfoHelperinstance based on the document.- Parameters:
-
pdfDocument- the pdf document which will use that helper
-
-
Method Details
-
shouldAddDocumentInfoToTrailer
public boolean shouldAddDocumentInfoToTrailer()Deprecated.If document info dictionary should be added to the trailer..- Overrides:
-
shouldAddDocumentInfoToTrailerin classDocumentInfoHelper - Returns:
-
trueif should be added, otherwisefalse
-
adjustDocumentInfo
Deprecated.Adjusts document info before it's flushing and adding to the trailer if required, seeDocumentInfoHelper.shouldAddDocumentInfoToTrailer()..- Overrides:
-
adjustDocumentInfoin classDocumentInfoHelper - Parameters:
-
documentInfo- thePdfDocumentInfoinstance to adjust
-