Skip to main content

Global variables

Table of contents


What are global variables?

Global variables in axesFlip are predefined named values that are accessible from any expression.

navigation

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

Available values (integer):

  • none: Page only
  • bookmarks: Bookmarks Panel and Page
  • pages: Pages Panel and Page
  • attachments: Attachments Panel and Page
  • layers: Layers Panel and Page

Example:

navigation.bookmarks

Defines that the bookmarks panel and the page are shown when the document is opened.


pageLayout

Determines how pages are displayed in the viewer. 

Available values (integer):

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

Example:

pageLayout.single

Defines that pages are displayed in the viewer using a single-page layout.


windowTitle

Sets the title displayed in the viewer’s title bar.

Available values (integer):

  • title: Document Title
  • file: File Name

Example:

windowTitle.title

Sets the title shown in the viewer’s title bar to the document title.


placement

Defines the placement attribute of structure elements. This setting controls where an element appears in relation to its surrounding area and other content.

Available values (integer):

  • block: The element is stacked in the block-progression direction inside its container.
    (In Western writing systems, this means vertically from top to bottom—like paragraphs.)
  • inline: The element is placed in the inline-progression direction inside its container.
    (In Western writing systems, this means horizontally from left to right—like words in a sentence.)
  • before: The before edge of the element lines up with the before edge of its container. It may float to fit properly. It acts like a block and takes up the full width. Other content starts at the after edge. 
    (In Western writing systems the before edge is the top edge and the after edge is the bottom edge.)
  • start: The start edge of the element lines up with the start edge of its container. It may float to fit. Other content wraps around it. 
    (In Western writing systems, the start edge is the left edge.)
  • end: The end edge of the element lines up with the end edge of its container. It may float to fit. Other content wraps around it. 
    (In Western writing systems, the end edge is the right edge.)

Example:

placement.block

Sets the placement attribute to block.


tabOrder

Defines the tab order in the document.

Available values (integer):

  • structure: Use document structure
  • row: Use row order
  • column: Use column order
  • annotation: Use annotation order
  • widget: Use widget order

Example:

 tabOrder.structure

Sets the tab order based on the document structure.


scope

Specifies the scope of header cells (TH), indicating whether they apply to a row, column, or both.

Available values (integer):

  • row: Row
  • column: Column
  • both: Row and column

Example:

 scope.row

Sets the scope of the selected header cells to row.


listNumbering

Defines the numbering method used for the content of Lbl (Label) elements in autonumbered lists, or the symbol used to mark each unnumbered list item. 

Available values (integer):

  • none: No automatic numbering; any text in Lbl elements is arbitrary and not governed by a numbering system.
  • disc: Solid circular bullet.
  • circle: Open circular bullet.
  • square: Solid square bullet.
  • decimal: Decimal Arabic numerals (e.g., 1–9, 10–99, ...).
  • upperRoman: Roman numerals in uppercase (I, II, III, IV, ...).
  • lowerRoman: Roman numerals in lowercase (i, ii, iii, iv, ...).
  • upperAlpha: Uppercase letters (A, B, C, ...). The alphabet used depends on the current language entry.
  • lowerAlpha: Lowercase letters (a, b, c, ...). The alphabet used depends on the current language entry.

Example:

listNumbering.disc

Sets the ListNumbering attribute to disc.


role

Define the type of the non-interactive form field. 

Available values (integer):

  • radioButton: Radio button
  • checkBox: Check box
  • pushButton: Push button
  • textField: Text-value field

Example:

 role.textField

Assigns the role "Text Field" to a form field.


checked

Specifes the state of a radio button or check box field.

Available values (integer):

  • off: Off
  • on: On
  • neutral: Neutral

Example:

 checked.on

Assigns the state "on" to a radio button or check box field.