DocumentSecurityType Class
Defines the rules that control presentation edit and access permissions.
Declaration
public final class DocumentSecurityType extends IntEnum<DocumentSecurityType>
Inherited Members
Inheritance
Fields
_LOCKED Field
The document cannot be modified.
Declaration
public static final int _LOCKED
Field Value
| Type | Description |
|---|---|
| int | The document cannot be modified. |
_NONE Field
Presentation permissions allow anyone to open, edit, copy, and save.
Declaration
public static final int _NONE
Field Value
| Type | Description |
|---|---|
| int | Presentation permissions allow anyone to open, edit, copy, and save. |
_PASSWORD Field
A password is required to open the presentation file.
Declaration
public static final int _PASSWORD
Field Value
| Type | Description |
|---|---|
| int | A password is required to open the presentation file. |
_READONLY_ENFORCED Field
The presentation is opened strictly in read-only mode.
Declaration
public static final int _READONLY_ENFORCED
Field Value
| Type | Description |
|---|---|
| int | The presentation is opened strictly in read-only mode. |
_READONLY_RECOMMENDED Field
The user is advised to open the presentation in read-only mode.
Declaration
public static final int _READONLY_RECOMMENDED
Field Value
| Type | Description |
|---|---|
| int | The user is advised to open the presentation in read-only mode. |
LOCKED Field
The document cannot be modified.
Declaration
public static final DocumentSecurityType LOCKED
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
The document cannot be modified. |
NONE Field
Presentation permissions allow anyone to open, edit, copy, and save.
Declaration
public static final DocumentSecurityType NONE
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
Presentation permissions allow anyone to open, edit, copy, and save. |
PASSWORD Field
A password is required to open the presentation file.
Declaration
public static final DocumentSecurityType PASSWORD
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
A password is required to open the presentation file. |
READONLY_ENFORCED Field
The presentation is opened strictly in read-only mode.
Declaration
public static final DocumentSecurityType READONLY_ENFORCED
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
The presentation is opened strictly in read-only mode. |
READONLY_RECOMMENDED Field
The user is advised to open the presentation in read-only mode.
Declaration
public static final DocumentSecurityType READONLY_RECOMMENDED
Field Value
| Type | Description |
|---|---|
DocumentSecurityType |
The user is advised to open the presentation 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 | An integer value of the |
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 containing all |