API Reference

Class

LegacyDocLoadResult

Namespace OfficeIMO.Word.LegacyDoc
Assembly OfficeIMO.Word
Implements
IDisposable
Modifiers sealed

Contains the projected OfficeIMO document and the legacy DOC import report produced from the same parse.

Inheritance

  • Object
  • LegacyDocLoadResult

Usage

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

Methods

public virtual Void Dispose() #
Returns: Void

Disposes the projected OfficeIMO document.

public LegacyDocLoadResult EnsureNoImportErrors() #
Returns: LegacyDocLoadResult

Throws when the legacy DOC import produced error diagnostics.

Properties

public WordDocument Document { get; } #

Gets the normal OfficeIMO Word document projected from supported legacy DOC content.

public Boolean HasDocument { get; } #

Gets whether supported legacy DOC content was projected into a normal OfficeIMO Word document.

public Exception ProjectionException { get; } #

Gets the projection failure captured while preserving parser diagnostics for report callers.

public LegacyDocDocument LegacyDocument { get; } #

Gets the neutral legacy DOC model produced by the parser.

public IReadOnlyList<LegacyDocImportDiagnostic> Diagnostics { get; } #

Gets diagnostics produced while reading the legacy document.

public IReadOnlyList<LegacyDocUnsupportedFeature> UnsupportedFeatures { get; } #

Gets unsupported or preserve-only features discovered while reading the legacy document.

public IReadOnlyList<LegacyDocPreservedFeature> PreservedFeatures { get; } #

Gets preserve-only non-compound feature metadata discovered while importing the legacy document.

public IReadOnlyList<LegacyDocCompoundFeature> CompoundFeatures { get; } #

Gets preserve-only compound storage discovered while importing the legacy document.

public LegacyDocImportReport ImportReport { get; } #

Gets a compact import report for corpus baselines and preflight checks.

public Boolean HasImportErrors { get; } #

Gets whether the legacy DOC import produced error diagnostics.