Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Example.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ LargeData -r 300000 -c 15 -S 60000 --use-style

## [sax reader](https://github.com/QtExcel/QXlsx/blob/j2doll/sax_reader/TestExcel/extractdata_sax.cpp)

- How to use sax parser that uses less RAM memory.

```cpp
void dump_all_sheets_sax(QXlsx::Document& doc)
{
Expand Down Expand Up @@ -273,4 +275,27 @@ void dump_all_sheets_sax(QXlsx::Document& doc)
}
```

<br />

---

## [FormulaDump](https://github.com/QtExcel/QXlsx/tree/master/FormulaDump)

- Run
- The main executable allows you to dump formulas and values from an XLSX file. Example usage:
```sh
./FormulaDump <xlsx-file> [options]
```

- Options
- `--sheet <name>`: Dump only the specified sheet
- `--all`: Dump all sheets
- `--only-formula`: Output only formula cells
- `--show-value`: Output cell values
- `--eval-formula`: Evaluate formulas if no cached value
- `--max-rows <n>`: Limit the number of rows
- `--max-cols <n>`: Limit the number of columns
- `--print-empty`: Print cells even if the value is empty

---