# OfficeHtmlConversionProfileContract

Describes a source-specific Office-to-HTML lane and how it maps to the shared HTML profile vocabulary.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OfficeHtmlConversionProfileContract.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L10)

**Modifiers**

sealed

Describes a source-specific Office-to-HTML lane and how it maps to the shared HTML profile vocabulary.

## Inheritance

- object
- OfficeHtmlConversionProfileContract

## 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 [OfficeHtmlConversionProfileContracts.Get](/api/html/officeimo-html-officehtmlconversionprofilecontracts/#method-get-officeimo-html-officehtmlconversionprofile)
- Property [OfficeHtmlConversionProfileContracts.All](/api/html/officeimo-html-officehtmlconversionprofilecontracts/#property-all)

Filter members 

Show inherited

## Constructors

`public OfficeHtmlConversionProfileContract(OfficeHtmlConversionProfile profile, string sourceFormat, string name, HtmlConversionProfile sharedProfile, string intendedUse, string fidelityGoal, string visualPrimitiveOwner, IEnumerable<string> supportedHtml, IEnumerable<string> resourceGuarantees, IEnumerable<string> diagnosticGuarantees)` [#](#member-5a392fb851d43f8ca940b8e3)

[OfficeHtmlConversionProfileContract.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L10)

Creates a source-specific Office-to-HTML profile contract.

Parameters

**profile OfficeIMO.Html.OfficeHtmlConversionProfile required**

**sourceFormat string required**

**name string required**

**sharedProfile OfficeIMO.Html.HtmlConversionProfile required**

**intendedUse string required**

**fidelityGoal string required**

**visualPrimitiveOwner string required**

**supportedHtml System.Collections.Generic.IEnumerable<string> required**

**resourceGuarantees System.Collections.Generic.IEnumerable<string> required**

**diagnosticGuarantees System.Collections.Generic.IEnumerable<string> required**

## 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 OfficeHtmlConversionProfile Profile { get; }` [#](#property-profile)

[OfficeHtmlConversionProfileContract.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L34)

Source-specific profile identifier.

`public string SourceFormat { get; }` [#](#property-sourceformat)

[OfficeHtmlConversionProfileContract.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L37)

Office source format that owns source semantics.

`public string Name { get; }` [#](#property-name)

[OfficeHtmlConversionProfileContract.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L40)

Human-readable profile name.

`public HtmlConversionProfile SharedProfile { get; }` [#](#property-sharedprofile)

[OfficeHtmlConversionProfileContract.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L43)

Shared HTML profile this source-specific profile reports against.

`public string IntendedUse { get; }` [#](#property-intendeduse)

[OfficeHtmlConversionProfileContract.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L46)

Primary scenario the lane is optimized for.

`public string FidelityGoal { get; }` [#](#property-fidelitygoal)

[OfficeHtmlConversionProfileContract.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L49)

Fidelity target expressed as a caller-facing contract.

`public string VisualPrimitiveOwner { get; }` [#](#property-visualprimitiveowner)

[OfficeHtmlConversionProfileContract.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L52)

Shared owner for reusable visual primitives, or "none" for semantic-only lanes.

`public IReadOnlyList<string> SupportedHtml { get; }` [#](#property-supportedhtml)

[OfficeHtmlConversionProfileContract.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L55)

HTML structures the lane treats as supported capability.

`public IReadOnlyList<string> ResourceGuarantees { get; }` [#](#property-resourceguarantees)

[OfficeHtmlConversionProfileContract.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L58)

Resource handling guarantees such as asset inventory and media policy.

`public IReadOnlyList<string> DiagnosticGuarantees { get; }` [#](#property-diagnosticguarantees)

[OfficeHtmlConversionProfileContract.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Engine/OfficeHtmlConversionProfileContract.cs#L61)

Diagnostics callers can rely on when content is simplified, rejected, or degraded.

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