API Reference

Class

WordDocumentConversionOptions

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Modifiers sealed

Controls file-to-file Word document conversion.

Inheritance

  • Object
  • WordDocumentConversionOptions

Usage

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

Accepted by parameters

Constructors

public WordDocumentConversionOptions() #

Properties

public OfficeConversionFileConflictPolicy FileConflictPolicy { get; set; } #

Gets or sets how an existing destination is handled. The default is to fail.

public OfficeConversionLossPolicy LossPolicy { get; set; } #

Gets or sets how known conversion loss is handled. The default is to block it.

public OfficeCompatibilityMode CompatibilityMode { get; set; } #

Gets or sets the requested fidelity strategy. Existing LossPolicy behavior remains authoritative until a format-specific fallback is selected by the conversion planner.

public Boolean EmbedSourceWhenLossy { get; set; } #

Gets or sets whether a lossy conversion retains the complete original source in an inert, hash-verified OfficeIMO compatibility carrier. This may retain macros, hidden content, and other source bytes, so it is disabled unless explicitly requested or preservation-only mode is selected.

public Boolean OverrideStyles { get; set; } #

Gets or sets whether OfficeIMO should override styles while loading DOCX sources.

public OfficeOpenXmlLoadSettings OpenSettings { get; set; } #

Gets or sets optional Open XML load settings for DOCX sources. Conversion always disables AutoSave so source files are never modified as a load side effect.

public LegacyDocImportOptions LegacyDocImportOptions { get; set; } #

Gets or sets optional legacy DOC import settings. Conversion always enables unsupported-content discovery so LossPolicy cannot be bypassed by suppressing import diagnostics.

public WordSaveOptions SaveOptions { get; set; } #

Gets or sets optional save settings for the destination file.