Enum PDFExportFormat.PageLayout
- java.lang.Object
-
- java.lang.Enum<PDFExportFormat.PageLayout>
-
- com.levigo.jadice.server.libreoffice.server.PDFExportFormat.PageLayout
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFExportFormat.PageLayout>
- Enclosing class:
- PDFExportFormat
public static enum PDFExportFormat.PageLayout extends Enum<PDFExportFormat.PageLayout>
Specifies the page layout to be used when the document is opened.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Display the pages according to the reader configuration.ONE_COLUMN
Display the pages in one column.ONE_PAGE
Display one page at a time.TWO_COLUMNS
Display the pages in two columns odd pages on the right, to have the odd pages on the left the FirstPageOnLeft property should be used as well.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFExportFormat.PageLayout
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFExportFormat.PageLayout[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final PDFExportFormat.PageLayout DEFAULT
Display the pages according to the reader configuration.
-
ONE_PAGE
public static final PDFExportFormat.PageLayout ONE_PAGE
Display one page at a time.
-
ONE_COLUMN
public static final PDFExportFormat.PageLayout ONE_COLUMN
Display the pages in one column.
-
TWO_COLUMNS
public static final PDFExportFormat.PageLayout TWO_COLUMNS
Display the pages in two columns odd pages on the right, to have the odd pages on the left the FirstPageOnLeft property should be used as well.
-
-
Method Detail
-
values
public static PDFExportFormat.PageLayout[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFExportFormat.PageLayout c : PDFExportFormat.PageLayout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFExportFormat.PageLayout valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-