public static enum DocSaveOptions.DocFormat extends Enum<DocSaveOptions.DocFormat>
Allows to specify .doc or .docx file format.
Enum Constant and Description |
---|
Doc
[MS-DOC]: Word (.doc) Binary File Format
|
DocX
Office Open XML (.docx) File Format
|
Modifier and Type | Method and Description |
---|---|
static DocSaveOptions.DocFormat |
getByValue(int value) |
int |
getValue() |
static DocSaveOptions.DocFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocSaveOptions.DocFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocSaveOptions.DocFormat Doc
[MS-DOC]: Word (.doc) Binary File Format
public static final DocSaveOptions.DocFormat DocX
Office Open XML (.docx) File Format
public static DocSaveOptions.DocFormat[] values()
for (DocSaveOptions.DocFormat c : DocSaveOptions.DocFormat.values()) System.out.println(c);
public static DocSaveOptions.DocFormat 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 int getValue()
public static DocSaveOptions.DocFormat getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.