iText 9.5.0 API
iText.Kernel.Pdf.DocumentInfoHelper Class Reference

The class is helper which used inside PdfDocument to properly configure PDF document's info dictionary. More...

Inheritance diagram for iText.Kernel.Pdf.DocumentInfoHelper:
iText.Pdfa.PdfADocumentInfoHelper

Public Member Functions

virtual bool  ShouldAddDocumentInfoToTrailer ()
  If document info dictionary should be added to the trailer. More...
 
virtual void  AdjustDocumentInfo (PdfDocumentInfo documentInfo)
  Adjusts document info before it's flushing and adding to the trailer if required, see ShouldAddDocumentInfoToTrailer(). More...
 

Detailed Description

The class is helper which used inside PdfDocument to properly configure PDF document's info dictionary.

Member Function Documentation

◆ AdjustDocumentInfo()

virtual void iText.Kernel.Pdf.DocumentInfoHelper.AdjustDocumentInfo ( PdfDocumentInfo  documentInfo )
inlinevirtual

Adjusts document info before it's flushing and adding to the trailer if required, see ShouldAddDocumentInfoToTrailer().

Parameters
documentInfo the PdfDocumentInfo instance to adjust

Reimplemented in iText.Pdfa.PdfADocumentInfoHelper.

◆ ShouldAddDocumentInfoToTrailer()

virtual bool iText.Kernel.Pdf.DocumentInfoHelper.ShouldAddDocumentInfoToTrailer ( )
inlinevirtual

If document info dictionary should be added to the trailer.

Returns

true if should be added, otherwise false

Reimplemented in iText.Pdfa.PdfADocumentInfoHelper.