| org.kuali.module.purap.pdf.PurapPdf org.kuali.module.purap.pdf.PurchaseOrderQuotePdf
PurchaseOrderQuotePdf | public class PurchaseOrderQuotePdf extends PurapPdf (Code) | | THIS CODE IS NOT USED IN RELEASE 2 BUT THE CODE WAS LEFT IN TO
FACILITATE TURNING IT BACK ON EARLY IN THE DEVELOPMENT CYCLE OF RELEASE 3.
|
Method Summary | |
public void | generatePOQuotePDF(PurchaseOrderDocument po, PurchaseOrderVendorQuote poqv, String campusName, String contractManagerCampusCode, String logoImage, ByteArrayOutputStream byteArrayOutputStream, String environment) Generates the purchase order quote pdf document based on the data in the given input parameters,
creates a pdf writer using the given byteArrayOutputStream then write the pdf document into the writer.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: poqv - The PurchaseOrderVendorQuote to be used to generate the pdf. Parameters: campusName - The campus name to be used to generate the pdf. Parameters: contractManagerCampusCode - The contract manager campus code to be used to generate the pdf. Parameters: logoImage - The logo image file name to be used to generate the pdf. Parameters: byteArrayOutputStream - The ByteArrayOutputStream to print the pdf to. Parameters: environment - The current environment used (e.g. | public PurchaseOrderQuotePdf | getPageEvents() Gets a PageEvents object. | public void | onOpenDocument(PdfWriter writer, Document document) Overrides the method in PdfPageEventHelper from itext to create and set the headerTable with relevant contents
and set its logo image if there is a logoImage to be used. | public void | savePOQuotePDF(PurchaseOrderDocument po, PurchaseOrderVendorQuote poqv, String pdfFileLocation, String pdfFilename, String campusName, String contractManagerCampusCode, String logoImage, String environment) Invokes the createPOQuotePDF method to create a purchase order quote pdf document and saves it into a file
which name and location are specified in the pdfParameters.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: poqv - The PurchaseOrderVendorQuote to be used to generate the pdf. Parameters: pdfFileLocation - The location to save the pdf file. Parameters: pdfFilename - The name for the pdf file. Parameters: campusName - The campus name to be used to generate the pdf. Parameters: contractManagerCampusCode - The contract manager campus code to be used to generate the pdf. Parameters: logoImage - The logo image file name to be used to generate the pdf. Parameters: environment - The current environment used (e.g. |
PurchaseOrderQuotePdf | public PurchaseOrderQuotePdf()(Code) | | |
generatePOQuotePDF | public void generatePOQuotePDF(PurchaseOrderDocument po, PurchaseOrderVendorQuote poqv, String campusName, String contractManagerCampusCode, String logoImage, ByteArrayOutputStream byteArrayOutputStream, String environment)(Code) | | Generates the purchase order quote pdf document based on the data in the given input parameters,
creates a pdf writer using the given byteArrayOutputStream then write the pdf document into the writer.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: poqv - The PurchaseOrderVendorQuote to be used to generate the pdf. Parameters: campusName - The campus name to be used to generate the pdf. Parameters: contractManagerCampusCode - The contract manager campus code to be used to generate the pdf. Parameters: logoImage - The logo image file name to be used to generate the pdf. Parameters: byteArrayOutputStream - The ByteArrayOutputStream to print the pdf to. Parameters: environment - The current environment used (e.g. DEV if it is a development environment). |
onOpenDocument | public void onOpenDocument(PdfWriter writer, Document document)(Code) | | Overrides the method in PdfPageEventHelper from itext to create and set the headerTable with relevant contents
and set its logo image if there is a logoImage to be used.
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) |
savePOQuotePDF | public void savePOQuotePDF(PurchaseOrderDocument po, PurchaseOrderVendorQuote poqv, String pdfFileLocation, String pdfFilename, String campusName, String contractManagerCampusCode, String logoImage, String environment)(Code) | | Invokes the createPOQuotePDF method to create a purchase order quote pdf document and saves it into a file
which name and location are specified in the pdfParameters.
Parameters: po - The PurchaseOrderDocument to be used to generate the pdf. Parameters: poqv - The PurchaseOrderVendorQuote to be used to generate the pdf. Parameters: pdfFileLocation - The location to save the pdf file. Parameters: pdfFilename - The name for the pdf file. Parameters: campusName - The campus name to be used to generate the pdf. Parameters: contractManagerCampusCode - The contract manager campus code to be used to generate the pdf. Parameters: logoImage - The logo image file name to be used to generate the pdf. Parameters: environment - The current environment used (e.g. DEV if it is a development environment). |
|
|