mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 20:00:11 -06:00
Word brings a document's alternative format chunks (w:altChunk) in where they stand when it opens the file; WordCraft left them out, so a document made of one (as generators and mail-merge tools write them) opened empty. - docx: read_with/ReadOptions with a ChunkImporter for formats other than WordprocessingML; nested Word documents are read here (at most 4 deep, 256 chunks and 512 MB of chunk bytes a file, XML depth counted on). - doc: Document::adopt (moved from paste) brings another document's media, lists, styles, notes, comments and revisions along under new ids; pictures in groups and charts are relinked. Insert > Text from File uses it and now keeps the file's pictures and lists. - engine: chunks in MHT, HTML (in their charset), RTF and plain text go through the format importers. - formats: MHT web archives open (MIME, quoted-printable/base64, charsets, pictures by Content-Location or cid). HTML reads style element rules (simple selectors, cascade, budgets), paragraph margins, indents, line height, cell widths and borders; an opened page takes Word's web-page defaults (Times New Roman 12 pt, single lines, black headings, automatic spacing). html::decode knows the single-byte Windows code pages. docxide-pdf suite: croatian_regulations_altchunk goes from one empty page to Word's 8 pages, SSIM 2.7% -> 78.7%; no other document changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
765 B
Rust
40 lines
765 B
Rust
mod alt_chunks;
|
|
mod bidi;
|
|
mod bidi_runs;
|
|
mod cell_margin_inheritance;
|
|
mod char_units;
|
|
mod citations;
|
|
mod comment_save_cost;
|
|
mod complex_script_inheritance;
|
|
mod content_control_save_cost;
|
|
mod content_controls;
|
|
mod custom_xml;
|
|
mod default_size;
|
|
mod drawing_payload;
|
|
mod east_asian_lang;
|
|
mod east_asian_layout;
|
|
mod fixtures;
|
|
mod glossary;
|
|
mod heading_levels;
|
|
mod legacy_forms;
|
|
mod ligatures;
|
|
mod malformed;
|
|
mod note_comments;
|
|
mod passthrough;
|
|
mod positional_tabs;
|
|
mod privacy;
|
|
mod roundtrip;
|
|
mod row_property_exceptions;
|
|
mod run_props;
|
|
mod section_form_protection;
|
|
mod section_page_number_type;
|
|
mod section_text_direction;
|
|
mod section_valign;
|
|
mod settings_merge;
|
|
mod text_boxes;
|
|
mod toc_ranges;
|
|
mod undefined_style;
|
|
mod vml_shapes;
|
|
mod word_xml;
|
|
mod wordml2003_write;
|