# OdfSaveOptions

Controls OpenDocument serialization.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdfSaveOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L23)

**Modifiers**

sealed

Controls OpenDocument serialization.

## Inheritance

- object
- OdfSaveOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Create and Read ODT, ODS and ODP Files](/docs/open-document/create-read/) Guide
  
  Create OpenDocument text, spreadsheet and presentation files, read their content, edit them in place, and open password-protected files.

## Usage

Explore 30 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 30

- Method [OdfDocument.Save](/api/open-document/officeimo-opendocument-odfdocument/#method-save-officeimo-opendocument-odfsaveoptions) parameter `options`
- Method [OdfDocument.SaveAsync](/api/open-document/officeimo-opendocument-odfdocument/#method-saveasync-officeimo-opendocument-odfsaveoptions-threading-cancellationtoken) parameter `options`
- Method [OdfDocument.SaveCopy](/api/open-document/officeimo-opendocument-odfdocument/#method-savecopy-string-officeimo-opendocument-odfsaveoptions) parameter `options`
- Method [OdfDocument.SaveCopyAsync](/api/open-document/officeimo-opendocument-odfdocument/#method-savecopyasync-string-officeimo-opendocument-odfsaveoptions-threading-cancellationtoken) parameter `options`
- Method [OdfDocument.Serialize](/api/open-document/officeimo-opendocument-odfdocument/#method-serialize-officeimo-opendocument-odfsaveoptions) parameter `options`
- Method [OdfDocument.ToBytes](/api/open-document/officeimo-opendocument-odfdocument/#method-tobytes-officeimo-opendocument-odfsaveoptions) parameter `options`
- Method [OdgDocument.Save](/api/open-document/officeimo-opendocument-odgdocument/#method-save-odfsaveoptions) parameter `options`
- Method [OdgDocument.SaveAsync](/api/open-document/officeimo-opendocument-odgdocument/#method-saveasync-stream-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdgDocument.SaveCopy](/api/open-document/officeimo-opendocument-odgdocument/#method-savecopy-string-odfsaveoptions) parameter `options`
- Method [OdgDocument.SaveCopyAsync](/api/open-document/officeimo-opendocument-odgdocument/#method-savecopyasync-string-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdgDocument.Serialize](/api/open-document/officeimo-opendocument-odgdocument/#method-serialize-odfsaveoptions) parameter `options`
- Method [OdgDocument.ToBytes](/api/open-document/officeimo-opendocument-odgdocument/#method-tobytes-odfsaveoptions) parameter `options`
- Method [OdpPresentation.Save](/api/open-document/officeimo-opendocument-odppresentation/#method-save-stream-odfsaveoptions) parameter `options`
- Method [OdpPresentation.SaveAsync](/api/open-document/officeimo-opendocument-odppresentation/#method-saveasync-stream-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdpPresentation.SaveCopy](/api/open-document/officeimo-opendocument-odppresentation/#method-savecopy-string-odfsaveoptions) parameter `options`
- Method [OdpPresentation.SaveCopyAsync](/api/open-document/officeimo-opendocument-odppresentation/#method-savecopyasync-string-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdpPresentation.Serialize](/api/open-document/officeimo-opendocument-odppresentation/#method-serialize-odfsaveoptions) parameter `options`
- Method [OdpPresentation.ToBytes](/api/open-document/officeimo-opendocument-odppresentation/#method-tobytes-odfsaveoptions) parameter `options`
- Method [OdsDocument.Save](/api/open-document/officeimo-opendocument-odsdocument/#method-save-odfsaveoptions) parameter `options`
- Method [OdsDocument.SaveAsync](/api/open-document/officeimo-opendocument-odsdocument/#method-saveasync-string-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdsDocument.SaveCopy](/api/open-document/officeimo-opendocument-odsdocument/#method-savecopy-string-odfsaveoptions) parameter `options`
- Method [OdsDocument.SaveCopyAsync](/api/open-document/officeimo-opendocument-odsdocument/#method-savecopyasync-string-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdsDocument.Serialize](/api/open-document/officeimo-opendocument-odsdocument/#method-serialize-odfsaveoptions) parameter `options`
- Method [OdsDocument.ToBytes](/api/open-document/officeimo-opendocument-odsdocument/#method-tobytes-odfsaveoptions) parameter `options`
- Method [OdtDocument.Save](/api/open-document/officeimo-opendocument-odtdocument/#method-save-odfsaveoptions) parameter `options`
- Method [OdtDocument.SaveAsync](/api/open-document/officeimo-opendocument-odtdocument/#method-saveasync-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdtDocument.SaveCopy](/api/open-document/officeimo-opendocument-odtdocument/#method-savecopy-string-odfsaveoptions) parameter `options`
- Method [OdtDocument.SaveCopyAsync](/api/open-document/officeimo-opendocument-odtdocument/#method-savecopyasync-string-odfsaveoptions-cancellationtoken) parameter `options`
- Method [OdtDocument.Serialize](/api/open-document/officeimo-opendocument-odtdocument/#method-serialize-odfsaveoptions) parameter `options`
- Method [OdtDocument.ToBytes](/api/open-document/officeimo-opendocument-odtdocument/#method-tobytes-odfsaveoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public OdfSaveOptions()` [#](#constructor-ctor)

[OdfSaveOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L23)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OdfCompatibilityProfile CompatibilityProfile { get; set; }` [#](#property-compatibilityprofile)

[OdfSaveOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L6)

Compatibility profile used for versioned output.

`public OdfSignatureHandling SignatureHandling { get; set; }` [#](#property-signaturehandling)

[OdfSaveOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L9)

Controls changed signed-document behavior.

`public OdfEncryptionOptions? Encryption { get; set; }` [#](#property-encryption)

[OdfSaveOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L17)

Encryption settings for the output package.

`public OdfEncryptionHandling EncryptionHandling { get; set; }` [#](#property-encryptionhandling)

[OdfSaveOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L20)

Controls whether encryption may be removed from a package that was encrypted when loaded.

`public bool Deterministic { get; set; }` [#](#property-deterministic)

[OdfSaveOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Core/OdfSaveOptions.cs#L23)

Use stable timestamps and ordinal entry ordering after preserved source entries.

<!-- PowerForge markdown artifact sha256:BA9119A4F63B7B9914076DEA2632ED9DAF99F40C77A55B286D80DA8F39C48DDF -->
