mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-25 19:44:34 +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())
|
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.
|
# TODO: Consider adding children of Table.
|
||||||
|
|
||||||
elif isinstance(element, FigureElement):
|
elif isinstance(element, FigureElement):
|
||||||
|
Loading…
Reference in New Issue
Block a user