Skip to main content

Crate rustxform_reader

Crate rustxform_reader 

Source
Expand description

Read an XLSForm source into a raw Workbook of string rows.

Three input shapes are supported:

  • Markdown and CSV use the “first column selects the sheet” convention: a row whose first cell is non-empty opens a new sheet, and rows whose first cell is empty add cells (from column 2) to it.
  • XLSX/XLS map each worksheet directly to a Sheet.
| survey  |         |      |           |
|         | type    | name | label     |
|         | text    | q1   | Question  |

Structs§

Sheet
A single worksheet: a name and a grid of string cells.
Workbook
A raw workbook: an ordered collection of named sheets.

Enums§

ReadError
An error produced while reading a workbook.

Functions§

read_csv
Read a CSV workbook using the same “first column selects the sheet” convention as Markdown.
read_markdown
Read a Markdown table workbook.
read_xlsx
Read an XLSX or XLS workbook, mapping each worksheet to a Sheet.