#16: import ODS worksheet data without overwriting source files

This commit is contained in:
harrisonoconnorhover
2026-10-09 22:09:09 -04:00
parent 13664fe66b
commit da0bf32d8a
17 changed files with 1018 additions and 12 deletions
+4
View File
@@ -3,6 +3,10 @@
Headless GridCraft: inspect, convert, evaluate, script and serve MCP without a window. Errors go to stderr with a
non-zero exit code.
`.ods` files support [worksheet data import](ods-import.md). Formula cells use their last saved
values; source formatting and other workbook features are omitted. Import warnings go to stderr.
Convert to `.xlsx` to save the imported workbook; ODS output is not supported.
```sh
cargo install --path apps/gridcraft-cli # or: cargo run -p gridcraft-cli -- <subcommand>
```
+22
View File
@@ -0,0 +1,22 @@
# Importing OpenDocument spreadsheets
Open an `.ods` file with File → Open, drag it onto GridCraft, or pass it to the CLI. GridCraft
imports worksheet data into a new workbook and shows a warning describing the conversion limits.
The import reads sheets, numbers, text, booleans, supported dates/times, repeated cells/rows and
merged cells. Formula cells become their **last saved results**, not live formulas. These results
may be out of date if the source application did not recalculate before saving. Unsupported or
missing values retain available display text and produce a warning.
This is data import, not full ODS compatibility. Source formatting, formulas, charts, images,
names and other workbook features are not preserved. GridCraft does not write ODS files.
Save opens Save As and suggests a new `.xlsx` file. The source ODS file is not used as the
workbook's save destination; requests to save to `.ods` return an error.
```sh
gridcraft-cli info source.ods
gridcraft-cli convert source.ods imported.xlsx
```
CLI import warnings go to stderr, leaving structured output on stdout available for scripts.