MarkdownSettings

public final class MarkdownSettings

Settings for Markdown. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

Functions

Link copied to clipboard
public final boolean getEmitFigurePlaceholders()
Controls whether pictures that have no alt text and no extractable words emit a [Figure] placeholder line in the Markdown output.
Link copied to clipboard
public final boolean getEmitHeaderFooterMarkers()
Controls whether included running headers and footers are wrapped in / comment markers.
Link copied to clipboard
public final boolean getEmitPageBoundaryMarkers()
When enabled, the converter emits a unique HTML-comment marker at the start of every page (, where N is the 1-indexed physical page number).
Link copied to clipboard
public final boolean getEnableInlineFormatting()
Controls whether inline text formatting is preserved in the Markdown output using Markdown or inline HTML markers for bold, italic, underline, highlight, strikethrough, superscript, and subscript text.
Link copied to clipboard
public final boolean getEnableSemanticBlockFormatting()
Controls whether footnotes render as a blockquote (> ) and whether pictures, charts and barcodes are emitted at all (pictures render as ![alt]() when they carry alt text; refer to for pictures without one; charts render as their table only).
Link copied to clipboard
public final boolean getExtractWordsFromPictures()
Controls whether words detected inside picture regions are emitted as plain text in Markdown output.
Link copied to clipboard
public final ImageExportMode getImageExport()
Controls how images are exported when converting documents to Markdown.
Link copied to clipboard
public final boolean getIncludeHeadersAndFooters()
Controls whether running page headers and footers are included in the Markdown output.
Link copied to clipboard
public final boolean getJoinHyphenatedLineBreaks()
Controls whether a word the source document broke across a visual line with a wrap hyphen is rejoined in the Markdown output (concen- + trations becomes concentrations, while a compound's own hyphen at the wrap, quasi- + experimental, is kept).
Link copied to clipboard
public final boolean getUseHtmlTables()
Controls how tables are rendered in the Markdown output.
Link copied to clipboard
public final void setEmitFigurePlaceholders(boolean value)
Controls whether pictures that have no alt text and no extractable words emit a [Figure] placeholder line in the Markdown output.
Link copied to clipboard
public final void setEmitHeaderFooterMarkers(boolean value)
Controls whether included running headers and footers are wrapped in / comment markers.
Link copied to clipboard
public final void setEmitPageBoundaryMarkers(boolean value)
When enabled, the converter emits a unique HTML-comment marker at the start of every page (, where N is the 1-indexed physical page number).
Link copied to clipboard
public final void setEnableInlineFormatting(boolean value)
Controls whether inline text formatting is preserved in the Markdown output using Markdown or inline HTML markers for bold, italic, underline, highlight, strikethrough, superscript, and subscript text.
Link copied to clipboard
public final void setEnableSemanticBlockFormatting(boolean value)
Controls whether footnotes render as a blockquote (> ) and whether pictures, charts and barcodes are emitted at all (pictures render as ![alt]() when they carry alt text; refer to for pictures without one; charts render as their table only).
Link copied to clipboard
public final void setExtractWordsFromPictures(boolean value)
Controls whether words detected inside picture regions are emitted as plain text in Markdown output.
Link copied to clipboard
public final void setImageExport(ImageExportMode value)
Controls how images are exported when converting documents to Markdown.
Link copied to clipboard
public final void setIncludeHeadersAndFooters(boolean value)
Controls whether running page headers and footers are included in the Markdown output.
Link copied to clipboard
public final void setJoinHyphenatedLineBreaks(boolean value)
Controls whether a word the source document broke across a visual line with a wrap hyphen is rejoined in the Markdown output (concen- + trations becomes concentrations, while a compound's own hyphen at the wrap, quasi- + experimental, is kept).
Link copied to clipboard
public final void setUseHtmlTables(boolean value)
Controls how tables are rendered in the Markdown output.