A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
36
stars
6
forks
source link
Move object type inference in a specific class #10
The use of
TableCellWalker.setObjectValue
should be avoided. FastODS has to infer the "ods type" of the object, what is not always obvious.Instead of
TableCellWalker.setObjectValue
, we should use a new classCellValue
, and a newTableCellWalker.setCellValue
, which is unambiguous.More details on
CellValue
:CellValue.fromObject
: where the inference is doneCellValue.fromDate
,CellValue.fromBoolean
, etc.CellValue.fromTypeAndObject
, unambiguous but slow.This class will be a little cumberstone, but useful for helpers.