[poppler] New API

Leonard Rosenthol leonardr at pdfsages.com
Sun Mar 27 06:09:45 PST 2005


At 12:38 AM 3/27/2005, Jonathan Blandford wrote:
>GtkTreeModel *poppler_document_get_index (PopplerDocument *doc);
>
>Which would return a GtkTreeStore filled with Links, etc.

         It should be of Actions - since that is really what a bookmark 
references (one or more actions).   Also keep in mind that you need to get 
the bookmark styling (bold or italic + color).

         The idea of a callback makes a LOT more sense and is more 
generic.  it would also enable you to do dynamic loading of the tree, for 
cases where it is quite large.  For example, I have a real world PDF with 
over 10000 bookmarks!


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:leonardr at pdfsages.com>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)



More information about the poppler mailing list