# HtmlSemanticDocument

Canonical typed semantic representation shared by HTML target adapters.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlSemanticDocument.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L69)

**Modifiers**

sealed

Canonical typed semantic representation shared by HTML target adapters.

## Inheritance

- object
- HtmlSemanticDocument

## 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

- Property [HtmlConversionDocument.SemanticDocument](/api/html/officeimo-html-htmlconversiondocument/#property-semanticdocument)

Filter members 

Show inherited

## 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 Title { get; }` [#](#property-title)

[HtmlSemanticDocument.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L69)

Normalized document title.

`public string Language { get; }` [#](#property-language)

[HtmlSemanticDocument.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L72)

Declared document language.

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

[HtmlSemanticDocument.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L75)

Normalized document metadata keyed by lower-case name.

`public IReadOnlyList<HtmlSemanticSection> Sections { get; }` [#](#property-sections)

[HtmlSemanticDocument.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L78)

Ordered semantic sections used as pages, sheets, or slides by generic adapters.

`public IReadOnlyList<HtmlSemanticBlock> RootTables { get; }` [#](#property-roottables)

[HtmlSemanticDocument.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L81)

Top-level tables, excluding tables nested in another table.

`public IReadOnlyList<HtmlSemanticResource> ResourceOccurrences { get; }` [#](#property-resourceoccurrences)

[HtmlSemanticDocument.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L84)

Every resource occurrence referenced by retained semantic blocks in source order.

`public IReadOnlyList<HtmlSemanticResource> Resources { get; }` [#](#property-resources)

[HtmlSemanticDocument.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticDocument.cs#L87)

Deduplicated resource inventory keyed by kind and source.

<!-- PowerForge markdown artifact sha256:82558DB91075BB16464BF4D85E541E3D772338DA8A55A91D942E3D698CD44954 -->
