sheetz icon indicating copy to clipboard operation
sheetz copied to clipboard

Add ODS (LibreOffice Calc) format support

Open chitralabs opened this issue 9 months ago • 1 comments

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.java and OdsWriter.java implementing the same interfaces
  • Register the .ods extension in FormatDetector.java
  • Add test resources: a sample .ods file

Difficulty: Medium (~300 lines of new code) Great first major feature contribution!

chitralabs avatar Feb 19 '26 17:02 chitralabs

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.

chitralabs avatar Jun 17 '26 04:06 chitralabs