Interface IFIXGRIDPdfExporter
- All Known Implementing Classes:
FIXGRIDPDFExporter
public interface IFIXGRIDPdfExporter
Interface for creating pdf document out of grid data. Default implementation
is
Please use the default implementation for sub-classing.
FIXGRIDPDFExporter
.Please use the default implementation for sub-classing.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
exportGridToPdf
(FIXGRIDBinding fixgrid, List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> columns, List<List<String>> data, boolean selctedItemsOnly) Creation of pdf document.float
void
initPageSize
(float width, float height) Explicit definition of page size.void
setColumnSizeFactor
(float columnSizeFactor) There is a calculation of column widths which is based in the width definition inside the FIXGRID component.void
setExportInfoProvider
(IFIXGRIDExportInfoProvider exportInfoProvider) Optional call back interface which allows the exporter to get more information about individual data rows/cells.void
setFontDataline
(com.lowagie.text.Font value) void
setFontFooterline
(com.lowagie.text.Font value) void
setFontHeadline
(com.lowagie.text.Font value) void
setFontselectorDataline
(com.lowagie.text.pdf.FontSelector value) void
setFontselectorFooterline
(com.lowagie.text.pdf.FontSelector value) void
setFontselectorHeadline
(com.lowagie.text.pdf.FontSelector value) void
setFontselectorTitle
(com.lowagie.text.pdf.FontSelector value) void
setFontTitle
(com.lowagie.text.Font value) void
setGridTitle
(String title) Setting of title text that is printed before the grid.
-
Method Details
-
setGridTitle
Setting of title text that is printed before the grid. -
exportGridToPdf
byte[] exportGridToPdf(FIXGRIDBinding fixgrid, List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> columns, List<List<String>> data, boolean selctedItemsOnly) Creation of pdf document. -
initPageSize
void initPageSize(float width, float height) Explicit definition of page size. If not called then DIN A4 will be used as page size. -
setExportInfoProvider
Optional call back interface which allows the exporter to get more information about individual data rows/cells. -
setColumnSizeFactor
void setColumnSizeFactor(float columnSizeFactor) There is a calculation of column widths which is based in the width definition inside the FIXGRID component. You can influence this calculation by assigning a factor. The calculated width is multiplied with the factor after calculation. The default value of the factor is 1f representing "100%". -
getColumnSizeFactor
float getColumnSizeFactor() -
setFontTitle
void setFontTitle(com.lowagie.text.Font value) -
setFontHeadline
void setFontHeadline(com.lowagie.text.Font value) -
setFontDataline
void setFontDataline(com.lowagie.text.Font value) -
setFontselectorTitle
void setFontselectorTitle(com.lowagie.text.pdf.FontSelector value) -
setFontselectorHeadline
void setFontselectorHeadline(com.lowagie.text.pdf.FontSelector value) -
setFontselectorDataline
void setFontselectorDataline(com.lowagie.text.pdf.FontSelector value)
-