C# Class PdfRpt.Core.Helper.HeaderFooterManager

A class to encapsulate header and footer related methods.
显示文件 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
AddFooter ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void

Fires when a page is finished, just before being written to the document.

AddHeader ( PdfWriter writer, Document document ) : void

Fires when a new page is being added

ApplyFooter ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void

Fires before closing the document

InitFooter ( PdfWriter writer, IList columnCellsSummaryData ) : void

Fires when the document is opened

Method Details

AddFooter() public method

Fires when a page is finished, just before being written to the document.
public AddFooter ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
document iTextSharp.text.Document PDF Document
columnCellsSummaryData IList Rows summaries data
return void

AddHeader() public method

Fires when a new page is being added
public AddHeader ( PdfWriter writer, Document document ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
document iTextSharp.text.Document PDF Document
return void

ApplyFooter() public method

Fires before closing the document
public ApplyFooter ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
document iTextSharp.text.Document PDF Document
columnCellsSummaryData IList Rows summaries data
return void

InitFooter() public method

Fires when the document is opened
public InitFooter ( PdfWriter writer, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
columnCellsSummaryData IList Rows summaries data
return void