public class DocumentInfoHelper extends Object
PdfDocument to properly configure PDF document's info dictionary.| Constructor and Description |
|---|
DocumentInfoHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustDocumentInfo(PdfDocumentInfo documentInfo)
Adjusts document info before it's flushing and adding to the trailer
if required, see
shouldAddDocumentInfoToTrailer(). |
boolean |
shouldAddDocumentInfoToTrailer()
If document info dictionary should be added to the trailer.
|
public boolean shouldAddDocumentInfoToTrailer()
true if should be added, otherwise falsepublic void adjustDocumentInfo(PdfDocumentInfo documentInfo)
shouldAddDocumentInfoToTrailer().documentInfo - the PdfDocumentInfo instance to adjustCopyright © 1998–2025 Apryse Group NV. All rights reserved.