Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfMarkdownExportOptions

OfficeIMO.Rtf.Markdown

Namespace
OfficeIMO.Rtf.Markdown
Assembly
OfficeIMO.Rtf.Markdown
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Controls semantic conversion from an OfficeIMO RTF document into Markdown.

Inheritance

  • object
  • RtfMarkdownExportOptions

Usage

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

Accepted by parameters 4

Constructors

public RtfMarkdownExportOptions() #

Methods

public RtfMarkdownExportOptions Clone() #

Creates a copy of these settings; callbacks and nested writer settings are shared.

Properties

public MarkdownSaveOptions? MarkdownWriteOptions { get; set; } #

Markdown writer options used when rendering the resulting Markdown document.

public MarkdownLoadOptions? InlineReaderOptions { get; set; } #

Markdown reader options used when building inline Markdown sequences.

public bool IncludeHiddenText { get; set; } #

Includes RTF hidden text in generated Markdown.

public bool EmitUnsupportedHtmlComments { get; set; } #

Emits HTML comments for unsupported RTF block features.

public Func<RtfImage, int, string>? ImagePathFactory { get; set; } #

Creates an image path for each RTF image encountered during conversion.

public Action<RtfImage, int, string>? ImageExporter { get; set; } #

Exports each RTF image payload to the path selected by RtfMarkdownExportOptions.ImagePathFactory.

public Encoding? Encoding { get; set; } #

Encoding used when the Markdown is saved. Null writes UTF-8 without a byte-order mark.

public bool FailOnLoss { get; set; } #

Throws OfficeConversionException when the conversion reports loss.