public class BulkReceivingPdf extends PurapPdf
campusName, cb, environment, headerTable, helv, isPreview, isRetransmit, logo, logoImage, nestedHeaderTable, po, tpl
Constructor and Description |
---|
BulkReceivingPdf() |
Modifier and Type | Method and Description |
---|---|
void |
generatePdf(BulkReceivingDocument blkRecDoc,
ByteArrayOutputStream byteStream,
String logoImage,
String environment)
Generates the pdf document based on the data in the given BulkReceivingDocument
|
BulkReceivingPdf |
getPageEvents()
Gets a PageEvents object.
|
void |
onOpenDocument(com.lowagie.text.pdf.PdfWriter writer,
com.lowagie.text.Document document)
Overrides the method in PdfPageEventHelper from itext to create and set the headerTable and set its logo image if
there is a logoImage to be used, creates and sets the nestedHeaderTable and its content.
|
deletePdf, getDateTimeService, getDocument, onCloseDocument, onEndPage, onStartPage
public BulkReceivingPdf()
public void onOpenDocument(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document)
onOpenDocument
in interface com.lowagie.text.pdf.PdfPageEvent
onOpenDocument
in class com.lowagie.text.pdf.PdfPageEventHelper
writer
- The PdfWriter for this document.document
- The document.PdfPageEventHelper.onOpenDocument(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document)
public BulkReceivingPdf getPageEvents()
getPageEvents
in class PurapPdf
public void generatePdf(BulkReceivingDocument blkRecDoc, ByteArrayOutputStream byteStream, String logoImage, String environment)
blkRecDoc
- The BulkReceivingDocument to be used to generate the pdf.byteStream
- The ByteArrayOutputStream where the pdf document will be written to.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.