Skip to main content

Modify Viewer Preferences Node (Document)

What it does

In this node, you can define the viewer preferences for your document, which are particularly important for how the document appears when opened in a PDF reader or viewer.

Use it for

Documents with viewer preferences that are not yet accessible.

How to use it

  1. Drag and drop the node from the Node Library into your template:
    Node Library > Folder Document
  2. Connect the node with other nodes in the Execution Flow of your template.
  3. Specify the settings in the Node Properties task pane

Tip

Use the node’s default settings, as they are optimized for accessibility best practices.

Node Properties

Node Name

You can assign a custom name to the node to help identify its purpose within your template.


Navigation Tab

Specifies which navigation panel should be visible when the document is opened.

Expected return type: integer

Available variables:

  • Page only: navigation.none
  • Bookmarks panel and page: navigation.bookmarks  (Default)
  • Pages Panel and Page: navigation.pages
  • Layers Panel and Page: navigation.layers
  • Attachments Panel and Page: navigation.attachments

Page Layout

Determines how pages are displayed in the viewer. 

Expected return type: integer

Available variables:

  • Single Page: pageLayout.single 
  • Single Page Continuous: pageLayout.singleColumn (Default)
  • Two-Up (Facing): pageLayout.two
  • Two-Up Continuous (Facing): pageLayout.twoColumn
  • Two-Up (Cover Page): pageLayout.twoCover
  • Two-Up Continuous (Cover Page): pageLayout.twoColumnCover

Window Title

Sets the title displayed in the viewer’s title bar. You can choose to show the document title or the file name.

Expected return type: integer

Available variables:

  • Document Title: windowTitle.title (Default)
  • File Name: windowTitle.file

Fullscreen

Expected return type: boolean

Default: false

Set to true to open the document in fullscreen mode, hiding the menu bar, toolbar, and window controls.


Center Window

Expected return type: boolean

Default: false

Set to true to center the document window on the screen when opened.


Hide Menu

Expected return type: boolean

Default: false

Set to true to hide the PDF viewer’s menu bar when the document is opened.


Hide Toolbar

Expected return type: boolean

Default: false

Set to true to hide the toolbar in the PDF viewer upon opening the document.


Hide Window Controls

Expected return type: boolean

Default: false

Set to true to hide standard window controls such as minimize, maximize, and close buttons.


Fit to Window

Expected return type: boolean

Default: false

Set to true to scale the document to fit the viewer window when opened.