public class PDFExporter extends Exporter
Exporter.ColumnType, Exporter.SpanningColumn, Exporter.SpanningRow, Exporter.SpanningRows| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Method |
addCellMethod |
protected java.lang.Class |
documentClass |
protected java.lang.Class |
elementClass |
protected java.lang.Class |
fontClass |
protected java.lang.Class |
fontFactoryClass |
protected static java.util.logging.Logger |
logger |
protected java.lang.Class |
paragraphClass |
protected java.lang.reflect.Constructor |
paragraphConstructor |
protected java.lang.Class |
pdfPTableClass |
protected java.lang.Class |
pdfWriterClass |
protected java.lang.Class |
phraseClass |
encodingType, excludeColumns, expandedOnly, filename, HTML_TAG_PATTERN, includeFooters, includeHeaders, pageOnly, pdfFont, postProcessor, preProcessor, selectedRowsOnly, spanningFooterRows, spanningRows, userColumnOrder| Constructor and Description |
|---|
PDFExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addColumnValue(java.lang.Object pdfTable,
java.util.List<javax.faces.component.UIComponent> components,
int index,
java.lang.Object font) |
protected void |
addColumnValue(java.lang.Object pdfTable,
javax.faces.component.UIComponent component,
java.lang.Object font) |
protected void |
addFacetColumns(java.lang.Object pdfTable,
java.util.List<javax.faces.component.UIColumn> columns,
java.lang.Object font,
Exporter.ColumnType columnType) |
java.lang.String |
export(javax.faces.context.FacesContext facesContext,
DataExporter component,
DataTable table) |
protected void |
exportChildRows(javax.faces.context.FacesContext context,
TreeDataModel rootModel,
RowStateMap rowStateMap,
DataTable table,
java.util.List<javax.faces.component.UIColumn> columns,
java.lang.String rootIndex,
java.lang.Object pdfTable,
int numberOfColumns,
java.lang.Object font) |
protected void |
exportConditionalRow(Row row,
java.lang.Object pdfTable,
java.lang.Object font) |
protected void |
exportPDFTable(javax.faces.context.FacesContext facesContext,
java.lang.Object pdfTable,
DataTable table,
boolean pageOnly,
int[] excludeColumns,
java.lang.String encoding,
boolean includeHeaders,
boolean includeFooters,
boolean selectedRowsOnly) |
protected void |
loadClasses() |
protected void |
loadMethods() |
determineHeaderColumnOrdering, exportValue, getColumnGroupFooter, getColumnGroupHeader, getColumnsToExport, getFooterRowColumnsToExport, getRowColumnsToExport, getRows, getRows, hasColumnFooter, registerResource, resolveExcludedColumnIndexes, setUp, shouldExcludeFromExportprotected static final java.util.logging.Logger logger
protected java.lang.Class documentClass
protected java.lang.Class fontClass
protected java.lang.Class fontFactoryClass
protected java.lang.Class paragraphClass
protected java.lang.Class phraseClass
protected java.lang.Class pdfPTableClass
protected java.lang.Class elementClass
protected java.lang.Class pdfWriterClass
protected java.lang.reflect.Method addCellMethod
protected java.lang.reflect.Constructor paragraphConstructor
protected void loadClasses()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionprotected void loadMethods()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic java.lang.String export(javax.faces.context.FacesContext facesContext,
DataExporter component,
DataTable table)
throws java.io.IOException
protected void exportPDFTable(javax.faces.context.FacesContext facesContext,
java.lang.Object pdfTable,
DataTable table,
boolean pageOnly,
int[] excludeColumns,
java.lang.String encoding,
boolean includeHeaders,
boolean includeFooters,
boolean selectedRowsOnly)
throws java.io.IOException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
java.io.IOExceptionjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionprotected void exportChildRows(javax.faces.context.FacesContext context,
TreeDataModel rootModel,
RowStateMap rowStateMap,
DataTable table,
java.util.List<javax.faces.component.UIColumn> columns,
java.lang.String rootIndex,
java.lang.Object pdfTable,
int numberOfColumns,
java.lang.Object font)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
java.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionprotected void exportConditionalRow(Row row, java.lang.Object pdfTable, java.lang.Object font) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException
java.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionprotected void addFacetColumns(java.lang.Object pdfTable,
java.util.List<javax.faces.component.UIColumn> columns,
java.lang.Object font,
Exporter.ColumnType columnType)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionprotected void addColumnValue(java.lang.Object pdfTable,
javax.faces.component.UIComponent component,
java.lang.Object font)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionprotected void addColumnValue(java.lang.Object pdfTable,
java.util.List<javax.faces.component.UIComponent> components,
int index,
java.lang.Object font)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.