Enum PDFExportFormat.Changes
- java.lang.Object
-
- java.lang.Enum<PDFExportFormat.Changes>
-
- com.levigo.jadice.server.libreoffice.server.PDFExportFormat.Changes
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFExportFormat.Changes>
- Enclosing class:
- PDFExportFormat
public static enum PDFExportFormat.Changes extends Enum<PDFExportFormat.Changes>
Specifies the change allowed to the document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISALLOWED
The document cannot be changed.FILL_FORM
Filling of form field is allowed.FILL_FORM_AND_COMMENT
Both filling of form field and commenting is allowed.NO_COPY
All the changes of the previous selections are permitted, with the only exclusion of page extraction (copy).VIEW_CHANGES
Inserting deleting and rotating pages is allowed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFExportFormat.Changes
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFExportFormat.Changes[]
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.Changes DISALLOWED
The document cannot be changed.
-
VIEW_CHANGES
public static final PDFExportFormat.Changes VIEW_CHANGES
Inserting deleting and rotating pages is allowed.
-
FILL_FORM
public static final PDFExportFormat.Changes FILL_FORM
Filling of form field is allowed.
-
FILL_FORM_AND_COMMENT
public static final PDFExportFormat.Changes FILL_FORM_AND_COMMENT
Both filling of form field and commenting is allowed.
-
NO_COPY
public static final PDFExportFormat.Changes NO_COPY
All the changes of the previous selections are permitted, with the only exclusion of page extraction (copy).
-
-
Method Detail
-
values
public static PDFExportFormat.Changes[] 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.Changes c : PDFExportFormat.Changes.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.Changes 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
-
-