public final class ViewerPreference extends Object
Describes viewer prefereces (page mode, non full screen page mode, page layout).
Modifier and Type | Field and Description |
---|---|
static int |
CENTER_WINDOW
A flag specifying whether to position the document's window in the center of the screen.
|
static int |
DIRECTION_L_2_R
Text reading order left to right.
|
static int |
DIRECTION_R_2_L
Text reading order right to left.
|
static int |
DISPLAY_DOC_TITLE
A flag specifying whether the window's title bar should display the document title
|
static int |
DUPLEX_FLIP_LONG_EDGE
Duplex and flip on the short edge of the sheet.
|
static int |
DUPLEX_FLIP_SHORT_EDGE
Duplex and flip on the short edge of the sheet.
|
static int |
FIT_WINDOW
A flag specifying whether to resize the document's window to fit the size of the first
displayed page.
|
static int |
HIDE_MENUBAR
A flag specifying whether to hide the conforming reader's menu bar when the document is
active.
|
static int |
HIDE_TOOLBAR
A flag specifying whether to hide the conforming reader's tool bars when the document is
active.
|
static 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.
|
static int |
NON_FULL_SCREEN_PAGE_MODE_USE_NONE
Neither document outline nor thumbnail images visible.
|
static int |
NON_FULL_SCREEN_PAGE_MODE_USE_OC
Optional content group panel visible.
|
static int |
NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES
Document outline visible.
|
static int |
NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS
Thumbnail images visible
|
static int |
PAGE_LAYOUT_ONE_COLUMN
Display the pages in one column.
|
static int |
PAGE_LAYOUT_SINGLE_PAGE
Display one page at a time.
|
static int |
PAGE_LAYOUT_TWO_COLUMN_LEFT
Display the pages in two columns, with odd-numbered pages on the right
|
static int |
PAGE_LAYOUT_TWO_COLUMN_RIGHT
Display the pages in two columns, with odd-numbered pages on the right.
|
static int |
PAGE_MODE_FULL_SCREEN
Full-screen mode, with no menu bar, window controls, or any other window visible.
|
static int |
PAGE_MODE_USE_ATTACHMENT
Page mode with attacments.
|
static int |
PAGE_MODE_USE_NONE
Neither document outline nor thumbnail images visible
|
static int |
PAGE_MODE_USE_OC
Optional content group panel visible.
|
static int |
PAGE_MODE_USE_OUTLINES
Document outline visible.
|
static int |
PAGE_MODE_USE_THUMBS
Thumbnail images visible.
|
static int |
SIMPLEX
Print single-sided.
|
Constructor and Description |
---|
ViewerPreference() |
public static final int PAGE_MODE_USE_OC
Optional content group panel visible.
public static final int DISPLAY_DOC_TITLE
A flag specifying whether the window's title bar should display the document title
public static final int NON_FULL_SCREEN_PAGE_MODE_USE_OC
Optional content group panel visible.
public static final int PAGE_LAYOUT_SINGLE_PAGE
Display one page at a time.
public static final int PAGE_LAYOUT_ONE_COLUMN
Display the pages in one column.
public static final int PAGE_LAYOUT_TWO_COLUMN_LEFT
Display the pages in two columns, with odd-numbered pages on the right
public static final int PAGE_LAYOUT_TWO_COLUMN_RIGHT
Display the pages in two columns, with odd-numbered pages on the right.
public static final int PAGE_MODE_USE_NONE
Neither document outline nor thumbnail images visible
public static final int PAGE_MODE_USE_OUTLINES
Document outline visible.
public static final int PAGE_MODE_USE_THUMBS
Thumbnail images visible.
public static final int PAGE_MODE_FULL_SCREEN
Full-screen mode, with no menu bar, window controls, or any other window visible.
public static final int PAGE_MODE_USE_ATTACHMENT
Page mode with attacments.
public static final int HIDE_TOOLBAR
A flag specifying whether to hide the conforming reader's tool bars when the document is active.
public static final int HIDE_MENUBAR
A flag specifying whether to hide the conforming reader's menu bar when the document is active.
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.
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.
public static final int CENTER_WINDOW
A flag specifying whether to position the document's window in the center of the screen.
public static final int NON_FULL_SCREEN_PAGE_MODE_USE_NONE
Neither document outline nor thumbnail images visible.
public static final int NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES
Document outline visible.
public static final int NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS
Thumbnail images visible
public static final int DIRECTION_L_2_R
Text reading order left to right.
public static final int DIRECTION_R_2_L
Text reading order right to left.
public static final int SIMPLEX
Print single-sided.
public static final int DUPLEX_FLIP_SHORT_EDGE
Duplex and flip on the short edge of the sheet.
public static final int DUPLEX_FLIP_LONG_EDGE
Duplex and flip on the short edge of the sheet.