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

public final Enum PageLayout

extends Enum<PageLayout>
Class Inheritance
Imports
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences

A name object specifying the page layout shall be used when the document is opened.
Author
John Hewson

Field Summary

Modifier and TypeField and Description
public static final PageLayout
ONE_COLUMN

Display the pages in one column.

public static final PageLayout
SINGLE_PAGE

Display one page at a time.

public static final PageLayout
TWO_COLUMN_LEFT

Display the pages in two columns), with odd numbered pages on the left.

public static final PageLayout
TWO_COLUMN_RIGHT

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

public static final PageLayout
TWO_PAGE_LEFT

Display the pages two at a time), with odd-numbered pages on the left.

public static final PageLayout
TWO_PAGE_RIGHT

Display the pages two at a time), with odd-numbered pages on the right.

private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PageLayout
public String

Returns:

the string value
stringValue
()

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

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

Field Detail

ONE_COLUMNback to summary
public static final PageLayout ONE_COLUMN

Display the pages in one column.

SINGLE_PAGEback to summary
public static final PageLayout SINGLE_PAGE

Display one page at a time.

TWO_COLUMN_LEFTback to summary
public static final PageLayout TWO_COLUMN_LEFT

Display the pages in two columns), with odd numbered pages on the left.

TWO_COLUMN_RIGHTback to summary
public static final PageLayout TWO_COLUMN_RIGHT

Display the pages in two columns), with odd numbered pages on the right. See also PDViewerPreferences.setReadingDirection() if dealing with RTL language.

TWO_PAGE_LEFTback to summary
public static final PageLayout TWO_PAGE_LEFT

Display the pages two at a time), with odd-numbered pages on the left.

TWO_PAGE_RIGHTback to summary
public static final PageLayout TWO_PAGE_RIGHT

Display the pages two at a time), with odd-numbered pages on the right. See also PDViewerPreferences.setReadingDirection() if dealing with RTL language.

valueback to summary
private final String value

Constructor Detail

PageLayoutback to summary
private PageLayout(String value)

Method Detail

fromStringback to summary
public static PageLayout 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 PageLayout valueOf(String name)
valuesback to summary
public static PageLayout[] values()