WordProcessingRevisionType
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public enum WordProcessingRevisionType extends Enum<WordProcessingRevisionType> implements IEnumValue
Specifies the type of the change being tracked by a revision.
Fields
Field | Description |
---|---|
Insertion | New content was inserted into the document. |
Deletion | Content was removed from the document. |
FormatChange | Change of formatting was applied to the parent node. |
StyleDefinitionChange | Change of formatting was applied to the parent style. |
Moving | Content was moved in the document. |
Methods
Insertion
public static final WordProcessingRevisionType Insertion
New content was inserted into the document.
Deletion
public static final WordProcessingRevisionType Deletion
Content was removed from the document.
FormatChange
public static final WordProcessingRevisionType FormatChange
Change of formatting was applied to the parent node.
StyleDefinitionChange
public static final WordProcessingRevisionType StyleDefinitionChange
Change of formatting was applied to the parent style.
Moving
public static final WordProcessingRevisionType Moving
Content was moved in the document.
values()
public static WordProcessingRevisionType[] values()
Returns: com.groupdocs.metadata.core.WordProcessingRevisionType[]
valueOf(String name)
public static WordProcessingRevisionType valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: WordProcessingRevisionType
getByRawValue(int rawValue)
public static WordProcessingRevisionType getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: WordProcessingRevisionType
getFirst()
public static IEnumValue getFirst()
Returns: IEnumValue
getAllValues()
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
getEnumValueByRawValue(int rawValue)
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: IEnumValue
getEnumValueByName(String name)
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: IEnumValue
getRawValueType()
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
getRawValue()
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int