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:
Michele Dolfi 2025-06-19 09:12:08 +02:00
parent dbab30e92c
commit 4e332500a8

View File

@ -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):