README

bobzhang/docx2html/converter does not have a README file

#
ImageConversion

Rendered image nodes plus any diagnostics from image conversion.

#
ImageConversion::equal

#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn ImageConversion::equal(ImageConversion, ImageConversion) -> Bool

#
ImageConversion::not_equal

#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn ImageConversion::not_equal(x : ImageConversion, y : ImageConversion) -> Bool

#
ImageConversion::to_repr

#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn ImageConversion::to_repr(ImageConversion) ->
Repr

#
OutputFormat

pub(all) enum OutputFormat {
Html
Markdown
} derive(Eq,
Debug
)

Selects whether conversion renders HTML or Markdown.

#
OutputFormat::equal

#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn OutputFormat::equal(OutputFormat, OutputFormat) -> Bool

#
OutputFormat::not_equal

#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn OutputFormat::not_equal(x : OutputFormat, y : OutputFormat) -> Bool

#
OutputFormat::to_repr

#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn OutputFormat::to_repr(OutputFormat) ->
Repr

#
convert_document

fn convert_document(document :
DocumentElement
, output_format? : OutputFormat, style_map? : Array[String], include_default_style_map? : Bool, ignore_empty_paragraphs? : Bool, id_prefix? : String, pretty_print? : Bool, convert_image? : (
Image
) -> ImageConversion, transform_document? : (
DocumentElement
) ->
DocumentElement
) ->
ConversionResult

Converts a document tree using the requested output format.

#
convert_document_to_html

fn convert_document_to_html(document :
DocumentElement
, style_map? : Array[String], include_default_style_map? : Bool, ignore_empty_paragraphs? : Bool, id_prefix? : String, pretty_print? : Bool, convert_image? : (
Image
) -> ImageConversion, transform_document? : (
DocumentElement
) ->
DocumentElement
) ->
ConversionResult

Converts a document tree to HTML.

#
convert_document_to_markdown

fn convert_document_to_markdown(document :
DocumentElement
, style_map? : Array[String], include_default_style_map? : Bool, ignore_empty_paragraphs? : Bool, id_prefix? : String, convert_image? : (
Image
) -> ImageConversion, transform_document? : (
DocumentElement
) ->
DocumentElement
) ->
ConversionResult

Converts a document tree to Markdown.

#
data_uri_image

Converts one image to an inline data URI image result.

#
data_uri_image_converter

fn data_uri_image_converter(image :
Image
) -> ImageConversion

Converts images to inline data URI image nodes.

#
image_conversion

Builds an image conversion result from rendered nodes and diagnostics.

#
img_element

fn img_element(read_attributes : (
Image
) -> Map[String, String]) -> ((
Image
) -> ImageConversion)

Creates an image converter that emits an img element.

#
inline_image

fn inline_image(read_attributes : (
Image
) -> Map[String, String]) -> ((
Image
) -> ImageConversion)

Alias for img_element matching Mammoth image API style.

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io