Previous Next
140
CHAPTER 3 Syntax
KEY TYPE VALUE
PageLayout name (Optional) A name object specifying the page layout to be used when the
document is opened:
SinglePage Display one page at a time
OneColumn Display the pages in one column
TwoColumnLeft Display the pages in two columns, with odd-
numbered pages on the left
TwoColumnRight Display the pages in two columns, with odd-
numbered pages on the right
TwoPageLeft (PDF 1.5) Display the pages two at a time, with
odd-numbered pages on the left
TwoPageRight (PDF 1.5) Display the pages two at a time, with
odd-numbered pages on the right
Default value: SinglePage.
PageMode name (Optional) A name object specifying how the document should be dis-
played when opened:
UseNone Neither document outline nor thumbnail im-
ages visible
UseOutlines Document outline visible
UseThumbs Thumbnail images visible
FullScreen Full-screen mode, with no menu bar, window
controls, or any other window visible
UseOC (PDF 1.5) Optional content group panel visible
UseAttachments (PDF 1.6) Attachments panel visible
Default value: UseNone.
Outlines dictionary (Optional; must be an indirect reference) The outline dictionary that is
the root of the document’s outline hierarchy (see Section 8.2.2, “Docu-
ment Outline”).
Threads array (Optional; PDF 1.1; must be an indirect reference) An array of thread
dictionaries representing the document’s article threads (see Section
8.3.2, “Articles”).
OpenAction array or (Optional; PDF 1.1) A value specifying a destination to be displayed or
dictionary an action to be performed when the document is opened. The value is
either an array defining a destination (see Section 8.2.1, “Destinations”)
or an action dictionary representing an action (Section 8.5, “Actions”). If
this entry is absent, the document should be opened to the top of the
first page at the default magnification factor.
Previous Next