Skip to main content

DocumentSecurityType Class

Defines the rules that control presentation edit and access permissions.

Declaration

public final class DocumentSecurityType extends IntEnum<DocumentSecurityType>

Inherited Members

com.devexpress.java.enums.IntEnum.clone()
com.devexpress.java.enums.IntEnum.equals(java.lang.Object)
com.devexpress.java.enums.IntEnum.getName()
com.devexpress.java.enums.IntEnum.getValue()
com.devexpress.java.enums.IntEnum.hasFlag(T)
com.devexpress.java.enums.IntEnum.hasFlag(int)
com.devexpress.java.enums.IntEnum.hashCode()
com.devexpress.java.enums.IntEnum.readResolve()
com.devexpress.java.enums.IntEnum.resolve(int)
com.devexpress.java.enums.IntEnum.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.java.enums.IntEnum
DocumentSecurityType

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.

The user is advised to open the presentation in read-only mode.

public static final int _READONLY_RECOMMENDED
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.

The user is advised to open the presentation in read-only mode.

public static final DocumentSecurityType READONLY_RECOMMENDED
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 DocumentSecurityType enumeration constant.

Returns

Type Description
DocumentSecurityType

The DocumentSecurityType enumeration constant with the specified value.

values() Method

Returns an array of all DocumentSecurityType enumeration constants.

Declaration

public static DocumentSecurityType[] values()

Returns

Type Description
DocumentSecurityType[]

An array containing all DocumentSecurityType enumeration constants.