WordProcessingLockType

Inheritance: java.lang.Object

public final class WordProcessingLockType

Specifies watermark lock type in Word document.

Fields

Field Description
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 The entire document is read-only.
ReadOnlyWithEditableContent The document is read-only, but all the content except of the watermark is marked as editable.
NoLock Disable any lock on watermark and document.

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.


The document is splitted into one-page sections and locked section with watermark is added between each two adjacent content sections.

ReadOnly

public static final int ReadOnly

The entire document is read-only.

ReadOnlyWithEditableContent

public static final int ReadOnlyWithEditableContent

The document is read-only, but all the content except of the watermark is marked as editable.

NoLock

public static final int NoLock

Disable any lock on watermark and document.