DocumentSecurityType Class
Lists document security levels.
Declaration
public final class DocumentSecurityType extends IntEnum<DocumentSecurityType>
Remarks
Call the DocumentProperties.getSecurity() method to get the security level of a presentation. The security level can combine multiple DocumentSecurityType flags.
Inherited Members
Inheritance
Fields
_LOCKED Field
Users cannot modify the document.
Declaration
public static final int _LOCKED
Field Value
| Type | Description |
|---|---|
| int | The integer value of the |
_NONE Field
Users can open, edit, copy, and save the document without restrictions.
Declaration
public static final int _NONE
Field Value
| Type | Description |
|---|---|
| int | The integer value of the |
_PASSWORD Field
Users need a password to open the document.
Declaration
public static final int _PASSWORD
Field Value
| Type | Description |
|---|---|
| int | The integer value of the |
_READONLY_ENFORCED Field
The application opens the document in read-only mode.
Declaration
public static final int _READONLY_ENFORCED
Field Value
| Type | Description |
|---|---|
| int | The integer value of the |
_READONLY_RECOMMENDED Field
The application suggests that users open the document in read-only mode.
Declaration
public static final int _READONLY_RECOMMENDED
Field Value
| Type | Description |
|---|---|
| int | The integer value of the |
LOCKED Field
Users cannot modify the document.
Declaration
public static final DocumentSecurityType LOCKED
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
Users cannot modify the document. |
NONE Field
Users can open, edit, copy, and save the document without restrictions.
Declaration
public static final DocumentSecurityType NONE
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
Users can open, edit, copy, and save the document without restrictions. |
PASSWORD Field
Users need a password to open the document.
Declaration
public static final DocumentSecurityType PASSWORD
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
Users need a password to open the document. |
READONLY_ENFORCED Field
The application opens the document in read-only mode.
Declaration
public static final DocumentSecurityType READONLY_ENFORCED
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
The application opens the document in read-only mode. |
READONLY_RECOMMENDED Field
The application suggests that users open the document in read-only mode.
Declaration
public static final DocumentSecurityType READONLY_RECOMMENDED
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
The application suggests that users open the document in read-only mode. |
Methods
fromValue(int value) Method
Returns the DocumentSecurityType enumeration constant with the specified integer value.
Declaration
public static DocumentSecurityType fromValue(int value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | The integer value of the enumeration constant. |
Returns
| Type | Description |
|---|---|
DocumentSecurityType |
The |
values() Method
Returns an array of all DocumentSecurityType enumeration constants.
Declaration
public static DocumentSecurityType[] values()
Returns
| Type | Description |
|---|---|
| DocumentSecurityType[] | An array of all |