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

Only columns with a typeValue are written #175

Closed jferard closed 4 years ago

jferard commented 4 years ago

If you set a typeValue hint in a ResultSetDataWrapper, columns without an explicit type hint are omitted. E.g. with:

    final ResultSetDataWrapper wrapper =
            ResultSetDataWrapper.builder("range", rs)
                    .typeValue(0, CellType.PERCENTAGE).build();

Only the column 0 will appear.