ViewerPreference

Inheritance: java.lang.Object

public final class ViewerPreference

Describes viewer prefereces (page mode, non full screen page mode, page layout).

Constructors

ConstructorDescription
ViewerPreference()

Fields

FieldDescription
PAGE_MODE_USE_OCOptional content group panel visible.
DISPLAY_DOC_TITLEA flag specifying whether the window’s title bar should display the document title
NON_FULL_SCREEN_PAGE_MODE_USE_OCOptional content group panel visible.
PAGE_LAYOUT_SINGLE_PAGEDisplay one page at a time.
PAGE_LAYOUT_ONE_COLUMNDisplay the pages in one column.
PAGE_LAYOUT_TWO_COLUMN_LEFTDisplay the pages in two columns, with odd-numbered pages on the right
PAGE_LAYOUT_TWO_COLUMN_RIGHTDisplay the pages in two columns, with odd-numbered pages on the right.
PAGE_MODE_USE_NONENeither document outline nor thumbnail images visible
PAGE_MODE_USE_OUTLINESDocument outline visible.
PAGE_MODE_USE_THUMBSThumbnail images visible.
PAGE_MODE_FULL_SCREENFull-screen mode, with no menu bar, window controls, or any other window visible.
PAGE_MODE_USE_ATTACHMENTPage mode with attacments.
HIDE_TOOLBARA flag specifying whether to hide the conforming reader’s tool bars when the document is active.
HIDE_MENUBARA flag specifying whether to hide the conforming reader’s menu bar when the document is active.
HIDE_WINDOW_UIA 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_WINDOWA flag specifying whether to resize the document’s window to fit the size of the first displayed page.
CENTER_WINDOWA flag specifying whether to position the document’s window in the center of the screen.
NON_FULL_SCREEN_PAGE_MODE_USE_NONENeither document outline nor thumbnail images visible.
NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINESDocument outline visible.
NON_FULL_SCREEN_PAGE_MODE_USE_THUMBSThumbnail images visible
DIRECTION_L_2_RText reading order left to right.
DIRECTION_R_2_LText reading order right to left.
SIMPLEXPrint single-sided.
DUPLEX_FLIP_SHORT_EDGEDuplex and flip on the short edge of the sheet.
DUPLEX_FLIP_LONG_EDGEDuplex and flip on the short edge of the sheet.
PRINT_SCALING_APP_DEFAULTThe conforming reader’s default print scaling.
PRINT_SCALING_NONENo page scaling.

ViewerPreference()

public ViewerPreference()

PAGE_MODE_USE_OC

public static final int PAGE_MODE_USE_OC

Optional content group panel visible.

DISPLAY_DOC_TITLE

public static final int DISPLAY_DOC_TITLE

A flag specifying whether the window’s title bar should display the document title

NON_FULL_SCREEN_PAGE_MODE_USE_OC

public static final int NON_FULL_SCREEN_PAGE_MODE_USE_OC

Optional content group panel visible.

PAGE_LAYOUT_SINGLE_PAGE

public static final int PAGE_LAYOUT_SINGLE_PAGE

Display one page at a time.

PAGE_LAYOUT_ONE_COLUMN

public static final int PAGE_LAYOUT_ONE_COLUMN

Display the pages in one column.

PAGE_LAYOUT_TWO_COLUMN_LEFT

public static final int PAGE_LAYOUT_TWO_COLUMN_LEFT

Display the pages in two columns, with odd-numbered pages on the right

PAGE_LAYOUT_TWO_COLUMN_RIGHT

public static final int PAGE_LAYOUT_TWO_COLUMN_RIGHT

Display the pages in two columns, with odd-numbered pages on the right.

PAGE_MODE_USE_NONE

public static final int PAGE_MODE_USE_NONE

Neither document outline nor thumbnail images visible

PAGE_MODE_USE_OUTLINES

public static final int PAGE_MODE_USE_OUTLINES

Document outline visible.

PAGE_MODE_USE_THUMBS

public static final int PAGE_MODE_USE_THUMBS

Thumbnail images visible.

PAGE_MODE_FULL_SCREEN

public static final int PAGE_MODE_FULL_SCREEN

Full-screen mode, with no menu bar, window controls, or any other window visible.

PAGE_MODE_USE_ATTACHMENT

public static final int PAGE_MODE_USE_ATTACHMENT

Page mode with attacments.

HIDE_TOOLBAR

public static final int HIDE_TOOLBAR

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

HIDE_MENUBAR

public static final int HIDE_MENUBAR

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

HIDE_WINDOW_UI

public static final int 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

public static final int FIT_WINDOW

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

CENTER_WINDOW

public static final int CENTER_WINDOW

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

NON_FULL_SCREEN_PAGE_MODE_USE_NONE

public static final int NON_FULL_SCREEN_PAGE_MODE_USE_NONE

Neither document outline nor thumbnail images visible.

NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES

public static final int NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES

Document outline visible.

NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS

public static final int NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS

Thumbnail images visible

DIRECTION_L_2_R

public static final int DIRECTION_L_2_R

Text reading order left to right.

DIRECTION_R_2_L

public static final int DIRECTION_R_2_L

Text reading order right to left.

SIMPLEX

public static final int SIMPLEX

Print single-sided.

DUPLEX_FLIP_SHORT_EDGE

public static final int DUPLEX_FLIP_SHORT_EDGE

Duplex and flip on the short edge of the sheet.

DUPLEX_FLIP_LONG_EDGE

public static final int DUPLEX_FLIP_LONG_EDGE

Duplex and flip on the short edge of the sheet.

public static final int PRINT_SCALING_APP_DEFAULT

The conforming reader’s default print scaling.

public static final int PRINT_SCALING_NONE

No page scaling.