# OdfConversionMapping

One feature-level result produced by an explicit OpenDocument conversion adapter.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdfConversionMapping.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Conversion/OdfConversionMapping.cs#L6)

**Modifiers**

sealed

One feature-level result produced by an explicit OpenDocument conversion adapter.

## Inheritance

- object
- OdfConversionMapping

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Convert OpenDocument to and from Office](/docs/open-document/convert-office/) Guide
  
  Convert ODT to DOCX, ODS to XLSX and ODP to PPTX and back, and read the per-feature report of what was mapped, approximated or lost.

## Usage

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

- Method [OdfConversionReport.ForFeature](/api/open-document/officeimo-opendocument-odfconversionreport/#method-forfeature-string)
- Property [OdfConversionReport.Mappings](/api/open-document/officeimo-opendocument-odfconversionreport/#property-mappings)

Filter members 

Show inherited

## Constructors

`public OdfConversionMapping(string feature, OdfConversionMappingStatus status, int count = 1, string? message = null)` [#](#constructor-ctor-string-officeimo-opendocument-odfconversionmappingstatus-int32-string)

[OdfConversionMapping.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Conversion/OdfConversionMapping.cs#L6)

Creates a feature mapping result.

Parameters

**feature string required**

**status OfficeIMO.OpenDocument.OdfConversionMappingStatus required**

**count int = 1 optional**

**message string? = null 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 virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Feature { get; }` [#](#property-feature)

[OdfConversionMapping.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Conversion/OdfConversionMapping.cs#L16)

Stable feature identifier, such as paragraphs or formulas.

`public OdfConversionMappingStatus Status { get; }` [#](#property-status)

[OdfConversionMapping.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Conversion/OdfConversionMapping.cs#L18)

How the adapter handled the feature.

`public int Count { get; }` [#](#property-count)

[OdfConversionMapping.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Conversion/OdfConversionMapping.cs#L20)

Number of source items represented by this result.

`public string? Message { get; }` [#](#property-message)

[OdfConversionMapping.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Conversion/OdfConversionMapping.cs#L22)

Optional mapping detail or limitation.

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