# WordHtmlConverterExtensions

Extension methods enabling HTML conversions for WordDocument instances.

Class 

`OfficeIMO.Word.Html`

**Namespace**

`OfficeIMO.Word.Html`

**Assembly**

`OfficeIMO.Word.Html`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[WordHtmlConverterExtensions.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.cs#L59)

**Modifiers**

static

Extension methods enabling HTML conversions for WordDocument instances.

## Inheritance

- object
- WordHtmlConverterExtensions

Filter members 

Show inherited

## Methods

AddHtml 6 overloads

`public static IReadOnlyList<WordElement> AddHtml(WordDocument doc, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null)` [#](#method-addhtml-officeimo-word-worddocument-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions)

[WordHtmlConverterExtensions.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.cs#L59)

Appends HTML content to the document's body.

Parameters

**doc OfficeIMO.Word.WordDocument required**

Document to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

Returns

`IReadOnlyList<WordElement>` Live imported elements in document order, using the existing Word element projection.

`public static IReadOnlyList<WordElement> AddHtml(WordHeader header, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null, WordSection? section = null)` [#](#method-addhtml-officeimo-word-wordheader-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-officeimo-word-wordsection)

[WordHtmlConverterExtensions.HeadersFooters.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.HeadersFooters.cs#L18)

Appends offline HTML to a header and returns the created elements.

Parameters

**header OfficeIMO.Word.WordHeader required**

Header to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**section OfficeIMO.Word.WordSection? = null optional**

Section supplying layout geometry. Defaults to the first section defining this story; an explicit section must share or inherit it.

Returns

`IReadOnlyList<WordElement>` New live elements in story order, using the existing Word element projection.

`public static IReadOnlyList<WordElement> AddHtml(WordFooter footer, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null, WordSection? section = null)` [#](#method-addhtml-officeimo-word-wordfooter-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-officeimo-word-wordsection)

[WordHtmlConverterExtensions.HeadersFooters.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.HeadersFooters.cs#L65)

Appends offline HTML to a footer and returns the created elements.

Parameters

**footer OfficeIMO.Word.WordFooter required**

Footer to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**section OfficeIMO.Word.WordSection? = null optional**

Section supplying layout geometry. Defaults to the first section defining this story; an explicit section must share or inherit it.

Returns

`IReadOnlyList<WordElement>` New live elements in story order, using the existing Word element projection.

`public static IReadOnlyList<WordElement> AddHtml(WordDocument doc, string html, HtmlWordExportOptions? options = null)` [#](#method-addhtml-officeimo-word-worddocument-string-officeimo-word-html-htmlwordexportoptions)

[WordHtmlConverterExtensions.Strings.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Strings.cs#L23)

Parses and appends HTML to the document body.

Parameters

**doc OfficeIMO.Word.WordDocument required**

Target to modify.

**html string required**

HTML source text, parsed with untrusted input limits and policies.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

Returns

`IReadOnlyList<WordElement>` Live imported elements in document order, using the existing Word element projection.

`public static IReadOnlyList<WordElement> AddHtml(WordTableCell cell, string html, HtmlWordExportOptions? options = null)` [#](#method-addhtml-officeimo-word-wordtablecell-string-officeimo-word-html-htmlwordexportoptions)

[WordHtmlConverterExtensions.Strings.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Strings.cs#L47)

Parses and appends HTML to the table cell.

Parameters

**cell OfficeIMO.Word.WordTableCell required**

Target to modify.

**html string required**

HTML source text, parsed with untrusted input limits and policies.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

Returns

`IReadOnlyList<WordElement>` Live imported elements in document order, using the existing Word element projection.

`public static IReadOnlyList<WordElement> AddHtml(WordTableCell cell, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null)` [#](#method-addhtml-officeimo-word-wordtablecell-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions)

[WordHtmlConverterExtensions.TableCells.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.TableCells.cs#L17)

Appends HTML content directly to a Word table cell.

Parameters

**cell OfficeIMO.Word.WordTableCell required**

Table cell to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

Returns

`IReadOnlyList<WordElement>` Live imported elements in document order, using the existing Word element projection.

AddHtmlAsync 6 overloads

`public static async Task<IReadOnlyList<WordElement>> AddHtmlAsync(WordDocument doc, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-addhtmlasync-officeimo-word-worddocument-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

Asynchronously appends HTML content to the document's body.

Parameters

**doc OfficeIMO.Word.WordDocument required**

Document to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**cancellationToken System.Threading.CancellationToken = default optional**

Token to monitor for cancellation requests.

Returns

`Task<IReadOnlyList<WordElement>>` Live imported elements in document order, using the existing Word element projection.

`public static async Task<IReadOnlyList<WordElement>> AddHtmlAsync(WordHeader header, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null, WordSection? section = null, CancellationToken cancellationToken = default)` [#](#method-addhtmlasync-officeimo-word-wordheader-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-officeimo-word-wordsection-threading-cancellationtoken)

Asynchronously appends HTML to a header and returns the created elements.

Parameters

**header OfficeIMO.Word.WordHeader required**

Header to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**section OfficeIMO.Word.WordSection? = null optional**

Section supplying layout geometry. Defaults to the first section defining this story; an explicit section must share or inherit it.

**cancellationToken System.Threading.CancellationToken = default optional**

Token to monitor for cancellation requests.

Returns

`Task<IReadOnlyList<WordElement>>` New live elements in story order, using the existing Word element projection.

`public static async Task<IReadOnlyList<WordElement>> AddHtmlAsync(WordFooter footer, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null, WordSection? section = null, CancellationToken cancellationToken = default)` [#](#method-addhtmlasync-officeimo-word-wordfooter-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-officeimo-word-wordsection-threading-cancellationtoken)

Asynchronously appends HTML to a footer and returns the created elements.

Parameters

**footer OfficeIMO.Word.WordFooter required**

Footer to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**section OfficeIMO.Word.WordSection? = null optional**

Section supplying layout geometry. Defaults to the first section defining this story; an explicit section must share or inherit it.

**cancellationToken System.Threading.CancellationToken = default optional**

Token to monitor for cancellation requests.

Returns

`Task<IReadOnlyList<WordElement>>` New live elements in story order, using the existing Word element projection.

`public static Task<IReadOnlyList<WordElement>> AddHtmlAsync(WordDocument doc, string html, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-addhtmlasync-officeimo-word-worddocument-string-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Strings.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Strings.cs#L35)

Parses and asynchronously appends HTML to the document body.

Parameters

**doc OfficeIMO.Word.WordDocument required**

Target to modify.

**html string required**

HTML source text, parsed with untrusted input limits and policies.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**cancellationToken System.Threading.CancellationToken = default optional**

Token to monitor for cancellation requests.

Returns

`Task<IReadOnlyList<WordElement>>` Live imported elements in document order, using the existing Word element projection.

`public static Task<IReadOnlyList<WordElement>> AddHtmlAsync(WordTableCell cell, string html, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-addhtmlasync-officeimo-word-wordtablecell-string-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Strings.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Strings.cs#L59)

Parses and asynchronously appends HTML to the table cell.

Parameters

**cell OfficeIMO.Word.WordTableCell required**

Target to modify.

**html string required**

HTML source text, parsed with untrusted input limits and policies.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**cancellationToken System.Threading.CancellationToken = default optional**

Token to monitor for cancellation requests.

Returns

`Task<IReadOnlyList<WordElement>>` Live imported elements in document order, using the existing Word element projection.

`public static async Task<IReadOnlyList<WordElement>> AddHtmlAsync(WordTableCell cell, HtmlConversionDocument htmlDocument, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-addhtmlasync-officeimo-word-wordtablecell-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

Asynchronously appends HTML content directly to a Word table cell.

Parameters

**cell OfficeIMO.Word.WordTableCell required**

Table cell to modify.

**htmlDocument OfficeIMO.Html.HtmlConversionDocument required**

Parsed HTML source to insert.

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

Optional conversion options.

**cancellationToken System.Threading.CancellationToken = default optional**

Token to monitor for cancellation requests.

Returns

`Task<IReadOnlyList<WordElement>>` Live imported elements in document order, using the existing Word element projection.

SaveAsHtml 2 overloads

`public static OfficeConversionReport SaveAsHtml(WordDocument document, string path, WordHtmlExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveashtml-officeimo-word-worddocument-string-officeimo-word-html-wordhtmlexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L47)

Saves converted Html content with its completed-stage report.

Parameters

**document OfficeIMO.Word.WordDocument required**

**path string required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`OfficeConversionReport`

`public static OfficeConversionReport SaveAsHtml(WordDocument document, Stream stream, WordHtmlExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveashtml-officeimo-word-worddocument-io-stream-officeimo-word-html-wordhtmlexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L64)

Saves converted Html content with its completed-stage report.

Parameters

**document OfficeIMO.Word.WordDocument required**

**stream System.IO.Stream required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`OfficeConversionReport`

SaveAsHtmlAsync 2 overloads

`public static async Task<OfficeConversionReport> SaveAsHtmlAsync(WordDocument document, string path, WordHtmlExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveashtmlasync-officeimo-word-worddocument-string-officeimo-word-html-wordhtmlexportoptions-threading-cancellationtoken)

Saves converted Html content with its completed-stage report.

Parameters

**document OfficeIMO.Word.WordDocument required**

**path string required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeConversionReport>`

`public static async Task<OfficeConversionReport> SaveAsHtmlAsync(WordDocument document, Stream stream, WordHtmlExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveashtmlasync-officeimo-word-worddocument-io-stream-officeimo-word-html-wordhtmlexportoptions-threading-cancellationtoken)

Saves converted Html content with its completed-stage report.

Parameters

**document OfficeIMO.Word.WordDocument required**

**stream System.IO.Stream required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeConversionReport>`

SaveAsWord 2 overloads

`public static OfficeConversionReport SaveAsWord(HtmlConversionDocument document, string path, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveasword-officeimo-html-htmlconversiondocument-string-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L81)

Saves converted Word content with its completed-stage report.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**path string required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`OfficeConversionReport`

`public static OfficeConversionReport SaveAsWord(HtmlConversionDocument document, Stream stream, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveasword-officeimo-html-htmlconversiondocument-io-stream-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L98)

Saves converted Word content with its completed-stage report.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**stream System.IO.Stream required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`OfficeConversionReport`

SaveAsWordAsync 2 overloads

`public static async Task<OfficeConversionReport> SaveAsWordAsync(HtmlConversionDocument document, string path, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveaswordasync-officeimo-html-htmlconversiondocument-string-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

Saves converted Word content with its completed-stage report.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**path string required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeConversionReport>`

`public static async Task<OfficeConversionReport> SaveAsWordAsync(HtmlConversionDocument document, Stream stream, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-saveaswordasync-officeimo-html-htmlconversiondocument-io-stream-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

Saves converted Word content with its completed-stage report.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**stream System.IO.Stream required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeConversionReport>`

ToHtml 2 overloads

`public static string ToHtml(WordDocument document, WordHtmlExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-tohtml-officeimo-word-worddocument-officeimo-word-html-wordhtmlexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L8)

Converts Word to HTML text.

Parameters

**document OfficeIMO.Word.WordDocument required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`string`

`public static string ToHtml(WordDocument document, WordHtmlExportOptions? options, out OfficeConversionReport report, CancellationToken cancellationToken = default)` [#](#method-tohtml-officeimo-word-worddocument-officeimo-word-html-wordhtmlexportoptions-officeimo-officeconversionreport-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L11)

Converts Word to HTML text and returns completed-stage findings.

Parameters

**document OfficeIMO.Word.WordDocument required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? required**

**report OfficeIMO.OfficeConversionReport required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`string`

`public static async Task<OfficeConversionResult<string>> ToHtmlAsync(WordDocument document, WordHtmlExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-tohtmlasync-officeimo-word-worddocument-officeimo-word-html-wordhtmlexportoptions-threading-cancellationtoken)

Converts Word to HTML text with its completed-stage report.

Parameters

**document OfficeIMO.Word.WordDocument required**

**options OfficeIMO.Word.Html.WordHtmlExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeConversionResult<string>>`

ToWord 2 overloads

`public static WordDocument ToWord(HtmlConversionDocument document, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-toword-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L26)

Converts prepared HTML into a Word document.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`WordDocument`

`public static WordDocument ToWord(HtmlConversionDocument document, HtmlWordExportOptions? options, out OfficeConversionReport report, CancellationToken cancellationToken = default)` [#](#method-toword-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-officeimo-officeconversionreport-threading-cancellationtoken)

[WordHtmlConverterExtensions.Conversion.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.Html/WordHtmlConverterExtensions.Conversion.cs#L29)

Converts prepared HTML into Word and returns completed-stage findings.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? required**

**report OfficeIMO.OfficeConversionReport required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`WordDocument`

`public static async Task<OfficeConversionResult<WordDocument>> ToWordAsync(HtmlConversionDocument document, HtmlWordExportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-towordasync-officeimo-html-htmlconversiondocument-officeimo-word-html-htmlwordexportoptions-threading-cancellationtoken)

Converts prepared HTML into Word with its completed-stage report.

Parameters

**document OfficeIMO.Html.HtmlConversionDocument required**

**options OfficeIMO.Word.Html.HtmlWordExportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeConversionResult<WordDocument>>`

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

<!-- PowerForge markdown artifact sha256:7FB5831C3473C549B0566475983C0FF5F5441C480B4B65E32F02BCAD770F31E7 -->
