WordProcessingProtectionType

Contents
[ ]

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 byte NoProtection

The document is not protected. Default value.

AllowOnlyRevisions

public static final byte AllowOnlyRevisions

User can only add revision marks to the document

AllowOnlyComments

public static final byte AllowOnlyComments

User can only modify comments in the document

AllowOnlyFormFields

public static final byte AllowOnlyFormFields

User can only enter data in the form fields in the document

ReadOnly

public static final byte ReadOnly

No changes are allowed to the document

getAll()

public static Map<Byte,String> getAll()

Returns: java.util.Map<java.lang.Byte,java.lang.String>