com.acesoft.aceoffix
Enum OpenModeType

java.lang.Object
  extended by java.lang.Enum<OpenModeType>
      extended by com.acesoft.aceoffix.OpenModeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OpenModeType>

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

The open mode AceoffixCtrl should use after the document is opened.

Version:
3.0
Author:
Acesoft Corporation

Enum Constant Summary
docFinalizeDraft
          Word FinalizeDraft mode.
docForcedRevision
          Word ForcedRevision mode.
docNormalEdit
          Word NormalEdit mode.
docReadOnly
          Word Read-only mode.
docSubmitForm
          Word SubmitForm mode.
pptNormalEdit
          PowerPoint NormalEdit mode.
pptReadOnly
          PowerPoint Read-only mode.
xlsNormalEdit
          Excel NormalEdit mode.
xlsReadOnly
          Excel Read-only mode.
xlsSubmitForm
          Excel SubmitForm mode.
 
Method Summary
static OpenModeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OpenModeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

docForcedRevision

public static final OpenModeType docForcedRevision
Word ForcedRevision mode. In this mode, Any changes made by the user will be traced. Revisions made by different users are displayed by different colors. User can not accept, reject and delete other user's revisions. Revision can show who modified, when the text was modified and what was modified.


docFinalizeDraft

public static final OpenModeType docFinalizeDraft
Word FinalizeDraft mode. In this mode, user can accept, reject or delete the specified tracked change, and the revision marks will be removed. All the changes made by the user will not be traced any more. User also can move, delete the handwritings made by other users.


docNormalEdit

public static final OpenModeType docNormalEdit
Word NormalEdit mode. The document can be edited normally without any additional restrictions.


docReadOnly

public static final OpenModeType docReadOnly
Word Read-only mode. The document can not be edited and only can be read by users.


docSubmitForm

public static final OpenModeType docSubmitForm
Word SubmitForm mode. In this mode, the DataRegions whose value of NeedSubmit is true are editable regions in the Word document and will be submitted to server page. The whole Word document is read-only besides those editable regions.


xlsNormalEdit

public static final OpenModeType xlsNormalEdit
Excel NormalEdit mode. The document can be edited normally without any additional restrictions.


xlsReadOnly

public static final OpenModeType xlsReadOnly
Excel Read-only mode. The document can not be edited and only can be read by users.


xlsSubmitForm

public static final OpenModeType xlsSubmitForm
Excel SubmitForm mode. In this mode, the Cells and TableRanges which are defined SubmitName are editable ranges in the Excel document and will be submitted to server page. The whole Excel document is read-only besides those editable ranges.


pptNormalEdit

public static final OpenModeType pptNormalEdit
PowerPoint NormalEdit mode. The document can be edited normally without any additional restrictions.


pptReadOnly

public static final OpenModeType pptReadOnly
PowerPoint Read-only mode. The document can not be edited and only can be read by users.

Method Detail

values

public static OpenModeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OpenModeType c : OpenModeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OpenModeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null