Source: factory.import/ObjDataImportOds.py
API for importing data from OpenDocument Spreadsheet (.ods) files.
Reads the first sheet by default. The optional sheet_index attribute
(0-based) selects a different sheet before open_file is called.
The first row is treated as the header.
...
| Method | Signature | Description |
|---|---|---|
| prep_file | prep_file(filename: str) -> str |
No preparation needed for ODS files. |
| open_file | open_file(filename: str) -> None |
Loads the ODS file and reads all rows from the selected sheet. |
| close_file | close_file() -> None |
Releases the in-memory record list. |
| column_list | column_list() -> list | None |
Returns column names from the ODS header row. |
| next_row | next_row() -> list | str | None |
Returns the next row as a list of string values in column order. |