[Poppler-bugs] [Bug 74520] New: StructElement does not provide a way of identifying grouping elements

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 4 09:29:14 PST 2014


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

          Priority: medium
            Bug ID: 74520
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: StructElement does not provide a way of identifying
                    grouping elements
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: aperez at igalia.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: poppler

Created attachment 93390
  --> https://bugs.freedesktop.org/attachment.cgi?id=93390&action=edit
Allow properly identifying grouping elements

The StructElement class, used for exposing Tagged-PDF information,
does not provide a way of identifying which elements are grouping
elements. According to section 14.8.4.2 of the PDF standard (titled
“Grouping elements”, those shall not be considered as block elements,
nor as inline elements. Provided that there are already methods
StructElement::isInline() and StructElement::isBlock(), it would
be reasonable to expected that a StructElement::isGrouping() existed.

Last, but not least, some actual applications may need to know when
an element is used to group other elements. One example usage would
be being able to collapse text content of all elements in a grouping
element to perform text reflowing, presenting the text as a single
entity to accessibility technologies, etc.

-- 
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/20140204/9aac87dc/attachment.html>


More information about the Poppler-bugs mailing list