public class PDFExporter extends Exporter
Exporter.ColumnType| Constructor and Description |
|---|
PDFExporter() |
| Modifier and Type | Method and Description |
|---|---|
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,
UIColumn column) |
protected void |
addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
javax.faces.component.UIComponent component,
com.lowagie.text.Font font) |
protected void |
addEmptyLine(com.lowagie.text.Paragraph paragraph,
int number) |
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) |
void |
export(javax.faces.context.FacesContext context,
List<String> clientIds,
String outputFileName,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor) |
void |
export(javax.faces.context.FacesContext context,
String outputFileName,
List<DataTable> tables,
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) |
exportAll, exportColumnByFunction, exportPageOnly, exportRow, exportRow, exportSelectionOnly, exportValue, getColumnsToExport, getSheetName, hasColumnFooter, postRowExport, preRowExportpublic 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
export in class ExporterIOExceptionpublic void export(javax.faces.context.FacesContext context,
List<String> clientIds,
String outputFileName,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
export in class ExporterIOExceptionpublic void export(javax.faces.context.FacesContext context,
String outputFileName,
List<DataTable> tables,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
export in class ExporterIOExceptionprotected com.lowagie.text.pdf.PdfPTable exportPDFTable(javax.faces.context.FacesContext context,
DataTable table,
boolean pageOnly,
boolean selectionOnly,
String encoding)
protected void exportCells(DataTable table, Object document)
exportCells in class Exporterprotected void addColumnFacets(DataTable table, com.lowagie.text.pdf.PdfPTable pdfTable, Exporter.ColumnType columnType)
protected void addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
javax.faces.component.UIComponent component,
com.lowagie.text.Font font)
protected void addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
List<javax.faces.component.UIComponent> components,
com.lowagie.text.Font font,
UIColumn column)
protected void writePDFToResponse(javax.faces.context.ExternalContext externalContext,
ByteArrayOutputStream baos,
String fileName)
throws IOException,
com.lowagie.text.DocumentException
IOExceptioncom.lowagie.text.DocumentExceptionprotected int getColumnsCount(DataTable table)
protected void addEmptyLine(com.lowagie.text.Paragraph paragraph,
int number)
Copyright © 2016. All rights reserved.