# OfficeLegacyImportReport

Immutable import and loss report produced by a managed legacy source adapter.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeLegacyImportContracts.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L80)

**Base**

`OfficeConversionReport`

**Modifiers**

sealed

Immutable import and loss report produced by a managed legacy source adapter.

## Inheritance

- [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)
- OfficeLegacyImportReport

Filter members 

Show inherited

## Constructors

`public OfficeLegacyImportReport(string sourceFormatId, OfficeLegacyImportQuality quality, IEnumerable<OfficeCompatibilityFinding>? findings = null, OfficeLegacyInertContentKind inertContent = None, int recoveredItemCount = 0)` [#](#constructor-ctor-string-officeimo-officelegacyimportquality-collections-generic-ienumerable-officeimo-officecompatibilityfinding-officeimo-officelegacyinertcontentkind-int32)

[OfficeLegacyImportContracts.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L80)

Creates a legacy import report.

Parameters

**sourceFormatId string required**

**quality OfficeIMO.OfficeLegacyImportQuality required**

**findings System.Collections.Generic.IEnumerable<OfficeIMO.OfficeCompatibilityFinding>? = null optional**

**inertContent OfficeIMO.OfficeLegacyInertContentKind = None optional**

**recoveredItemCount int = 0 optional**

## 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 void ThrowIfLoss()` [#](#method-throwifloss)

[OfficeConversionReport.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L71)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string SourceFormatId { get; }` [#](#property-sourceformatid)

[OfficeLegacyImportContracts.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L119)

Gets the stable identifier of the detected legacy source profile.

`public OfficeLegacyImportQuality Quality { get; }` [#](#property-quality)

[OfficeLegacyImportContracts.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L122)

Gets the achieved import quality.

`public OfficeLegacyInertContentKind InertContent { get; }` [#](#property-inertcontent)

[OfficeLegacyImportContracts.cs:125](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L125)

Gets source content that was deliberately kept inert.

`public int RecoveredItemCount { get; }` [#](#property-recovereditemcount)

[OfficeLegacyImportContracts.cs:128](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L128)

Gets the number of recovered blocks or cells.

`public IReadOnlyList<OfficeCompatibilityFinding> Findings { get; }` [#](#property-findings)

[OfficeLegacyImportContracts.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L131)

Gets feature-level recovery, approximation, omission, and safety findings.

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

[OfficeLegacyImportContracts.cs:138](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L138)

Gets whether any typed diagnostic reports an approximation, omission, or failure.

`public bool HasInertContent { get; }` [#](#property-hasinertcontent)

[OfficeLegacyImportContracts.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Legacy/OfficeLegacyImportContracts.cs#L141)

Gets whether the source contained active or externally resolved content that remained inert.

## Inherited Properties

`public string Source { get; }` [#](#property-source)

[OfficeConversionReport.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L47)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

`public string Target { get; }` [#](#property-target)

[OfficeConversionReport.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L49)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

`public string? OutputPath { get; }` [#](#property-outputpath)

[OfficeConversionReport.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L51)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

`public long ItemsWritten { get; }` [#](#property-itemswritten)

[OfficeConversionReport.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L53)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

`public TimeSpan Elapsed { get; }` [#](#property-elapsed)

[OfficeConversionReport.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L55)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

`public IReadOnlyList<OfficeDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[OfficeConversionReport.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Conversion/OfficeConversionReport.cs#L57)

Inherited from [OfficeConversionReport](/api/core/officeimo-officeconversionreport/)

<!-- PowerForge markdown artifact sha256:8E0D814962534119D40FD1459B0A8A672A479739052076A6AEB0B8DE4E320A07 -->
