mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-26 11:46:49 -06:00
#16: import ODS worksheet data without overwriting source files
This commit is contained in:
@@ -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>
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user