| org.kuali.module.purap.pdf.PurchaseOrderQuoteRequestsPdf
PurchaseOrderQuoteRequestsPdf | public class PurchaseOrderQuoteRequestsPdf extends PdfPageEventHelper (Code) | | Base class to handle pdf for purchase order quote request documents.
|
Method Summary | |
public void | deletePdf(String pdfFileLocation, String pdfFilename) Deletes an already created PDF. | public Collection | generatePOQuoteRequestsListPdf(PurchaseOrderDocument po, ByteArrayOutputStream byteArrayOutputStream) Generates the purchase order quote request list pdf document based on the data in the given input parameters
by creating a pdf writer using the given byteArrayOutputStream then calls the createPOQuoteRequestsListPdf to
write the pdf document into the writer.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: byteArrayOutputStream - The ByteArrayOutputStream to print the pdf to. | public PurchaseOrderPdf | getPageEvents() Gets a PageEvents object. | public void | onCloseDocument(PdfWriter writer, Document document) Overrides the method in the PdfPageEventHelper from itext to put the total number of pages into the template. | public void | onEndPage(PdfWriter writer, Document document) Overrides the method in PdfPageEventHelper from itext to compose the footer and show the
footer. | public void | onOpenDocument(PdfWriter writer, Document document) Overrides the method in PdfPageEventHelper from itext to initialize the template and font for purchase
order quote request pdf documents. | public Collection | savePOQuoteRequestsListPdf(PurchaseOrderDocument po, String pdfFileLocation, String pdfFilename) Invokes the createPOQuoteRequestsListPdf method to create a purchase order quote list request pdf document
and saves it into a file which name and location are specified in the input parameters.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: pdfFileLocation - The location to save the pdf file. Parameters: pdfFilename - The name for the pdf file. |
cb | public PdfContentByte cb(Code) | | |
cellTextFont | Font cellTextFont(Code) | | |
cellTitleFont | Font cellTitleFont(Code) | | |
headerTable | public PdfPTable headerTable(Code) | | |
helv | public BaseFont helv(Code) | | |
titleFont | Font titleFont(Code) | | |
tpl | public PdfTemplate tpl(Code) | | |
PurchaseOrderQuoteRequestsPdf | public PurchaseOrderQuoteRequestsPdf()(Code) | | |
deletePdf | public void deletePdf(String pdfFileLocation, String pdfFilename)(Code) | | Deletes an already created PDF.
Parameters: pdfFileLocation - The location to save the pdf file. Parameters: pdfFilename - The name for the pdf file. |
generatePOQuoteRequestsListPdf | public Collection generatePOQuoteRequestsListPdf(PurchaseOrderDocument po, ByteArrayOutputStream byteArrayOutputStream)(Code) | | Generates the purchase order quote request list pdf document based on the data in the given input parameters
by creating a pdf writer using the given byteArrayOutputStream then calls the createPOQuoteRequestsListPdf to
write the pdf document into the writer.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: byteArrayOutputStream - The ByteArrayOutputStream to print the pdf to. Collection of errors which are made of the messages from DocumentException. |
onCloseDocument | public void onCloseDocument(PdfWriter writer, Document document)(Code) | | Overrides the method in the PdfPageEventHelper from itext to put the total number of pages into the template.
Parameters: writer - The PdfWriter for this document. Parameters: document - The document. See Also: com.lowagie.text.pdf.PdfPageEventHelper.onCloseDocument(com.lowagie.text.pdf.PdfWritercom.lowagie.text.Document) |
onEndPage | public void onEndPage(PdfWriter writer, Document document)(Code) | | Overrides the method in PdfPageEventHelper from itext to compose the footer and show the
footer.
Parameters: writer - The PdfWriter for this document. Parameters: document - The document. See Also: com.lowagie.text.pdf.PdfPageEventHelper.onEndPage(com.lowagie.text.pdf.PdfWritercom.lowagie.text.Document) |
onOpenDocument | public void onOpenDocument(PdfWriter writer, Document document)(Code) | | Overrides the method in PdfPageEventHelper from itext to initialize the template and font for purchase
order quote request pdf documents.
Parameters: writer - The PdfWriter for this document. Parameters: document - The document. See Also: com.lowagie.text.pdf.PdfPageEventHelper.onOpenDocument(com.lowagie.text.pdf.PdfWritercom.lowagie.text.Document) |
savePOQuoteRequestsListPdf | public Collection savePOQuoteRequestsListPdf(PurchaseOrderDocument po, String pdfFileLocation, String pdfFilename)(Code) | | Invokes the createPOQuoteRequestsListPdf method to create a purchase order quote list request pdf document
and saves it into a file which name and location are specified in the input parameters.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: pdfFileLocation - The location to save the pdf file. Parameters: pdfFilename - The name for the pdf file. Collection of errors which are made of the messages from DocumentException. |
|
|