com.spire.doc
Enum ProtectionType

java.lang.Object
  extended by java.lang.Enum<ProtectionType>
      extended by com.spire.doc.ProtectionType
All Implemented Interfaces:
java.lang.Comparable<ProtectionType>

public enum ProtectionType
extends java.lang.Enum<ProtectionType>

Type of the protection in the document


Enum Constant Summary
Allow_Only_Comments
          Only modify comments in the document.
Allow_Only_Form_Fields
          Only enter data in the form fields in the document.
Allow_Only_Reading
          Only reading are allowed in the document.
Allow_Only_Revisions
          Only add revision marks to the document.
No_Protection
          Not protected
 
Method Summary
 int getValue()
           
 

Enum Constant Detail

Allow_Only_Comments

public static final ProtectionType Allow_Only_Comments
Only modify comments in the document.


Allow_Only_Form_Fields

public static final ProtectionType Allow_Only_Form_Fields
Only enter data in the form fields in the document.


Allow_Only_Reading

public static final ProtectionType Allow_Only_Reading
Only reading are allowed in the document.


Allow_Only_Revisions

public static final ProtectionType Allow_Only_Revisions
Only add revision marks to the document.


No_Protection

public static final ProtectionType No_Protection
Not protected

Method Detail

getValue

public int getValue()