Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel

public final Enum PageMode

extends Enum<PageMode>
Class Inheritance

A name object specifying how the document shall be displayed when opened.
Author
John Hewson

Field Summary

Modifier and TypeField and Description
public static final PageMode
FULL_SCREEN

Full screen mode with no menu bar, window controls.

public static final PageMode
USE_ATTACHMENTS

Attachments panel is visible.

public static final PageMode
USE_NONE

Neither the outline nor the thumbnails are displayed.

public static final PageMode
USE_OPTIONAL_CONTENT

Optional content group panel is visible when opened.

public static final PageMode
USE_OUTLINES

Show bookmarks when pdf is opened.

public static final PageMode
USE_THUMBS

Show thumbnails when pdf is opened.

private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PageMode
public String

Returns:

the string value
stringValue
()

Returns the string value, as used in a PDF file.

public static PageMode
public static PageMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FULL_SCREENback to summary
public static final PageMode FULL_SCREEN

Full screen mode with no menu bar, window controls.

USE_ATTACHMENTSback to summary
public static final PageMode USE_ATTACHMENTS

Attachments panel is visible.

USE_NONEback to summary
public static final PageMode USE_NONE

Neither the outline nor the thumbnails are displayed.

USE_OPTIONAL_CONTENTback to summary
public static final PageMode USE_OPTIONAL_CONTENT

Optional content group panel is visible when opened.

USE_OUTLINESback to summary
public static final PageMode USE_OUTLINES

Show bookmarks when pdf is opened.

USE_THUMBSback to summary
public static final PageMode USE_THUMBS

Show thumbnails when pdf is opened.

valueback to summary
private final String value

Constructor Detail

PageModeback to summary
private PageMode(String value)

Method Detail

fromStringback to summary
public static PageMode fromString(String value)
stringValueback to summary
public String stringValue()

Returns the string value, as used in a PDF file.

Returns:String

the string value

valueOfback to summary
public static PageMode valueOf(String name)
valuesback to summary
public static PageMode[] values()