sheetz
sheetz copied to clipboard
Add ODS (LibreOffice Calc) format support
Feature Request: ODS Format Support
Many enterprise users on Linux use LibreOffice Calc and work with .ods files. Currently Sheetz only handles .xlsx, .xls, and .csv.
Requested API (no change to existing API):
// Should work identically to .xlsx
List<Product> products = Sheetz.read("data.ods", Product.class);
Sheetz.write(products, "output.ods");
Implementation notes:
- Apache POI already has ODS support via
org.apache.poi:poi-ooxml - Follow the pattern of
XlsxReader.java/XlsxWriter.java - Add
OdsReader.javaandOdsWriter.javaimplementing the same interfaces - Register the
.odsextension inFormatDetector.java - Add test resources: a sample
.odsfile
Difficulty: Medium (~300 lines of new code) Great first major feature contribution!
Shipped in v1.1.0. ODS read/write is fully supported via the ODF Toolkit optional dependency. See the ODS section in the README and CHANGELOG.