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,
String value) |
protected void |
addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable,
javax.faces.component.UIComponent component) |
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,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor,
ExporterOptions options,
javax.el.MethodExpression onTableRender) |
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,
javax.el.MethodExpression onTableRender) |
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,
javax.el.MethodExpression onTableRender) |
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, preRowExport
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, ExporterOptions options, javax.el.MethodExpression onTableRender) throws IOException
export
in class Exporter
IOException
public 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, javax.el.MethodExpression onTableRender) throws IOException
export
in class Exporter
IOException
public 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, javax.el.MethodExpression onTableRender) throws IOException
export
in class Exporter
IOException
protected 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 Exporter
protected 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)
protected void addColumnValue(com.lowagie.text.pdf.PdfPTable pdfTable, String value)
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
IOException
com.lowagie.text.DocumentException
protected 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 © 2019. All rights reserved.