Viewer preferences

A PDF can contain information telling a viewing application how it should be displayed. For more information, consult the relevant documentation from Adobe. The following is a summary of the preferences supported by TopLeaf.

Viewer preferences can either be set in the PDF profile or by setting values for metadata variables in the mappings.

Page layout

The page layout to be used when the document is opened:

Single Page   Display one page at a time.
One Column   Display the pages in one column.
2 Col Left   Display the pages in two columns, with odd-numbered pages on the left.
2 Col Right   Display the pages in two columns, with odd-numbered pages on the right.
2 Page Left   Display the pages two at a time, with odd-numbered pages on the left (only for PDF 1.5 or later).
2 Page Right   Display the pages two at a time, with odd-numbered pages on the right (only for PDF 1.5 or later).
Page mode

Specifies how the document should be displayed when opened:

None   Neither document outline nor thumbnail images visible.
Bookmarks   Document outline (bookmarks) visible.
Thumbnails   Page thumbnail images visible.
Full Screen   Full-screen mode, with no menu bar, window controls, or any other window visible.
Opt Content   Optional content group panel visible (only for PDF 1.5 or later).
Attachments   Attachments panel visible (only for PDF 1.6 or later).
Non-fullscreen mode

The document’s page mode, specifying how to display the document on exiting full-screen mode. The values are as for Page mode.

Reading direction

The predominant reading order for text, either left to right or right to left.

Hide toolbar

A flag specifying whether to hide the viewer application’s tool bars when the document is active.

Hide menubar

A flag specifying whether to hide the viewer application’s menu bar when the document is active.

Hide window UI

A flag specifying whether to hide user interface elements in the document’s window (such as scroll bars and navigation controls), leaving only the document’s contents displayed.

Fit window

A flag specifying whether to resize the document’s window to fit the size of the first displayed page.

Center window

A flag specifying whether to position the document’s window in the center of the screen.

Show document title

A flag specifying whether the window’s title bar should display the document title taken from the Title entry in the document metadata. If False, the title bar should instead display the name of the PDF file containing the document.