public class PDFExporter extends Exporter
Exporter.ColumnType| Constructor | Description |
|---|---|
PDFExporter() |
| Modifier and Type | Method | 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) |
|
protected void |
addTableFacets(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable,
String facetType) |
|
protected void |
applyCellOptions(ExporterOptions options) |
|
protected void |
applyFacetOptions(ExporterOptions options) |
|
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,
ExporterOptions options) |
|
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,
ExporterOptions options) |
|
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,
ExporterOptions options) |
|
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,
ExporterOptions options)
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,
ExporterOptions options)
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,
ExporterOptions options)
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 addTableFacets(javax.faces.context.FacesContext context,
DataTable table,
com.lowagie.text.pdf.PdfPTable pdfTable,
String facetType)
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)
protected void applyFacetOptions(ExporterOptions options)
protected void applyCellOptions(ExporterOptions options)
Copyright © 2018. All rights reserved.