Serializable, Comparable<WordProcessingSaveOptions.ProtectionTypeEnum>public static enum WordProcessingSaveOptions.ProtectionTypeEnum extends Enum<WordProcessingSaveOptions.ProtectionTypeEnum>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
WordProcessingSaveOptions.ProtectionTypeEnum.Adapter |
| Enum Constant | Description |
|---|---|
ALLOWONLYCOMMENTS |
|
ALLOWONLYFORMFIELDS |
|
ALLOWONLYREVISIONS |
|
NOPROTECTION |
|
READONLY |
| Modifier and Type | Method | Description |
|---|---|---|
static WordProcessingSaveOptions.ProtectionTypeEnum |
fromValue(String text) |
|
String |
getValue() |
|
String |
toString() |
|
static WordProcessingSaveOptions.ProtectionTypeEnum |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static WordProcessingSaveOptions.ProtectionTypeEnum[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WordProcessingSaveOptions.ProtectionTypeEnum NOPROTECTION
public static final WordProcessingSaveOptions.ProtectionTypeEnum ALLOWONLYREVISIONS
public static final WordProcessingSaveOptions.ProtectionTypeEnum ALLOWONLYCOMMENTS
public static final WordProcessingSaveOptions.ProtectionTypeEnum ALLOWONLYFORMFIELDS
public static final WordProcessingSaveOptions.ProtectionTypeEnum READONLY
public static WordProcessingSaveOptions.ProtectionTypeEnum[] values()
for (WordProcessingSaveOptions.ProtectionTypeEnum c : WordProcessingSaveOptions.ProtectionTypeEnum.values()) System.out.println(c);
public static WordProcessingSaveOptions.ProtectionTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<WordProcessingSaveOptions.ProtectionTypeEnum>public static WordProcessingSaveOptions.ProtectionTypeEnum fromValue(String text)
Copyright © 2025. All rights reserved.