CHAPTER 8
578
Interactive Features
TABLE 8.1 Entries in a viewer preferences dictionary
KEY
TYPE
VALUE
HideToolbar
boolean
boolean
boolean
(Optional)
A flag specifying whether to hide the viewer application’s tool
bars when the document is active. Default value:
false
.
(Optional)
A flag specifying whether to hide the viewer application’s
menu bar when the document is active. Default value:
false
.
(Optional)
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. Default value:
false
.
(Optional)
A flag specifying whether to resize the document’s window to
fit the size of the first displayed page. Default value:
false
.
(Optional)
A flag specifying whether to position the document’s window
in the center of the screen. Default value:
false
.
(Optional; PDF 1.4)
A flag specifying whether the window’s title bar
should display the document title taken from the
Title
entry of the docu-
ment information dictionary (see Section 10.2.1, “Document Informa-
false
, the title bar should instead display the name
of the PDF file containing the document. Default value:
false
.
(Optional)
The document’s
page mode,
specifying how to display the
document on exiting full-screen mode:
UseNone
Neither document outline nor thumbnail images
visible
UseOutlines
Document outline visible
UseThumbs
Thumbnail images visible
UseOC
Optional content group panel visible
This entry is meaningful only if the value of the
PageMode
entry in the
catalog dictionary (see Section 3.6.1, “Document Catalog”) is
FullScreen
;
it is ignored otherwise. Default value:
UseNone
.
HideMenubar
HideWindowUI
FitWindow
boolean
boolean
boolean
CenterWindow
DisplayDocTitle
NonFullScreenPageMode
name
Direction
name
(Optional; PDF 1.3)
The predominant reading order for text:
L2R
Left to right
R2L
Right to left (including vertical writing systems, such
as Chinese, Japanese, and Korean)
This entry has no direct effect on the document’s contents or page num-
bering but can be used to determine the relative positioning of pages
when displayed side by side or printed
n-up.
Default value:
L2R
.