WordProcessingSaveOptions

Inheritance: java.lang.Object, com.groupdocs.signature.options.saveoptions.SaveOptions

public class WordProcessingSaveOptions extends SaveOptions

Save options for WordProcessing documents.

Constructors

Constructor Description
WordProcessingSaveOptions() Initializes a new instance of WordProcessingSaveOptions class with default values.
WordProcessingSaveOptions(int fileFormat) Initializes a new instance of WordProcessingSaveOptions class with specified output file format.
WordProcessingSaveOptions(boolean overwriteExistingFile) Initializes a new instance of WordProcessingSaveOptions class with specified output type and overwrite flag.
WordProcessingSaveOptions(int fileFormat, boolean overwriteExistingFile) Initializes a new instance of WordProcessingSaveOptions class with specified output file format and overwrite flag.

Methods

Method Description
getFileFormat() Gets or sets file format of signed document.
setFileFormat(int value) Gets or sets file format of signed document.
getOoxmlCompliance() Optional OOXML compliance level for the signed document.
setOoxmlCompliance(Integer value) Optional OOXML compliance level for the signed document.
toString() Override string conversion

WordProcessingSaveOptions()

public WordProcessingSaveOptions()

Initializes a new instance of WordProcessingSaveOptions class with default values.

WordProcessingSaveOptions(int fileFormat)

public WordProcessingSaveOptions(int fileFormat)

Initializes a new instance of WordProcessingSaveOptions class with specified output file format.

Parameters:

Parameter Type Description
fileFormat int Output file type WordProcessingSaveFileFormat.

WordProcessingSaveOptions(boolean overwriteExistingFile)

public WordProcessingSaveOptions(boolean overwriteExistingFile)

Initializes a new instance of WordProcessingSaveOptions class with specified output type and overwrite flag.

Parameters:

Parameter Type Description
overwriteExistingFile boolean Flag whether to overwrite signed file with same file.

WordProcessingSaveOptions(int fileFormat, boolean overwriteExistingFile)

public WordProcessingSaveOptions(int fileFormat, boolean overwriteExistingFile)

Initializes a new instance of WordProcessingSaveOptions class with specified output file format and overwrite flag.

Parameters:

Parameter Type Description
fileFormat int Output file type WordProcessingSaveFileFormat.
overwriteExistingFile boolean Flag whether to overwrite signed file with same file.

getFileFormat()

public final int getFileFormat()

Gets or sets file format of signed document.

Returns: int

setFileFormat(int value)

public final void setFileFormat(int value)

Gets or sets file format of signed document.

Parameters:

Parameter Type Description
value int

getOoxmlCompliance()

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.

Returns: java.lang.Integer

setOoxmlCompliance(Integer value)

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.

Parameters:

Parameter Type Description
value java.lang.Integer

toString()

public String toString()

Override string conversion

Returns: java.lang.String -