WordProcessingProtectionType
Contents
[
Hide
]
Inheritance: java.lang.Object
public final class WordProcessingProtectionType
Represents all available protection types of the WordProcessing document
Fields
Field | Description |
---|---|
NoProtection | The document is not protected. |
AllowOnlyRevisions | User can only add revision marks to the document |
AllowOnlyComments | User can only modify comments in the document |
AllowOnlyFormFields | User can only enter data in the form fields in the document |
ReadOnly | No changes are allowed to the document |
Methods
Method | Description |
---|---|
getAll() |
NoProtection
public static final int NoProtection
The document is not protected. Default value.
AllowOnlyRevisions
public static final int AllowOnlyRevisions
User can only add revision marks to the document
AllowOnlyComments
public static final int AllowOnlyComments
User can only modify comments in the document
AllowOnlyFormFields
public static final int AllowOnlyFormFields
User can only enter data in the form fields in the document
ReadOnly
public static final int ReadOnly
No changes are allowed to the document
getAll()
public static Map<Integer,String> getAll()
Returns: java.util.Map<java.lang.Integer,java.lang.String>