mirror of
https://github.com/docling-project/docling.git
synced 2025-06-27 05:20:05 +00:00
add table raw cells when no table structure model was used
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
dbab30e92c
commit
4e332500a8
@ -226,6 +226,9 @@ class ReadingOrderModel:
|
||||
|
||||
tbl.footnotes.append(new_footnote_item.get_ref())
|
||||
|
||||
if tbl.data.num_rows == 0 and tbl.data.num_cols == 0:
|
||||
self._add_child_elements(element, tbl, out_doc)
|
||||
|
||||
# TODO: Consider adding children of Table.
|
||||
|
||||
elif isinstance(element, FigureElement):
|
||||
|
Loading…
x
Reference in New Issue
Block a user