I may be off the mark about what's being asked, but the create_toc() member of poplar::document had what I needed to generate a full TOC with links.
--josh On 3/20/12 3:49 PM, "Albert Astals Cid" <[email protected]> wrote: >El Dimarts, 20 de març de 2012, a les 14:50:59, Adam Reichold va escriure: >> Hello, > >Hi > >> I am currently maintaining a small PDF viewer called qpdfview that is >> using the poppler library through the qt4 frontend. I have three >>question >> that came up during development: >> >> - The ArthurOutputDev seems incomplete. Are there plans on this? > >There's noone working on it, patches are welcome. > >> Can >> someone point me to documentation about this? > >There's no documentation. > >> (I would like to use it for >> printing in a platform independent way for which I currently fall back >>to >> drawing images to the printer. (I have seen a similar workaround in >>Okular >> when built on Windows.)) >> >> - The Poppler::Page::search method is deprecated but I could not find >>any >> documentation of what the plans for this are. Again, can someone point >>out >> relevant documentation to me? > >Use the non deprecated version of Poppler::Page::search? > >> - The Poppler::Document::toc method currently returns a QDomDocument >> pointer. Is there any other way to get the TOC using this frontend. > >No > >> I >> would like to avoid using QDomDocument as this alone would add libQtXml >>as >> a dependency to the program. Are there any opinions on replacing this >>by a >> simple custom tree model of the TOC? > >What's the problem of linking with libQtXml? > >Albert > >> >> Thank you for your help. >> >> Best regards, Adam. >> _______________________________________________ >> poppler mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/poppler >_______________________________________________ >poppler mailing list >[email protected] >http://lists.freedesktop.org/mailman/listinfo/poppler > _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
