diff --git a/docx-core/examples/reader.rs b/docx-core/examples/reader.rs index 10e7efe..3410672 100644 --- a/docx-core/examples/reader.rs +++ b/docx-core/examples/reader.rs @@ -4,11 +4,11 @@ use std::fs::File; use std::io::{Read, Write}; pub fn main() { - let mut file = File::open("./ppr_del.docx").unwrap(); + let mut file = File::open("./hello.docx").unwrap(); let mut buf = vec![]; file.read_to_end(&mut buf).unwrap(); - let mut file = File::create("./test.json").unwrap(); + let mut file = File::create("./hello.json").unwrap(); let res = read_docx(&buf).unwrap().json(); file.write_all(res.as_bytes()).unwrap(); file.flush().unwrap(); diff --git a/docx-core/src/reader/insert.rs b/docx-core/src/reader/insert.rs index dbb13c7..aca1242 100644 --- a/docx-core/src/reader/insert.rs +++ b/docx-core/src/reader/insert.rs @@ -20,8 +20,8 @@ impl ElementReader for Insert { }) => { let e = XMLElement::from_str(&name.local_name).unwrap(); match e { - XMLElement::Run => ins = ins.add_run(Run::read(r, attrs)?), - XMLElement::Delete => ins = ins.add_delete(Delete::read(r, attrs)?), + XMLElement::Run => ins = ins.add_run(Run::read(r, &attributes)?), + XMLElement::Delete => ins = ins.add_delete(Delete::read(r, &attributes)?), XMLElement::CommentRangeStart => { if let Some(id) = read(&attributes, "id") { if let Ok(id) = usize::from_str(&id) { diff --git a/docx-wasm/test/__snapshots__/index.test.js.snap b/docx-wasm/test/__snapshots__/index.test.js.snap index 1a6ae03..b2af19c 100644 --- a/docx-wasm/test/__snapshots__/index.test.js.snap +++ b/docx-wasm/test/__snapshots__/index.test.js.snap @@ -1615,6 +1615,2541 @@ Object { } `; +exports[`reader should read del_in_ins docx 1`] = ` +Object { + "comments": Object { + "comments": Array [], + }, + "commentsExtended": Object { + "children": Array [], + }, + "contentType": Object { + "custom_xml_count": 1, + "footer_count": 0, + "header_count": 0, + "types": Object { + "/_rels/.rels": "application/vnd.openxmlformats-package.relationships+xml", + "/docProps/app.xml": "application/vnd.openxmlformats-officedocument.extended-properties+xml", + "/docProps/core.xml": "application/vnd.openxmlformats-package.core-properties+xml", + "/docProps/custom.xml": "application/vnd.openxmlformats-officedocument.custom-properties+xml", + "/word/_rels/document.xml.rels": "application/vnd.openxmlformats-package.relationships+xml", + "/word/comments.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml", + "/word/commentsExtended.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml", + "/word/document.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml", + "/word/fontTable.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml", + "/word/numbering.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml", + "/word/settings.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml", + "/word/styles.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml", + }, + "web_extension_count": 1, + }, + "customItemProps": Array [], + "customItemRels": Array [], + "customItems": Array [], + "docProps": Object { + "app": Object {}, + "core": Object { + "config": Object { + "created": null, + "creator": null, + "description": null, + "language": null, + "lastModifiedBy": null, + "modified": null, + "revision": null, + "subject": null, + "title": null, + }, + }, + "custom": Object { + "properties": Object {}, + }, + }, + "document": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "id": 0, + "name": "_Toc379463438", + }, + "type": "bookmarkStart", + }, + Object { + "data": Object { + "id": 1, + "name": "_Toc379464044", + }, + "type": "bookmarkStart", + }, + Object { + "data": Object { + "id": 2, + "name": "_Toc379464354", + }, + "type": "bookmarkStart", + }, + Object { + "data": Object { + "author": "bokuweb", + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": "Hello ", + }, + "type": "text", + }, + ], + "runProperty": Object { + "fonts": Object { + "ascii": "Arial", + "cs": "Arial", + "eastAsia": "Malgun Gothic", + "hiAnsi": "Arial", + }, + "sz": 22, + "szCs": 22, + }, + }, + "type": "run", + }, + Object { + "data": Object { + "author": "Legal", + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": " DelText ", + }, + "type": "deleteText", + }, + ], + "runProperty": Object { + "fonts": Object { + "ascii": "Arial", + "cs": "Arial", + "eastAsia": "Malgun Gothic", + "hiAnsi": "Arial", + }, + "sz": 22, + "szCs": 22, + }, + }, + "type": "run", + }, + ], + "date": "2022-03-14T18:11:00Z", + }, + "type": "delete", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": "“", + }, + "type": "text", + }, + ], + "runProperty": Object { + "fonts": Object { + "ascii": "Arial", + "cs": "Arial", + "eastAsia": "Malgun Gothic", + "hiAnsi": "Arial", + }, + "sz": 22, + "szCs": 22, + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": "E", + }, + "type": "text", + }, + ], + "runProperty": Object { + "fonts": Object { + "ascii": "Arial", + "cs": "Arial", + "eastAsia": "Malgun Gothic", + "hiAnsi": "Arial", + }, + "sz": 22, + "szCs": 22, + }, + }, + "type": "run", + }, + ], + "date": "2021-07-06T17:57:00Z", + }, + "type": "insert", + }, + Object { + "data": Object { + "author": "bokuweb", + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": "Wold", + }, + "type": "text", + }, + ], + "runProperty": Object { + "fonts": Object { + "ascii": "Arial", + "cs": "Arial", + "eastAsia": "Malgun Gothic", + "hiAnsi": "Arial", + }, + "sz": 22, + "szCs": 22, + }, + }, + "type": "run", + }, + ], + "date": "2021-07-06T17:58:00Z", + }, + "type": "insert", + }, + Object { + "data": Object { + "id": 0, + }, + "type": "bookmarkEnd", + }, + Object { + "data": Object { + "id": 1, + }, + "type": "bookmarkEnd", + }, + Object { + "data": Object { + "id": 2, + }, + "type": "bookmarkEnd", + }, + ], + "hasNumbering": false, + "id": "1FA7DC2C", + "property": Object { + "alignment": "both", + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "firstLine", + "val": 0, + }, + "start": 0, + "startChars": null, + }, + "lineSpacing": Object { + "line": 360, + "lineRule": "Auto", + }, + "outlineLvl": 0, + "runProperty": Object { + "bold": true, + "boldCs": true, + "fonts": Object { + "ascii": "Arial", + "cs": "Arial", + "eastAsia": "Malgun Gothic", + "hiAnsi": "Arial", + }, + "sz": 22, + "szCs": 22, + }, + "style": "Level1", + "tabs": Array [], + }, + }, + "type": "paragraph", + }, + ], + "hasNumbering": false, + "sectionProperty": Object { + "columns": 425, + "docGrid": Object { + "charSpace": null, + "gridType": "default", + "linePitch": 326, + }, + "pageMargin": Object { + "bottom": 1134, + "footer": 726, + "gutter": 0, + "header": 567, + "left": 1440, + "right": 1440, + "top": 1418, + }, + "pageSize": Object { + "h": 16839, + "orient": null, + "w": 11907, + }, + "titlePg": false, + }, + }, + "documentRels": Object { + "customXmlCount": 0, + "footerCount": 0, + "hasComments": false, + "hasNumberings": false, + "headerCount": 0, + "imageIds": Array [], + }, + "fontTable": Object {}, + "media": Array [], + "numberings": Object { + "abstractNums": Array [ + Object { + "id": 0, + "levels": Array [ + Object { + "format": "lowerLetter", + "jc": "left", + "level": 0, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 360, + }, + "start": 1353, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "(%1)", + }, + Object { + "format": "upperLetter", + "jc": "left", + "level": 1, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 1793, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%2.", + }, + Object { + "format": "lowerRoman", + "jc": "right", + "level": 2, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 2193, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%3.", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 3, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 2593, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%4.", + }, + Object { + "format": "upperLetter", + "jc": "left", + "level": 4, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 2993, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%5.", + }, + Object { + "format": "lowerRoman", + "jc": "right", + "level": 5, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 3393, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%6.", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 6, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 3793, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%7.", + }, + Object { + "format": "upperLetter", + "jc": "left", + "level": 7, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 4193, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%8.", + }, + Object { + "format": "lowerRoman", + "jc": "right", + "level": 8, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 4593, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%9.", + }, + ], + "numStyleLink": null, + "styleLink": null, + }, + Object { + "id": 1, + "levels": Array [ + Object { + "format": "decimal", + "jc": "left", + "level": 0, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 425, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "cs": "Times New Roman", + "hint": "eastAsia", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 1, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 360, + }, + "start": 786, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 2, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 720, + }, + "start": 1572, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 3, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 720, + }, + "start": 1998, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3.%4", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 4, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 1080, + }, + "start": 2784, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3.%4.%5", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 5, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 1080, + }, + "start": 3210, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3.%4.%5.%6", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 6, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 1440, + }, + "start": 3996, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3.%4.%5.%6.%7", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 7, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 1440, + }, + "start": 4422, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3.%4.%5.%6.%7.%8", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 8, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 1800, + }, + "start": 5208, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "%1.%2.%3.%4.%5.%6.%7.%8.%9", + }, + ], + "numStyleLink": null, + "styleLink": null, + }, + Object { + "id": 2, + "levels": Array [ + Object { + "format": "lowerLetter", + "jc": "left", + "level": 0, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 360, + }, + "start": 1353, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object { + "fonts": Object { + "hint": "default", + }, + }, + "start": 1, + "suffix": "tab", + "text": "(%1)", + }, + Object { + "format": "upperLetter", + "jc": "left", + "level": 1, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 1793, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%2.", + }, + Object { + "format": "lowerRoman", + "jc": "right", + "level": 2, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 2193, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%3.", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 3, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 2593, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%4.", + }, + Object { + "format": "upperLetter", + "jc": "left", + "level": 4, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 2993, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%5.", + }, + Object { + "format": "lowerRoman", + "jc": "right", + "level": 5, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 3393, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%6.", + }, + Object { + "format": "decimal", + "jc": "left", + "level": 6, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 3793, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%7.", + }, + Object { + "format": "upperLetter", + "jc": "left", + "level": 7, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 4193, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%8.", + }, + Object { + "format": "lowerRoman", + "jc": "right", + "level": 8, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 400, + }, + "start": 4593, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": null, + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "%9.", + }, + ], + "numStyleLink": null, + "styleLink": null, + }, + ], + "numberings": Array [ + Object { + "abstractNumId": 1, + "id": 1, + "levelOverrides": Array [], + }, + Object { + "abstractNumId": 0, + "id": 2, + "levelOverrides": Array [], + }, + Object { + "abstractNumId": 2, + "id": 3, + "levelOverrides": Array [], + }, + ], + }, + "rels": Object { + "rels": Array [ + Array [ + "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties", + "rId1", + "docProps/core.xml", + ], + Array [ + "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties", + "rId2", + "docProps/app.xml", + ], + Array [ + "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", + "rId3", + "word/document.xml", + ], + Array [ + "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties", + "rId4", + "docProps/custom.xml", + ], + ], + }, + "settings": Object { + "defaultTabStop": 840, + "docId": "3A5F0B6E-9417-4662-A075-C7869185C909", + "docVars": Array [], + "evenAndOddHeaders": false, + "zoom": 100, + }, + "styles": Object { + "docDefaults": Object { + "runPropertyDefault": Object { + "runProperty": Object { + "fonts": Object { + "asciiTheme": "minorHAnsi", + "csTheme": "minorBidi", + "eastAsiaTheme": "minorEastAsia", + "hiAnsiTheme": "minorHAnsi", + }, + "sz": 21, + "szCs": 21, + }, + }, + }, + "styles": Array [ + Object { + "basedOn": null, + "name": "Normal", + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "fonts": Object { + "ascii": "Times New Roman", + "cs": "Times New Roman", + "eastAsia": "BatangChe", + "hiAnsi": "Times New Roman", + }, + "sz": 24, + "szCs": 24, + }, + "styleId": "a", + "styleType": "paragraph", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "Default Paragraph Font", + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "a0", + "styleType": "character", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "Normal Table", + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "a1", + "styleType": "table", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": null, + "insideH": null, + "insideV": null, + "left": null, + "right": null, + "top": null, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "No List", + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "a2", + "styleType": "numbering", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": "a", + "name": "annotation text", + "paragraphProperty": Object { + "indent": Object { + "end": 176, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 10, + }, + "start": 10, + "startChars": null, + }, + "lineSpacing": Object { + "after": 5, + "line": 294, + "lineRule": "Auto", + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "fonts": Object { + "ascii": "Meiryo UI", + "cs": "Meiryo UI", + "eastAsia": "Meiryo UI", + "hiAnsi": "Meiryo UI", + }, + }, + "styleId": "a3", + "styleType": "paragraph", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": "a0", + "name": "コメント文字列 (文字)", + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "fonts": Object { + "ascii": "Meiryo UI", + "cs": "Meiryo UI", + "eastAsia": "Meiryo UI", + "hiAnsi": "Meiryo UI", + }, + }, + "styleId": "a4", + "styleType": "character", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": "a", + "name": "Level 1", + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 720, + }, + "start": 1440, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + "widowControl": true, + }, + "runProperty": Object { + "fonts": Object { + "ascii": "Courier", + "hiAnsi": "Courier", + }, + }, + "styleId": "Level1", + "styleType": "paragraph", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": "a", + "name": "Level 2", + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 720, + }, + "start": 1440, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + "widowControl": true, + }, + "runProperty": Object { + "fonts": Object { + "ascii": "Courier", + "hiAnsi": "Courier", + }, + }, + "styleId": "Level2", + "styleType": "paragraph", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": "a", + "name": "List Paragraph", + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": 800, + "startChars": 400, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "a5", + "styleType": "paragraph", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "Revision", + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "fonts": Object { + "ascii": "Times New Roman", + "cs": "Times New Roman", + "eastAsia": "BatangChe", + "hiAnsi": "Times New Roman", + }, + "sz": 24, + "szCs": 24, + }, + "styleId": "a6", + "styleType": "paragraph", + "tableCellProperty": Object { + "borders": null, + "gridSpan": null, + "shading": null, + "textDirection": null, + "verticalAlign": null, + "verticalMerge": null, + "width": null, + }, + "tableProperty": Object { + "borders": Object { + "bottom": Object { + "borderType": "single", + "color": "000000", + "position": "bottom", + "size": 2, + "space": 0, + }, + "insideH": Object { + "borderType": "single", + "color": "000000", + "position": "insideH", + "size": 2, + "space": 0, + }, + "insideV": Object { + "borderType": "single", + "color": "000000", + "position": "insideV", + "size": 2, + "space": 0, + }, + "left": Object { + "borderType": "single", + "color": "000000", + "position": "left", + "size": 2, + "space": 0, + }, + "right": Object { + "borderType": "single", + "color": "000000", + "position": "right", + "size": 2, + "space": 0, + }, + "top": Object { + "borderType": "single", + "color": "000000", + "position": "top", + "size": 2, + "space": 0, + }, + }, + "indent": null, + "justification": "left", + "layout": null, + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "DXA", + }, + "left": Object { + "val": 55, + "widthType": "DXA", + }, + "right": Object { + "val": 55, + "widthType": "DXA", + }, + "top": Object { + "val": 0, + "widthType": "DXA", + }, + }, + "style": null, + "width": Object { + "width": 0, + "widthType": "Auto", + }, + }, + }, + ], + }, + "taskpanes": null, + "taskpanesRels": Object { + "rels": Array [], + }, + "themes": Array [ + Object { + "fontSchema": Object { + "majorFont": Object { + "cs": "", + "ea": "", + "fonts": Array [ + Object { + "script": "Jpan", + "typeface": "游ゴシック Light", + }, + Object { + "script": "Hang", + "typeface": "맑은 고딕", + }, + Object { + "script": "Hans", + "typeface": "等线 Light", + }, + Object { + "script": "Hant", + "typeface": "新細明體", + }, + Object { + "script": "Arab", + "typeface": "Times New Roman", + }, + Object { + "script": "Hebr", + "typeface": "Times New Roman", + }, + Object { + "script": "Thai", + "typeface": "Angsana New", + }, + Object { + "script": "Ethi", + "typeface": "Nyala", + }, + Object { + "script": "Beng", + "typeface": "Vrinda", + }, + Object { + "script": "Gujr", + "typeface": "Shruti", + }, + Object { + "script": "Khmr", + "typeface": "MoolBoran", + }, + Object { + "script": "Knda", + "typeface": "Tunga", + }, + Object { + "script": "Guru", + "typeface": "Raavi", + }, + Object { + "script": "Cans", + "typeface": "Euphemia", + }, + Object { + "script": "Cher", + "typeface": "Plantagenet Cherokee", + }, + Object { + "script": "Yiii", + "typeface": "Microsoft Yi Baiti", + }, + Object { + "script": "Tibt", + "typeface": "Microsoft Himalaya", + }, + Object { + "script": "Thaa", + "typeface": "MV Boli", + }, + Object { + "script": "Deva", + "typeface": "Mangal", + }, + Object { + "script": "Telu", + "typeface": "Gautami", + }, + Object { + "script": "Taml", + "typeface": "Latha", + }, + Object { + "script": "Syrc", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Orya", + "typeface": "Kalinga", + }, + Object { + "script": "Mlym", + "typeface": "Kartika", + }, + Object { + "script": "Laoo", + "typeface": "DokChampa", + }, + Object { + "script": "Sinh", + "typeface": "Iskoola Pota", + }, + Object { + "script": "Mong", + "typeface": "Mongolian Baiti", + }, + Object { + "script": "Viet", + "typeface": "Times New Roman", + }, + Object { + "script": "Uigh", + "typeface": "Microsoft Uighur", + }, + Object { + "script": "Geor", + "typeface": "Sylfaen", + }, + Object { + "script": "Armn", + "typeface": "Arial", + }, + Object { + "script": "Bugi", + "typeface": "Leelawadee UI", + }, + Object { + "script": "Bopo", + "typeface": "Microsoft JhengHei", + }, + Object { + "script": "Java", + "typeface": "Javanese Text", + }, + Object { + "script": "Lisu", + "typeface": "Segoe UI", + }, + Object { + "script": "Mymr", + "typeface": "Myanmar Text", + }, + Object { + "script": "Nkoo", + "typeface": "Ebrima", + }, + Object { + "script": "Olck", + "typeface": "Nirmala UI", + }, + Object { + "script": "Osma", + "typeface": "Ebrima", + }, + Object { + "script": "Phag", + "typeface": "Phagspa", + }, + Object { + "script": "Syrn", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Syrj", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Syre", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Sora", + "typeface": "Nirmala UI", + }, + Object { + "script": "Tale", + "typeface": "Microsoft Tai Le", + }, + Object { + "script": "Talu", + "typeface": "Microsoft New Tai Lue", + }, + Object { + "script": "Tfng", + "typeface": "Ebrima", + }, + ], + "latin": "游ゴシック Light", + }, + "minorFont": Object { + "cs": "", + "ea": "", + "fonts": Array [ + Object { + "script": "Jpan", + "typeface": "游明朝", + }, + Object { + "script": "Hang", + "typeface": "맑은 고딕", + }, + Object { + "script": "Hans", + "typeface": "等线", + }, + Object { + "script": "Hant", + "typeface": "新細明體", + }, + Object { + "script": "Arab", + "typeface": "Arial", + }, + Object { + "script": "Hebr", + "typeface": "Arial", + }, + Object { + "script": "Thai", + "typeface": "Cordia New", + }, + Object { + "script": "Ethi", + "typeface": "Nyala", + }, + Object { + "script": "Beng", + "typeface": "Vrinda", + }, + Object { + "script": "Gujr", + "typeface": "Shruti", + }, + Object { + "script": "Khmr", + "typeface": "DaunPenh", + }, + Object { + "script": "Knda", + "typeface": "Tunga", + }, + Object { + "script": "Guru", + "typeface": "Raavi", + }, + Object { + "script": "Cans", + "typeface": "Euphemia", + }, + Object { + "script": "Cher", + "typeface": "Plantagenet Cherokee", + }, + Object { + "script": "Yiii", + "typeface": "Microsoft Yi Baiti", + }, + Object { + "script": "Tibt", + "typeface": "Microsoft Himalaya", + }, + Object { + "script": "Thaa", + "typeface": "MV Boli", + }, + Object { + "script": "Deva", + "typeface": "Mangal", + }, + Object { + "script": "Telu", + "typeface": "Gautami", + }, + Object { + "script": "Taml", + "typeface": "Latha", + }, + Object { + "script": "Syrc", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Orya", + "typeface": "Kalinga", + }, + Object { + "script": "Mlym", + "typeface": "Kartika", + }, + Object { + "script": "Laoo", + "typeface": "DokChampa", + }, + Object { + "script": "Sinh", + "typeface": "Iskoola Pota", + }, + Object { + "script": "Mong", + "typeface": "Mongolian Baiti", + }, + Object { + "script": "Viet", + "typeface": "Arial", + }, + Object { + "script": "Uigh", + "typeface": "Microsoft Uighur", + }, + Object { + "script": "Geor", + "typeface": "Sylfaen", + }, + Object { + "script": "Armn", + "typeface": "Arial", + }, + Object { + "script": "Bugi", + "typeface": "Leelawadee UI", + }, + Object { + "script": "Bopo", + "typeface": "Microsoft JhengHei", + }, + Object { + "script": "Java", + "typeface": "Javanese Text", + }, + Object { + "script": "Lisu", + "typeface": "Segoe UI", + }, + Object { + "script": "Mymr", + "typeface": "Myanmar Text", + }, + Object { + "script": "Nkoo", + "typeface": "Ebrima", + }, + Object { + "script": "Olck", + "typeface": "Nirmala UI", + }, + Object { + "script": "Osma", + "typeface": "Ebrima", + }, + Object { + "script": "Phag", + "typeface": "Phagspa", + }, + Object { + "script": "Syrn", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Syrj", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Syre", + "typeface": "Estrangelo Edessa", + }, + Object { + "script": "Sora", + "typeface": "Nirmala UI", + }, + Object { + "script": "Tale", + "typeface": "Microsoft Tai Le", + }, + Object { + "script": "Talu", + "typeface": "Microsoft New Tai Lue", + }, + Object { + "script": "Tfng", + "typeface": "Ebrima", + }, + ], + "latin": "游明朝", + }, + }, + }, + ], + "webExtensions": Array [], + "webSettings": Object { + "divs": Array [], + }, +} +`; + exports[`reader should read div docx 1`] = ` Object { "comments": Object { diff --git a/docx-wasm/test/index.test.js b/docx-wasm/test/index.test.js index 4e7db08..94b3b91 100644 --- a/docx-wasm/test/index.test.js +++ b/docx-wasm/test/index.test.js @@ -112,6 +112,12 @@ describe("reader", () => { const json = w.readDocx(buffer); expect(json).toMatchSnapshot(); }); + + test("should read del_in_ins docx", () => { + const buffer = readFileSync("../fixtures/del_in_ins/del_in_ins.docx"); + const json = w.readDocx(buffer); + expect(json).toMatchSnapshot(); + }); }); describe("writer", () => { diff --git a/fixtures/del_in_ins/del_in_ins.docx b/fixtures/del_in_ins/del_in_ins.docx new file mode 100644 index 0000000..3c73f62 Binary files /dev/null and b/fixtures/del_in_ins/del_in_ins.docx differ diff --git a/hello.docx b/hello.docx new file mode 100644 index 0000000..ddfa237 Binary files /dev/null and b/hello.docx differ diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000..0472a57 --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +1.58.1 \ No newline at end of file