bobzhang/docx2html/document does not have a README file
pub(all) struct Comment {
comment_id : String
body : Array[DocumentElement]
author_name : String
author_initials : String
} derive(Eq, Debug)pub(all) enum DocumentElement {
Document(children~ : Array[DocumentElement], notes~ : Array[Note], comments~ : Array[Comment])
Paragraph(children~ : Array[DocumentElement], properties~ : ParagraphProperties)
Run(children~ : Array[DocumentElement], properties~ : RunProperties)
Text(String)
Tab
Checkbox(Bool)
Hyperlink(children~ : Array[DocumentElement], href~ : String?, anchor~ : String?, target_frame~ : String?)
NoteReference(note_type~ : String, note_id~ : String)
CommentReference(String)
Image(Image)
Table(children~ : Array[DocumentElement], properties~ : TableProperties)
TableRow(children~ : Array[DocumentElement], is_header~ : Bool)
TableCell(children~ : Array[DocumentElement], col_span~ : Int, row_span~ : Int)
Break(BreakType)
BookmarkStart(String)
} derive(Eq, Debug)#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn DocumentElement::equal(DocumentElement, DocumentElement) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn DocumentElement::not_equal(x : DocumentElement, y : DocumentElement) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn DocumentElement::to_repr(DocumentElement) -> Reprpub(all) struct DocumentSection {
ends_after_paragraph : Int?
headers : Array[SectionRef]
footers : Array[SectionRef]
} derive(Eq, Debug)#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn DocumentSection::equal(DocumentSection, DocumentSection) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn DocumentSection::not_equal(x : DocumentSection, y : DocumentSection) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn DocumentSection::to_repr(DocumentSection) -> Repr#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn HeaderFooterPart::equal(HeaderFooterPart, HeaderFooterPart) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn HeaderFooterPart::not_equal(x : HeaderFooterPart, y : HeaderFooterPart) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn HeaderFooterPart::to_repr(HeaderFooterPart) -> Reprpub(all) struct Note {
note_type : String
note_id : String
body : Array[DocumentElement]
} derive(Eq, Debug)#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn ParagraphProperties::equal(ParagraphProperties, ParagraphProperties) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn ParagraphProperties::not_equal(x : ParagraphProperties, y : ParagraphProperties) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn ParagraphProperties::to_repr(ParagraphProperties) -> Reprpub(all) struct RunProperties {
style_id : String?
style_name : String?
is_bold : Bool
is_underline : Bool
is_italic : Bool
is_strikethrough : Bool
is_all_caps : Bool
is_small_caps : Bool
vertical_alignment : VerticalAlignment
font : String?
font_size : Int?
highlight : String?
} derive(Eq, Debug)#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn RunProperties::equal(RunProperties, RunProperties) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn RunProperties::not_equal(x : RunProperties, y : RunProperties) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn RunProperties::to_repr(RunProperties) -> Repr#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn SectionRef::equal(SectionRef, SectionRef) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn SectionRef::not_equal(x : SectionRef, y : SectionRef) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn SectionRef::to_repr(SectionRef) -> Repr#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn TableProperties::equal(TableProperties, TableProperties) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn TableProperties::not_equal(x : TableProperties, y : TableProperties) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn TableProperties::to_repr(TableProperties) -> Repr#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn VerticalAlignment::equal(VerticalAlignment, VerticalAlignment) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn VerticalAlignment::not_equal(x : VerticalAlignment, y : VerticalAlignment) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn VerticalAlignment::to_repr(VerticalAlignment) -> Reprfn comment(comment_id : String, body : Array[DocumentElement], author_name? : String, author_initials? : String) -> Commentfn document(children : Array[DocumentElement], notes? : Array[Note], comments? : Array[Comment]) -> DocumentElementfn document_descendants_where(element : DocumentElement, predicate : (DocumentElement) -> Bool) -> Array[DocumentElement]fn hyperlink(children : Array[DocumentElement], href? : String?, anchor? : String?, target_frame? : String?) -> DocumentElementfn paragraph(children : Array[DocumentElement], properties? : ParagraphProperties) -> DocumentElementfn paragraph_properties(style_id? : String?, style_name? : String?, numbering? : Numbering?, alignment? : String?, indent? : Indent) -> ParagraphPropertiesfn run_properties(style_id? : String?, style_name? : String?, is_bold? : Bool, is_underline? : Bool, is_italic? : Bool, is_strikethrough? : Bool, is_all_caps? : Bool, is_small_caps? : Bool, vertical_alignment? : VerticalAlignment, font? : String?, font_size? : Int?, highlight? : String?) -> RunPropertiesfn table_cell(children : Array[DocumentElement], col_span? : Int, row_span? : Int) -> DocumentElementfn transform_elements(element : DocumentElement, transform : (DocumentElement) -> DocumentElement) -> DocumentElementfn transform_paragraphs(transform : (DocumentElement) -> DocumentElement) -> ((DocumentElement) -> DocumentElement)fn transform_runs(transform : (DocumentElement) -> DocumentElement) -> ((DocumentElement) -> DocumentElement)Native MoonBit DOCX to HTML/Markdown converter ported from Mammoth
Dependencies