com.aspose.words
Class DocumentSecurity

java.lang.Object
    extended by com.aspose.words.DocumentSecurity

public class DocumentSecurity 
extends java.lang.Object

Utility class containing constants. Used as a value for the BuiltInDocumentProperties.Security property. Specifies the security level of a document as a numeric value.

Field Summary
static final intNONE
           There are no security states specified by the property.
static final intPASSWORD_PROTECTED
           The document is password protected. [Aspose: Never seen this set.]
static final intREAD_ONLY_RECOMMENDED
           The document to be opened read-only if possible, but the setting can be overridden.
static final intREAD_ONLY_ENFORCED
           The document to always be opened read-only.
static final intREAD_ONLY_EXCEPT_ANNOTATIONS
           The document to always be opened read-only except for annotations.
 

Field Detail

NONE

public static final int NONE
There are no security states specified by the property.

PASSWORD_PROTECTED

public static final int PASSWORD_PROTECTED
The document is password protected. [Aspose: Never seen this set.]

READ_ONLY_RECOMMENDED

public static final int READ_ONLY_RECOMMENDED
The document to be opened read-only if possible, but the setting can be overridden.

READ_ONLY_ENFORCED

public static final int READ_ONLY_ENFORCED
The document to always be opened read-only.

READ_ONLY_EXCEPT_ANNOTATIONS

public static final int READ_ONLY_EXCEPT_ANNOTATIONS
The document to always be opened read-only except for annotations.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.