# LegacyWordImportResult

Owns an imported editable Word model and its source-loss report.

Class 

`OfficeIMO.Word.Legacy`

**Namespace**

`OfficeIMO.Word.Legacy`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacyWordContracts.cs:292](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L292)

**Implements**

`IDisposable`

**Modifiers**

sealed

Owns an imported editable Word model and its source-loss report.

## Inheritance

- object
- LegacyWordImportResult

## Usage

Explore 1 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.

### Returned or exposed by 1

- Method [LegacyWordImporter.Import](/api/word/officeimo-word-legacy-legacywordimporter/#method-import-string-officeimo-word-legacy-legacywordimportoptions-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public void Dispose()` [#](#method-dispose)

[LegacyWordContracts.cs:303](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L303)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

`public WordDocument RequireValue()` [#](#method-requirevalue)

[LegacyWordContracts.cs:292](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L292)

Returns the imported Word document.

Returns

`WordDocument`

`public void ThrowIfLoss()` [#](#method-throwifloss)

[LegacyWordContracts.cs:296](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L296)

Returns the imported Word document or throws when the import was lossy.

## 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 WordDocument Value { get; }` [#](#property-value)

[LegacyWordContracts.cs:278](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L278)

Gets the normal OfficeIMO Word model used by DOCX and converter packages.

`public LegacyWordDetection Detection { get; }` [#](#property-detection)

[LegacyWordContracts.cs:280](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L280)

Gets detected family and profile information.

`public OfficeLegacyImportReport Report { get; }` [#](#property-report)

[LegacyWordContracts.cs:282](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L282)

Gets structured/salvage quality, inert-content flags, and explicit losses.

`public string PlainText { get; }` [#](#property-plaintext)

[LegacyWordContracts.cs:284](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L284)

Gets the bounded recovered plain text.

`public IReadOnlyDictionary<string, string> Metadata { get; }` [#](#property-metadata)

[LegacyWordContracts.cs:286](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L286)

Gets recovered source metadata.

`public LegacyWordContent Content { get; }` [#](#property-content)

[LegacyWordContracts.cs:288](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L288)

Gets the source-oriented semantic recovery snapshot.

`public bool HasLoss { get; }` [#](#property-hasloss)

[LegacyWordContracts.cs:290](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L290)

Gets whether the import used salvage recovery or omitted, blocked, or kept source content inert.

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