Cover Page in Two-Page View

Asked by Alan Lue

Could we add the ability to treat the first page as a "cover page" when viewing a document in two-page mode?

This is an important feature for documents that are formatted for viewing two pages at a time. For instance, PDF books usually have even-numbered pages on the left and odd-numbered pages on the right. Without the ability to switch between treating the first page as a cover page or not, documents that distinguish between left- and right-hand pages and that include a cover page won't display properly.

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Reichold
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Reichold (adamreichold) said :
#1

Hello Allan,

Thanks for bringing this up. In principle, the answer is of course yes. But since odd pages on the left is currently a design assumption of the document view, it will take a lot of checking and some modifications to change this.

Just to clarify, so you are looking for a "Two pages with cover" option which yields a layout like

1
2 3
...
2n 2n+1
(2n+2)

instead of the current

1 2
...
2n+1 (2n+2)

Best regards, Adam.

Revision history for this message
Adam Reichold (adamreichold) said :
#2

Well, I just checked in a large change which adds a "Two pages with cover" menu entry (and tool bar action but there is no icon yet) which should change the layout to what you suggested. Please test this very extensively as it touches so many internal methods of the document view and more or less expect to have introduced a few bugs. (Daily builds for Ubuntu will take a while...)

Best regards, Adam.

Revision history for this message
Alan Lue (alan-lue) said :
#3

Whoo! It works!

I've tested this with just a couple of files, but it seems to work great. Thanks!

Revision history for this message
Alan Lue (alan-lue) said :
#4

Thanks Adam Reichold, that solved my question.