Hello,
Am 20.03.2012, 23:49 Uhr, schrieb Albert Astals Cid <[email protected]>:
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.
I feared something like that. :-)
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?
Oh. I assumed the version of search with the separate parameters for the
rectangle was just a convenience overload. Is it a long story why the
first (easier?) one was deprecated?
- 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?
I don't want to say that there is anything inherently wrong about it. It
just feels a little excessive to link that whole library for that one
feature. I feel like some of my users will care about adding dependencies.
I also thought that extracting the information from the QDomDocument is a
bit cumbersome considering the rather well-known structure of the TOC. But
of course, I can always write some wrapper around that if really feel the
need to. So this is probably just an opinion.
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
Thanks again. Best regards, Adam.
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler