docling-project / docling-project/docling-core
[Bee] need page_no on TableCell to support cross page table data
Open
- Dominant language
- HTML
- Stars
- 282
- Forks
- 214
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 23
Description
When concatenating a table cross multiple pages, the `TableItem` class has a `prov: list[ProvenanceItem]` inherited its base class that can represent the location from multiple pages. However, the [TableCell](https://github.com/docling-project/docling-core/blob/a3feae0a1e4b8adfe05009f7a12e648e8aedd149/docling_core/types/doc/document.py#L302) class only has `bbox` and doesn't have `page_no`, and thus we can't tell on what page the cell is. Please consider adding a `page_no` attribute to the `TableCell` class to support the cross page table data.
Contributor guide
Assessment
This issue has not been assessed yet.