bobzhang/docx2html/opc does not have a README file
pub(all) suberror PackageBuildError {
PackageBuildError(String)
PackageLimitExceeded(kind~ : String, limit~ : Int64, actual~ : Int64)
} derive(Eq)impl Show for PackageBuildError#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn PackageBuildError::equal(PackageBuildError, PackageBuildError) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn PackageBuildError::not_equal(x : PackageBuildError, y : PackageBuildError) -> Bool#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn PackageBuildError::output(self : PackageBuildError, logger : &Logger) -> Unit#deprecated("implicit trait-method promotion is being removed; call via the trait")
fn PackageBuildError::to_string(self : PackageBuildError) -> Stringpub struct DocxValidationReport {
// private fields
}fn DocxValidationReport::resource_limit(self : DocxValidationReport) -> DocxValidationResourceLimit?pub(all) enum DocxValidationResourceLimit {
ZipPackageBytes
ZipEntries
ZipEntryUncompressedBytes
ZipTotalUncompressedBytes
ZipTotalPreservedSourceBytes
ZipEntryNameCharacters
ZipTotalEntryNameCharacters
XmlSourceUnits
XmlTokens
XmlTokenLength
XmlMaterializedCharacters
XmlNestingDepth
}pub struct PackageBuilder {
// private fields
}fn PackageBuilder::add_default(self : PackageBuilder, extension : String, content_type : String) -> Unit raise PackageBuildErrorfn PackageBuilder::add_override(self : PackageBuilder, part_name : String, content_type : String) -> Unit raise PackageBuildErrorfn PackageBuilder::add_part(self : PackageBuilder, name : String, data : Bytes) -> Unit raise PackageBuildErrorfn PackageBuilder::add_relationship(self : PackageBuilder, id : String, relationship_type : String, target : String, source? : String, external? : Bool) -> Unit raise PackageBuildErrorfn PackageBuilder::build_limited(self : PackageBuilder, limits : PackageLimits) -> Bytes raise PackageBuildErrorpub(all) struct PackageLimits {
max_output_bytes : Int
max_entries : Int
max_entry_uncompressed_bytes : Int
max_total_uncompressed_bytes : Int
}pub(all) enum PartNameConflict {
Equivalent(String)
Derivable(String)
}pub struct PartNameRegistry {
// private fields
}fn PartNameRegistry::register(self : PartNameRegistry, name : StringView, display : String) -> PartNameConflict?fn is_relationship_part_name(name : String) -> Boolfn is_valid_content_type_extension(value : String) -> Boolfn is_valid_part_segment(segment : StringView) -> Boolfn logical_part_name_from_zip_item_name(name : StringView) -> String?fn part_name_key(name : StringView) -> Stringfn read_opc_relationships_string_encoded_limited(source : String, source_encoding : XmlSourceEncoding, budget : XmlReadBudget) -> XmlElement raise DocxErrorfn read_opc_relationships_xml_limited(source : BytesView, budget : XmlReadBudget) -> XmlElement raise DocxErrorfn read_opc_relationships_xml_with_roots_limited(source : BytesView, budget : XmlReadBudget) -> (XmlElement, XmlElement) raise DocxErrorfn relationship_source_part_name(name : String) -> String?fn relationships_part_name_for_source(source : String) -> Stringfn resolve_part_target(base : String, target : StringView) -> String?fn resolve_target(base : String, target : String) -> String?fn validate_docx_archive_limited(archive : Archive, max_findings~ : Int, max_message_chars~ : Int, max_zip_entry_name_chars? : Int, max_zip_total_entry_name_chars? : Int, max_xml_source_units? : Int, max_xml_tokens? : Int, max_xml_materialized_chars? : Int, max_xml_token_chars? : Int, cancelled? : () -> Bool) -> (Array[String], Bool)fn validate_docx_archive_report_limited(archive : Archive, max_findings~ : Int, max_message_chars~ : Int, max_zip_entry_name_chars? : Int, max_zip_total_entry_name_chars? : Int, max_xml_source_units? : Int, max_xml_tokens? : Int, max_xml_materialized_chars? : Int, max_xml_token_chars? : Int, cancelled? : () -> Bool) -> DocxValidationReportfn validate_docx_package_limited(data : BytesView, max_findings~ : Int, max_message_chars~ : Int, max_zip_package_bytes? : Int, max_zip_entries? : Int, max_zip_entry_uncompressed_bytes? : Int, max_zip_total_uncompressed_bytes? : Int, max_zip_total_preserved_source_bytes? : Int, max_zip_entry_name_chars? : Int, max_zip_total_entry_name_chars? : Int, max_xml_source_units? : Int, max_xml_tokens? : Int, max_xml_materialized_chars? : Int, max_xml_token_chars? : Int) -> (Array[String], Bool)fn validate_docx_package_report_limited(data : BytesView, max_findings~ : Int, max_message_chars~ : Int, max_zip_package_bytes? : Int, max_zip_entries? : Int, max_zip_entry_uncompressed_bytes? : Int, max_zip_total_uncompressed_bytes? : Int, max_zip_total_preserved_source_bytes? : Int, max_zip_entry_name_chars? : Int, max_zip_total_entry_name_chars? : Int, max_xml_source_units? : Int, max_xml_tokens? : Int, max_xml_materialized_chars? : Int, max_xml_token_chars? : Int) -> DocxValidationReportfn zip_item_name_from_logical_part_name(name : StringView) -> String?Native MoonBit DOCX to HTML/Markdown converter ported from Mammoth
Dependencies