[Poppler-bugs] [Bug 64821] [TAGGEDPDF] Expose the structure tree and attributes in poppler-glib

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 16 17:44:21 PST 2013


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

Adrian Perez de Castro <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90267|0                           |1
        is obsolete|                            |

--- Comment #50 from Adrian Perez de Castro <aperez at igalia.com> ---
Created attachment 90852
  --> https://bugs.freedesktop.org/attachment.cgi?id=90852&action=edit
[PATCH v14 09/10] glib: Implement accessors for element attributes

New version of the patch with the support for querying structure element
attributes. The change comparing to the previous version is quite huge:

 * Now there is one accessor method per standard attribute, e.g.
   poppler_structure_element_get_color().
 * All the accessors have a flag to optionally lookup inheritable
   attributes or restrict the lookup to the passed structure element.
 * All the accessors return a “gboolean” which indicates whether the
   attribute has been looked up. If it returns FALSE, it means that
   the value could not be found and there is no default value for the
   attribute, or that the attribute was incorrectly formatted.
 * The generic poppler_structure_element_get_attribute() method which
   returns a GVariant —and which may be friendlier in some cases like
   bindings for other languages— is still provided, and is implemented
   in terms of the individual accessors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20131217/9e7174c2/attachment.html>


More information about the Poppler-bugs mailing list