← Back to team overview

qpdfview team mailing list archive

Re: Support other file formats

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Alexander,

Concerning the code you already published at [1], I am not sure
whether your choice for the cut between the PDF-specific functionality
and the rest is the best choice.

For example, why should the painting and handling of mouse clicks
depend on file format as in the PdfPageItem class? Would it not be
better the write general purpose interfaces providing abstract
replacements for Poppler::Document, Poppler::Page, Poppler::Link and
so that encapsulate mostly data and keep the behaviour consistent in
between file formats? (Also not duplicating interface code.)

Best regards, Adam.

[1] https://code.launchpad.net/~a-volkov/qpdfview/trunk

Am 13.12.2012 14:48, schrieb Александр Волков:
> Hello,
> 
> It will be good to add support for other formats, such as PS and
> Djvu. There doesn't exist universal document viewer based on qt. On
> the other hand most of qpdfview's code doesn't depend on Poppler
> and it would be sorry to use it in limited context.
> 
> I can definitely add PS support. All interested are welcome.
> 
> Best regards, Alexander Volkov
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJQygSSAAoJEPSSjE3STU34da0H/0tNx3A8YvJbAaz6ConZvJTC
hm8+wm5Qwskx+JvfJ5eYvwfJyVePoRJj513EiqCSti2ZefTYEFBcSCWU8pkhv+B5
62RZ9D9vn8uPcKrQGOC3HoB7eYBLxevdkzk0azQkeQy517dcYe8YAhBlZxeDGoe5
DX/dAcmEk7o3R2HsTjZAeTBpAh7G3/H1taD2y7BOpM3AyzIFmTBWQHKy8R4h0pIR
1dyVjouQmisVw4uS0Lwn7akCi06IPxaFVeRv47/y6gFNYUDJFzukFnqWbNCex2mb
pjpDGHIJXPGV4RqgxAyBTe2/cY3eMupwr2anrR0Pwka/5WFxQNbABzR2gG2gfts=
=ZV/6
-----END PGP SIGNATURE-----


References