C# 클래스 PdfRpt.FooterTemplates.DefaultFooterProvider

A helper class/sample which demonstrates how to implement the IPdfRptCustomFooter to produce the pdfDoc's footer
상속: IPageFooter
파일 보기 프로젝트 열기: VahidN/PdfReport 1 사용 예제들

공개 메소드들

메소드 설명
ClosingDocument ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void

Fires before closing the document

DefaultFooterProvider ( IPdfFont pdfRptFont, string printDate, PdfRunDirection direction ) : System

Our DefaultFooter writes current date and page numbers at the bottom of the pages.

DocumentOpened ( PdfWriter writer, IList columnCellsSummaryData ) : void

Fires when the document is opened.

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

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

비공개 메소드들

메소드 설명
addPrintDate ( Rectangle pageSize, string printTime ) : void
addTotalPageNumebersTemplate ( PdfWriter writer, Document document ) : Rectangle
initTemplate ( PdfWriter writer ) : void
setFinalPageNumber ( PdfWriter writer ) : void

메소드 상세

ClosingDocument() 공개 메소드

Fires before closing the document
public ClosingDocument ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
document iTextSharp.text.Document PDF Document
columnCellsSummaryData IList List of all rows summaries data
리턴 void

DefaultFooterProvider() 공개 메소드

Our DefaultFooter writes current date and page numbers at the bottom of the pages.
public DefaultFooterProvider ( IPdfFont pdfRptFont, string printDate, PdfRunDirection direction ) : System
pdfRptFont IPdfFont Selected font
printDate string Current date
direction PdfRunDirection rtl or ltr
리턴 System

DocumentOpened() 공개 메소드

Fires when the document is opened.
public DocumentOpened ( PdfWriter writer, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
columnCellsSummaryData IList List of all rows summaries data
리턴 void

PageFinished() 공개 메소드

Fires when a page is finished, just before being written to the document.
public PageFinished ( PdfWriter writer, Document document, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
document iTextSharp.text.Document PDF Document
columnCellsSummaryData IList List of all rows summaries data
리턴 void