fix: xlsx cell parsing, now returning values instead of formulas (#2520)

* fix: xlsx doc parsing, now returning values instead of formulas

Signed-off-by: glypt <8trash-can8@protonmail.ch>

* fix: add test for better coverage of xlsx backend

Signed-off-by: glypt <8trash-can8@protonmail.ch>

* fix: add the total of ducks as a formula in the tests/data

This also adds the test that the value 310 is contained in the table.
Without the fix from the previous commit, it would return "B7+C7"

Signed-off-by: glypt <8trash-can8@protonmail.ch>

---------

Signed-off-by: glypt <8trash-can8@protonmail.ch>
This commit is contained in:
glypt
2025-10-29 11:35:51 +01:00
committed by GitHub
parent b6c892b505
commit d9c90eb45e
6 changed files with 291 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
| Year | Freshwater Ducks | Saltwater Ducks |
|--------|--------------------|-------------------|
| 2019 | 120 | 80 |
| 2020 | 135 | 95 |
| 2021 | 150 | 100 |
| 2022 | 170 | 110 |
| 2023 | 160 | 120 |
| 2024 | 180 | 130 |
| Year | Freshwater Ducks | Saltwater Ducks | Ducks |
|--------|--------------------|-------------------|---------|
| 2019 | 120 | 80 | 200 |
| 2020 | 135 | 95 | 230 |
| 2021 | 150 | 100 | 250 |
| 2022 | 170 | 110 | 280 |
| 2023 | 160 | 120 | 280 |
| 2024 | 180 | 130 | 310 |