Class OdtWriteSettings
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
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:generatorinmeta.xml. Defaults to"DocWright".
- Title
Gets or sets the value written as
dc:titleinmeta.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.