tessera_ods 0.2.2
tessera_ods: ^0.2.2 copied to clipboard
OpenDocument (.ods) support for the tessera pivot-table engine: import a sheet as a data source, export a cube or a plain table as a formatted sheet. Pure Dart.
0.2.2 #
- Fix: with
archive4.4.0 or later, exported files could not be opened by LibreOffice ("source file could not be loaded"): that version'sZipEncoderwrites every entry with a data descriptor which only the local header announces. The exporters now zip with a small writer of their own — CRC and sizes in the local headers, no data descriptors — that works the same with everyarchive4.x. Output is also deterministic now (fixed entry timestamps).
0.2.1 #
OdsTableExporter: writes anExportTable— plain rows, or aFactTablethroughExportTable.ofFacts— as a filterable data table rather than a pivot, the counterpart ofXlsxTableExporter: filter buttons over the table (an anonymous database range, as LibreOffice writes it), the header frozen and repeated on printed pages, typed numbers, booleans and dates (date or date-time by the column's type), a number style perExportColumn.numberFormat, content-sized or fixed widths, the look from the engine'sTableExportTheme. Line breaks, tabs and runs of spaces in texts are kept.- Text no longer carries characters XML 1.0 forbids (control characters,
unpaired surrogates, U+FFFE/U+FFFF), which made the document
unreadable. Affects
OdsCubeExportertoo. - Requires
tessera0.2.2 (ExportTable,TableExportTheme).
0.2.0 #
- Requires
tessera0.2.0; no changes of its own. Cubes with the new aggregates (statistical, cell formulas, "show values as") export like any other.
0.1.0 #
OdsDataSource: streams one sheet of an.odsdocument as typed rows (floats/ints, dates and date-times, booleans, strings withtext:sand line breaks; repeated columns and rows), sheet selection, skipped rows, header-less sheets. Sendable to the import isolate.OdsCubeExporter: writes aCubeLayoutas a formatted sheet — merged "rotated L" group headers, one column per exported aggregate, level fills, fonts and number format from the engine'sCubeExportTheme, content-sized columns, frozen headers.example/main.dart: command-line round trip onexample/sales.ods.archiveconstraint widened to>=4.0.7 <5.0.0so the package resolves next topackage:pdf.