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:
5.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.
mppNormalEdit
          Project NormalEdit mode.
pptNormalEdit
          PowerPoint NormalEdit mode.
pptReadOnly
          PowerPoint Read-only mode.
vsdNormalEdit
          Visio NormalEdit 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. Any change made by the user can be traced. Revisions made by different users are displayed by different colors. User cannot accept, reject and delete other users' revisions. Revision can show who modified, when the text was modified and what was modified.


docFinalizeDraft

public static final OpenModeType docFinalizeDraft
Word FinalizeDraft mode. User can accept, reject or delete all revisions made by others. The revision marks also can be removed. All the changes made by the user cannot be traced any more.


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 cannot be edited and only can be read by users.


docSubmitForm

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


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 cannot be edited and only can be read by users.


xlsSubmitForm

public static final OpenModeType xlsSubmitForm
Excel SubmitForm mode. The Cells and TableRanges which can be set as editable ranges in the Excel document and can 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 cannot be edited and only can be read by users.


vsdNormalEdit

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


mppNormalEdit

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

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