Created attachment 93390 [details] 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.
Pushed, thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.