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 |
exportAll(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
|
protected void |
exportCells(DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
|
protected void |
exportPageOnly(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
|
protected com.lowagie.text.pdf.PdfPTable |
exportPDFTable(javax.faces.context.FacesContext context,
DataTable table,
boolean pageOnly,
boolean selectionOnly,
String encoding)
|
protected void |
exportRow(DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable,
int rowIndex)
|
protected void |
exportSelectionOnly(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
|
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)
exportPageOnly
protected void exportPageOnly(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
exportSelectionOnly
protected void exportSelectionOnly(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
exportAll
protected void exportAll(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
exportRow
protected void exportRow(DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable,
int rowIndex)
exportCells
protected void exportCells(DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable)
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.