Re: 2.4 Proposed Modules - gpdf



Peter Korn writes:
 > 
 > You're probably more familiar with their XML representation than I am (is
 > there a pointer to it you can pass on to me?), but I wonder... is there a
 > way to encode relationships between element (e.g. LABELED_BY)?  This is one
 > of the things that we have in the GNOME Accessibility architecture that I've
 > not seen anywhere else (well, outside of the Java Accessibility API, and
 > what we've defined for Mozilla and StarOffice of course).

In XML this can be achieved with an attribute containing a reference
to the element that carries the label, either as an IDREF (i.e., by
specifying the unique ID of the element) or, more recently, using an
XPointer expression to identify the elment in more flexible ways.

In PDF this is possible as well. In section 9.6.4 of the PDF
Reference, 3rd ed., it is stated that any dictionary or stream can
serve as an attribute object, so what one would do is add an attribute
to the relevant structure element that refers to a dictionary object
containing the label.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]