Class FIXGRIDDummyOdsExporter
java.lang.Object
org.eclnt.jsfserver.elements.util.FIXGRIDDummyOdsExporter
- All Implemented Interfaces:
Serializable
,IFIXGRIDOdsExporter
,IFIXGRIDSpreadSheetExporter
This exporter is a "place holder" when ODS libraries are not available in the
runtime environment - and the "real" exporter
FIXGRIDOdsExporter
is
not available as consequence.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
exportGrid
(FIXGRIDBinding fixgrid, List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> columns, List<List<FIXGRIDBinding.FormattedValue>> data, boolean selctedItemsOnly) Main method for exporting.float
int
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
setGridTitle
(String title) Setting of title text that is printed before the grid.void
setMaxNumberOfGridRows
(int maxNumberOfGridRows)
-
Constructor Details
-
FIXGRIDDummyOdsExporter
public FIXGRIDDummyOdsExporter()
-
-
Method Details
-
setGridTitle
Description copied from interface:IFIXGRIDSpreadSheetExporter
Setting of title text that is printed before the grid.- Specified by:
setGridTitle
in interfaceIFIXGRIDSpreadSheetExporter
-
getGridTitle
-
setColumnSizeFactor
public void setColumnSizeFactor(float columnSizeFactor) Description copied from interface:IFIXGRIDSpreadSheetExporter
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%".- Specified by:
setColumnSizeFactor
in interfaceIFIXGRIDSpreadSheetExporter
-
getColumnSizeFactor
public float getColumnSizeFactor()- Specified by:
getColumnSizeFactor
in interfaceIFIXGRIDSpreadSheetExporter
-
getMaxNumberOfGridRows
public int getMaxNumberOfGridRows()- Specified by:
getMaxNumberOfGridRows
in interfaceIFIXGRIDSpreadSheetExporter
-
setMaxNumberOfGridRows
public void setMaxNumberOfGridRows(int maxNumberOfGridRows) - Specified by:
setMaxNumberOfGridRows
in interfaceIFIXGRIDSpreadSheetExporter
-
exportGrid
public byte[] exportGrid(FIXGRIDBinding fixgrid, List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> columns, List<List<FIXGRIDBinding.FormattedValue>> data, boolean selctedItemsOnly) Main method for exporting.- Specified by:
exportGrid
in interfaceIFIXGRIDSpreadSheetExporter
-
setExportInfoProvider
Description copied from interface:IFIXGRIDSpreadSheetExporter
Optional call back interface which allows the exporter to get more information about individual data rows/cells.- Specified by:
setExportInfoProvider
in interfaceIFIXGRIDSpreadSheetExporter
-