Home » displaytag-1.1.1-src » org » displaytag » export » [javadoc | source]
org.displaytag.export
public class: PdfView [javadoc | source]
java.lang.Object
   org.displaytag.export.PdfView

All Implemented Interfaces:
    BinaryExportView

PDF exporter using IText. This class is provided more as an example than as a "production ready" class: users probably will need to write a custom export class with a specific layout.
Nested Class Summary:
static class  PdfView.PdfGenerationException  Wraps IText-generated exceptions. 
Method from org.displaytag.export.PdfView Summary:
doExport,   generateHeaders,   generatePDFTable,   generateRows,   getMimeType,   initTable,   setParameters
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.export.PdfView Detail:
 public  void doExport(OutputStream out) throws JspException 
 protected  void generateHeaders() throws BadElementException 
    Generates the header cells, which persist on every page of the PDF document.
 protected  void generatePDFTable() throws JspException, BadElementException 
    The overall PDF table generator.
 protected  void generateRows() throws JspException, BadElementException 
    Generates all the row cells.
 public String getMimeType() 
 protected  void initTable() throws BadElementException 
    Initialize the main info holder table.
 public  void setParameters(TableModel tableModel,
    boolean exportFullList,
    boolean includeHeader,
    boolean decorateValues)