# EpubManuscriptResult

A writable publication and the fidelity report from importing its manuscript.

Class 

`OfficeIMO.Epub`

**Namespace**

`OfficeIMO.Epub`

**Assembly**

`OfficeIMO.Epub`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[EpubManuscriptResult.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L21)

**Implements**

`IOfficeResult<EpubPublication>` `IOfficeResult`

**Modifiers**

sealed

A writable publication and the fidelity report from importing its manuscript.

## Inheritance

- object
- EpubManuscriptResult

## Usage

Explore 3 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 3

- Method [EpubManuscript.ImportHtml](/api/epub/officeimo-epub-epubmanuscript/#method-importhtml-officeimo-html-htmlconversiondocument-officeimo-epub-epubmanuscriptoptions-threading-cancellationtoken)
- Method [EpubManuscript.ImportHtmlAsync](/api/epub/officeimo-epub-epubmanuscript/#method-importhtmlasync-officeimo-html-htmlconversiondocument-officeimo-epub-epubmanuscriptoptions-threading-cancellationtoken)
- Method [EpubManuscriptResult.WithSourceReports](/api/epub/officeimo-epub-epubmanuscriptresult/#method-withsourcereports-officeimo-officeconversionreport)

Filter members 

Show inherited

## Methods

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

[EpubManuscriptResult.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L24)

Returns the publication only when every conversion stage completed successfully.

Returns

`EpubPublication`

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

[EpubManuscriptResult.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L21)

Throws when the conversion report describes possible fidelity loss.

`public EpubManuscriptResult WithSourceReports(params OfficeConversionReport[] reports)` [#](#method-withsourcereports-officeimo-officeconversionreport)

[EpubManuscriptResult.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L29)

Combines upstream conversion reports with this EPUB import without collapsing fidelity categories.

Parameters

**reports OfficeIMO.OfficeConversionReport[] required**

Returns

`EpubManuscriptResult`

## 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 EpubPublication Publication { get; }` [#](#property-publication)

[EpubManuscriptResult.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L10)

Imported reflowable publication, ready for inspection and further editing.

`public EpubPublication Value { get; }` [#](#property-value)

[EpubManuscriptResult.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L12)

Imported publication through the shared conversion-result contract.

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

[EpubManuscriptResult.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L14)

Source content approximated or omitted during import.

`public bool Succeeded { get; }` [#](#property-succeeded)

[EpubManuscriptResult.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L16)

Whether import completed without a failure diagnostic.

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

[EpubManuscriptResult.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Epub/Import/EpubManuscriptResult.cs#L18)

Whether any conversion stage reports fidelity loss.

<!-- PowerForge markdown artifact sha256:3719916F353B273ECBD1CDCFED0EE701A51E4625C5B93F46C8054F36C80A54FC -->
