org.primefaces.component.export
Class PDFExporter
java.lang.Object
org.primefaces.component.export.Exporter
org.primefaces.component.export.PDFExporter
public class PDFExporter
- extends Exporter
Method Summary |
protected void |
addColumnFacets(DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable,
Exporter.ColumnType columnType)
|
protected void |
addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
List<javax.faces.component.UIComponent> components,
com.lowagie.text.Font font)
|
protected void |
addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
javax.faces.component.UIComponent component,
com.lowagie.text.Font font)
|
void |
export(javax.faces.context.FacesContext context,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
|
protected void |
exportCells(DataTable table,
Object document)
|
protected com.lowagie.text.pdf.PdfPTable |
exportPDFTable(javax.faces.context.FacesContext context,
DataTable table,
boolean pageOnly,
boolean selectionOnly,
String encoding)
|
protected int |
getColumnsCount(DataTable table)
|
protected void |
writePDFToResponse(javax.faces.context.ExternalContext externalContext,
ByteArrayOutputStream baos,
String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFExporter
public PDFExporter()
export
public void export(javax.faces.context.FacesContext context,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
- Specified by:
export
in class Exporter
- Throws:
IOException
exportPDFTable
protected com.lowagie.text.pdf.PdfPTable exportPDFTable(javax.faces.context.FacesContext context,
DataTable table,
boolean pageOnly,
boolean selectionOnly,
String encoding)
exportCells
protected void exportCells(DataTable table,
Object document)
- Specified by:
exportCells
in class Exporter
addColumnFacets
protected void addColumnFacets(DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable,
Exporter.ColumnType columnType)
addColumnValue
protected void addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
javax.faces.component.UIComponent component,
com.lowagie.text.Font font)
addColumnValue
protected void addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
List<javax.faces.component.UIComponent> components,
com.lowagie.text.Font font)
writePDFToResponse
protected void writePDFToResponse(javax.faces.context.ExternalContext externalContext,
ByteArrayOutputStream baos,
String fileName)
throws IOException,
com.lowagie.text.DocumentException
- Throws:
IOException
com.lowagie.text.DocumentException
getColumnsCount
protected int getColumnsCount(DataTable table)
Copyright © 2013. All rights reserved.