<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - poppler_structure_element_get_table_{row,column}_span() apply to cell elements; not table elements"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80308">80308</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>64813
</td>
</tr>
<tr>
<th>Summary</th>
<td>poppler_structure_element_get_table_{row,column}_span() apply to cell elements; not table elements
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jdiggs@igalia.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>glib frontend
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=101452" name="attach_101452" title="proposed patch">attachment 101452</a> <a href="attachment.cgi?id=101452&action=edit" title="proposed patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=80308&attachment=101452'>[review]</a>
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.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>