jferard / fastods

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

Closed jferard closed 7 years ago

jferard commented 7 years ago

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 class CellValue, and a newTableCellWalker.setCellValue, which is unambiguous.

More details on CellValue:

This class will be a little cumberstone, but useful for helpers.

jferard commented 7 years ago

Done.