[Poppler-bugs] [Bug 80308] New: poppler_structure_element_get_table_{row,column}_span() apply to cell elements; not table elements

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 20 12:30:14 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80308

          Priority: medium
            Bug ID: 80308
          Assignee: poppler-bugs at lists.freedesktop.org
            Blocks: 64813
           Summary: poppler_structure_element_get_table_{row,column}_span(
                    ) apply to cell elements; not table elements
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jdiggs at igalia.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: glib frontend
           Product: poppler

Created attachment 101452
  --> https://bugs.freedesktop.org/attachment.cgi?id=101452&action=edit
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.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140620/c77d366d/attachment.html>


More information about the Poppler-bugs mailing list