Table of Contents

Class OdtWriteSettings

Namespace
DocWright.Formats.Odt
Assembly
DocWright.Formats.Odt.dll

Format-specific settings for OdtWriter.

public sealed class OdtWriteSettings
Inheritance
OdtWriteSettings
Inherited Members

Remarks

Callers who construct the writer directly should use this, which is strongly typed. Callers routing through DocWrightConverter.Save(document, stream, ".odt", options) have no writer instance to configure and reach the same settings through the format-neutral SaveOptions.FormatSettings string dictionary — see OdtFormatSettingKeys for the key names. Anything set there overrides what is set here.

Grows additively, like every other option bag in the library.

Constructors

OdtWriteSettings()

Properties

EmbedImages

Gets or sets whether images are embedded in the package under Pictures/. Defaults to true.

Generator

Gets or sets the value written as meta:generator in meta.xml. Defaults to "DocWright".

Title

Gets or sets the value written as dc:title in meta.xml, or null to omit the element — the default.

Methods

Clone()

Creates a copy, so a writer can apply per-call overrides without mutating the instance its caller handed it.