ASPOSE home

com.aspose.words
Class ProtectionType

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

public class ProtectionType
extends java.lang.Object

Utility class containing constants. Protection type for a document.

Field Summary
static final intALLOW_ONLY_COMMENTS
           User can only modify comments in the document.
static final intALLOW_ONLY_FORM_FIELDS
           User can only enter data in the form fields in the document.
static final intALLOW_ONLY_REVISIONS
           User can only add revision marks to the document.
static final intREAD_ONLY
           No changes are allowed to the document. Available in MS Word 2003.
static final intNO_PROTECTION
           The document is not protected.
 

Field Detail

ALLOW_ONLY_COMMENTS

public static final int ALLOW_ONLY_COMMENTS
User can only modify comments in the document.

ALLOW_ONLY_FORM_FIELDS

public static final int ALLOW_ONLY_FORM_FIELDS
User can only enter data in the form fields in the document.

ALLOW_ONLY_REVISIONS

public static final int ALLOW_ONLY_REVISIONS
User can only add revision marks to the document.

READ_ONLY

public static final int READ_ONLY
No changes are allowed to the document. Available in MS Word 2003.

NO_PROTECTION

public static final int NO_PROTECTION
The document is not protected.

See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home