← Back to team overview

qpdfview team mailing list archive

Re: Support other file formats

 

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

Hello Alexander,

Am 17.12.2012 12:21, schrieb ????????? ??????:
> Hello Adam,
> 
>> While I think I understand the motivation, I do not think that
>> this course of action is appropriate: There is no need to rush
>> things as this will definitely not be part of version 0.3.7, so
>> we have a much time as we want to do this properly.
> 
> Ok, it makes sense to create intermediate intefaces for links and 
> maybe annotations, but there is no reason to do it for form
> fields, as no other format supports them.

While this is currently so, maybe we want to use a different
PDF-backend in the future or there is a new format that does this. As
I said, we have all the time in the world to do this right. If we
decide to do it, that is.

>> And in my point of view, splitting the program into those three
>> parts is equivalent to adding an intermediate interface layer.
>> The PostScript implementation would then just never yield any
>> links and other interactive elements and hence wouldn't even need
>> to implement the corresponding interfaces. I also find it rather
>> important that the presentation specific code does not leave the
>> presentation classes DocumentView and PageItem as it is the
>> document format and not its presentation that needs to be
>> encapsulated.
> 
> Yes, with interface for links there will be no need in
> PdfPresentationView.

With "presentation-specific" code, I meant everything related to
handling displaying content and interacting with it, i.e. most of
DocumentView, PageItem and PresentationView.

Regards, Adam.

> Regards, Alexander.
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJQzwguAAoJEPSSjE3STU34FoMH/jSftZl5CGWEZK5j/yqSc+py
Vc6+pCzNo9Zc3/sNCi8PoBJeUXH8ItsKdabOQ6Im73VtN+sekh3ccCzeQLplLE0s
wHCbonCwnF3ahs4l+R/IwTNAmB+2nEvExNlnXkvsqlgwChzTnR0Pq3xi/teYu9Yy
Ur7OYCWUPaf5t6wkwvVtQNdZsHbBQbASERg92C/Rs5/4IDMlzBwxdwbBynwN7lx0
yvNb7nwjYc9bVEMqJM4xGCYXD6PIoaJ52YBO2onNhCIfBumq2OfYH7rP3muyphu1
n3K/BYiYHBqQ80EEqxtmzHQXLRlVOB4SpAeaGFin02CABK58ZLMUVfCoGLGUTmE=
=Ghiz
-----END PGP SIGNATURE-----


Follow ups

References