Enum PDFExportFormat.Printing
- java.lang.Object
-
- java.lang.Enum<PDFExportFormat.Printing>
-
- com.levigo.jadice.server.libreoffice.server.PDFExportFormat.Printing
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFExportFormat.Printing>
- Enclosing class:
- PDFExportFormat
public static enum PDFExportFormat.Printing extends Enum<PDFExportFormat.Printing>
Specifies what printing is allowed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISALLOWED
The document cannot be printed.LOW_RES
The document can be printed at low resolution only.MAX_RES
The document can be printed at maximum resolution.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFExportFormat.Printing
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFExportFormat.Printing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISALLOWED
public static final PDFExportFormat.Printing DISALLOWED
The document cannot be printed.
-
LOW_RES
public static final PDFExportFormat.Printing LOW_RES
The document can be printed at low resolution only.
-
MAX_RES
public static final PDFExportFormat.Printing MAX_RES
The document can be printed at maximum resolution.
-
-
Method Detail
-
values
public static PDFExportFormat.Printing[] 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.Printing c : PDFExportFormat.Printing.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.Printing 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
-
-