public class WordProcessingSaveOptions extends SaveOptions
Save options for WordProcessing documents.
| Constructor and Description |
|---|
WordProcessingSaveOptions()
Initializes a new instance of WordProcessingSaveOptions class with default values.
|
WordProcessingSaveOptions(boolean overwriteExistingFile)
Initializes a new instance of WordProcessingSaveOptions class with specified output type and overwrite flag.
|
WordProcessingSaveOptions(int fileFormat)
Initializes a new instance of WordProcessingSaveOptions class with specified output file format.
|
WordProcessingSaveOptions(int fileFormat,
boolean overwriteExistingFile)
Initializes a new instance of WordProcessingSaveOptions class with specified output file format and overwrite flag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFileFormat()
Gets or sets file format of signed document.
|
Integer |
getOoxmlCompliance()
Optional OOXML compliance level for the signed document.
|
void |
setFileFormat(int value)
Gets or sets file format of signed document.
|
void |
setOoxmlCompliance(Integer value)
Optional OOXML compliance level for the signed document.
|
String |
toString()
Override string conversion
|
getAddMissingExtenstion, getOverwriteExistingFiles, getPassword, getUseOriginalPassword, setAddMissingExtenstion, setOverwriteExistingFiles, setPassword, setUseOriginalPasswordpublic WordProcessingSaveOptions()
Initializes a new instance of WordProcessingSaveOptions class with default values.
public WordProcessingSaveOptions(boolean overwriteExistingFile)
Initializes a new instance of WordProcessingSaveOptions class with specified output type and overwrite flag.
overwriteExistingFile - Flag whether to overwrite signed file with same file.public WordProcessingSaveOptions(int fileFormat)
Initializes a new instance of WordProcessingSaveOptions class with specified output file format.
fileFormat - Output file type WordProcessingSaveFileFormat.public WordProcessingSaveOptions(int fileFormat,
boolean overwriteExistingFile)
Initializes a new instance of WordProcessingSaveOptions class with specified output file format and overwrite flag.
fileFormat - Output file type WordProcessingSaveFileFormat.overwriteExistingFile - Flag whether to overwrite signed file with same file.public final int getFileFormat()
Gets or sets file format of signed document.
public final Integer getOoxmlCompliance()
Optional OOXML compliance level for the signed document. When set, overrides the
original document's compliance. When null (default), the loaded document's
compliance is preserved. Only honoured for OOXML formats
(Docx, Docm, Dotx, Dotm, FlatOpc and FlatOpc variants).
The value is one of OoxmlCompliance.
public final void setFileFormat(int value)
Gets or sets file format of signed document.
public final void setOoxmlCompliance(Integer value)
Optional OOXML compliance level for the signed document. When set, overrides the
original document's compliance. When null (default), the loaded document's
compliance is preserved. Only honoured for OOXML formats
(Docx, Docm, Dotx, Dotm, FlatOpc and FlatOpc variants).
The value is one of OoxmlCompliance.
Copyright © 2026 GroupDocs. All rights reserved.