[poppler] Three question on using the qt4 frontend

Albert Astals Cid aacid at kde.org
Tue Mar 20 15:49:08 PDT 2012


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
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list