poppler_structure_element_get_table_{row,column}_span() apply to cell elements; not table elements
Submitted by Joanmarie Diggs
Assigned to poppler-bugs
Description
Created attachment 101452 proposed patch
As per the PDF spec, cell elements (TD and TH) have row and column spans. But poppler_structure_element_get_table_row_span() and poppler_structure_element_get_table_column_span() each expect a table element -- which of course has no span attributes defined and thus the default value of 1 (as per the spec) is always returned by these methods. (Unless of course you ask for the spans of a cell in which case you get an error.)
Patch 101452, "proposed patch":
0001-GLib-Correct-poppler_structure_element_get_table_-ro.patch