diff --git a/docx-core/src/documents/footer.rs b/docx-core/src/documents/footer.rs index 73ac224..c0fd603 100644 --- a/docx-core/src/documents/footer.rs +++ b/docx-core/src/documents/footer.rs @@ -38,6 +38,7 @@ impl Footer { pub enum FooterChild { Paragraph(Box), Table(Box), + StructuredDataTag(Box), } impl Serialize for FooterChild { @@ -58,6 +59,12 @@ impl Serialize for FooterChild { t.serialize_field("data", c)?; t.end() } + FooterChild::StructuredDataTag(ref r) => { + let mut t = serializer.serialize_struct("StructuredDataTag", 2)?; + t.serialize_field("type", "structuredDataTag")?; + t.serialize_field("data", r)?; + t.end() + } } } } @@ -71,6 +78,7 @@ impl BuildXML for Footer { match c { FooterChild::Paragraph(p) => b = b.add_child(p), FooterChild::Table(t) => b = b.add_child(t), + FooterChild::StructuredDataTag(t) => b = b.add_child(t), } } b.close().build() diff --git a/docx-core/src/documents/header.rs b/docx-core/src/documents/header.rs index 1f42423..9c1cc9e 100644 --- a/docx-core/src/documents/header.rs +++ b/docx-core/src/documents/header.rs @@ -32,12 +32,22 @@ impl Header { self.children.push(HeaderChild::Table(Box::new(t))); self } + + pub fn add_structured_data_tag(mut self, t: StructuredDataTag) -> Self { + if t.has_numbering { + self.has_numbering = true + } + self.children + .push(HeaderChild::StructuredDataTag(Box::new(t))); + self + } } #[derive(Debug, Clone, PartialEq)] pub enum HeaderChild { Paragraph(Box), Table(Box
), + StructuredDataTag(Box), } impl Serialize for HeaderChild { @@ -58,6 +68,12 @@ impl Serialize for HeaderChild { t.serialize_field("data", c)?; t.end() } + HeaderChild::StructuredDataTag(ref r) => { + let mut t = serializer.serialize_struct("StructuredDataTag", 2)?; + t.serialize_field("type", "structuredDataTag")?; + t.serialize_field("data", r)?; + t.end() + } } } } @@ -71,6 +87,7 @@ impl BuildXML for Header { match c { HeaderChild::Paragraph(p) => b = b.add_child(p), HeaderChild::Table(t) => b = b.add_child(t), + HeaderChild::StructuredDataTag(t) => b = b.add_child(t), } } b.close().build() diff --git a/docx-core/src/documents/mod.rs b/docx-core/src/documents/mod.rs index 5b5769e..e37d919 100644 --- a/docx-core/src/documents/mod.rs +++ b/docx-core/src/documents/mod.rs @@ -920,6 +920,26 @@ impl Docx { Some("header"), ); } + HeaderChild::StructuredDataTag(tag) => { + for child in tag.children.iter_mut() { + if let StructuredDataTagChild::Paragraph(paragraph) = child { + collect_images_from_paragraph( + paragraph, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + if let StructuredDataTagChild::Table(table) = child { + collect_images_from_table( + table, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + } + } } } header_images[0] = images; @@ -945,6 +965,26 @@ impl Docx { Some("header"), ); } + HeaderChild::StructuredDataTag(tag) => { + for child in tag.children.iter_mut() { + if let StructuredDataTagChild::Paragraph(paragraph) = child { + collect_images_from_paragraph( + paragraph, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + if let StructuredDataTagChild::Table(table) = child { + collect_images_from_table( + table, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + } + } } } header_images[1] = images; @@ -970,6 +1010,26 @@ impl Docx { Some("header"), ); } + HeaderChild::StructuredDataTag(tag) => { + for child in tag.children.iter_mut() { + if let StructuredDataTagChild::Paragraph(paragraph) = child { + collect_images_from_paragraph( + paragraph, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + if let StructuredDataTagChild::Table(table) = child { + collect_images_from_table( + table, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + } + } } } header_images[2] = images; @@ -1002,6 +1062,26 @@ impl Docx { Some("footer"), ); } + FooterChild::StructuredDataTag(tag) => { + for child in tag.children.iter_mut() { + if let StructuredDataTagChild::Paragraph(paragraph) = child { + collect_images_from_paragraph( + paragraph, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + if let StructuredDataTagChild::Table(table) = child { + collect_images_from_table( + table, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + } + } } } footer_images[0] = images; @@ -1027,6 +1107,26 @@ impl Docx { Some("footer"), ); } + FooterChild::StructuredDataTag(tag) => { + for child in tag.children.iter_mut() { + if let StructuredDataTagChild::Paragraph(paragraph) = child { + collect_images_from_paragraph( + paragraph, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + if let StructuredDataTagChild::Table(table) = child { + collect_images_from_table( + table, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + } + } } } footer_images[1] = images; @@ -1052,6 +1152,26 @@ impl Docx { Some("footer"), ); } + FooterChild::StructuredDataTag(tag) => { + for child in tag.children.iter_mut() { + if let StructuredDataTagChild::Paragraph(paragraph) = child { + collect_images_from_paragraph( + paragraph, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + if let StructuredDataTagChild::Table(table) = child { + collect_images_from_table( + table, + &mut images, + &mut image_bufs, + Some("header"), + ); + } + } + } } } footer_images[2] = images; diff --git a/docx-core/src/reader/footer.rs b/docx-core/src/reader/footer.rs index ac65c2f..465848c 100644 --- a/docx-core/src/reader/footer.rs +++ b/docx-core/src/reader/footer.rs @@ -19,13 +19,15 @@ impl FromXML for Footer { let e = XMLElement::from_str(&name.local_name).unwrap(); match e { XMLElement::Paragraph => { - let p = Paragraph::read(&mut parser, &attributes)?; - footer = footer.add_paragraph(p); + if let Ok(p) = Paragraph::read(&mut parser, &attributes) { + footer = footer.add_paragraph(p); + } continue; } XMLElement::Table => { - let t = Table::read(&mut parser, &attributes)?; - footer = footer.add_table(t); + if let Ok(t) = Table::read(&mut parser, &attributes) { + footer = footer.add_table(t); + } continue; } _ => {} diff --git a/docx-core/src/reader/header.rs b/docx-core/src/reader/header.rs index 29b891d..fca1998 100644 --- a/docx-core/src/reader/header.rs +++ b/docx-core/src/reader/header.rs @@ -19,13 +19,21 @@ impl FromXML for Header { let e = XMLElement::from_str(&name.local_name).unwrap(); match e { XMLElement::Paragraph => { - let p = Paragraph::read(&mut parser, &attributes)?; - header = header.add_paragraph(p); + if let Ok(p) = Paragraph::read(&mut parser, &attributes) { + header = header.add_paragraph(p); + } continue; } XMLElement::Table => { - let t = Table::read(&mut parser, &attributes)?; - header = header.add_table(t); + if let Ok(t) = Table::read(&mut parser, &attributes) { + header = header.add_table(t); + } + continue; + } + XMLElement::StructuredDataTag => { + if let Ok(tag) = StructuredDataTag::read(&mut parser, &attributes) { + header = header.add_structured_data_tag(tag); + } continue; } _ => {} diff --git a/docx-wasm/js/json/footer.ts b/docx-wasm/js/json/footer.ts index 52aefe8..adb6837 100644 --- a/docx-wasm/js/json/footer.ts +++ b/docx-wasm/js/json/footer.ts @@ -1,8 +1,9 @@ import { ParagraphJSON } from "./paragraph"; +import { StructuredTagJSON } from "./structured-data-tag"; import { TableJSON } from "./table"; export type FooterJSON = { - children: (ParagraphJSON | TableJSON)[]; + children: (ParagraphJSON | TableJSON | StructuredTagJSON)[]; }; export type FooterReferenceJSON = { diff --git a/docx-wasm/js/json/header.ts b/docx-wasm/js/json/header.ts index 213af05..9edcf33 100644 --- a/docx-wasm/js/json/header.ts +++ b/docx-wasm/js/json/header.ts @@ -1,8 +1,9 @@ import { ParagraphJSON } from "./paragraph"; +import { StructuredTagJSON } from "./structured-data-tag"; import { TableJSON } from "./table"; export type HeaderJSON = { - children: (ParagraphJSON | TableJSON)[]; + children: (ParagraphJSON | TableJSON | StructuredTagJSON)[]; }; export type HeaderReferenceJSON = { diff --git a/docx-wasm/test/__snapshots__/index.test.js.snap b/docx-wasm/test/__snapshots__/index.test.js.snap index 0937a7c..70d7a50 100644 --- a/docx-wasm/test/__snapshots__/index.test.js.snap +++ b/docx-wasm/test/__snapshots__/index.test.js.snap @@ -36064,6 +36064,4265 @@ Object { } `; +exports[`reader should read page num in header 1`] = ` +Object { + "comments": Object { + "comments": Array [], + }, + "commentsExtended": Object { + "children": Array [], + }, + "contentType": Object { + "custom_xml_count": 1, + "footer_count": 0, + "header_count": 2, + "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/header1.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml", + "/word/header2.xml": "application/vnd.openxmlformats-officedocument.wordprocessingml.header+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 { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": "Hello", + }, + "type": "text", + }, + ], + "runProperty": Object {}, + }, + "type": "run", + }, + ], + "hasNumbering": false, + "id": "62C7DD01", + "property": Object { + "runProperty": Object {}, + "style": "1", + "tabs": Array [], + }, + }, + "type": "paragraph", + }, + ], + "hasNumbering": false, + "sectionProperty": Object { + "columns": 1, + "docGrid": Object { + "charSpace": null, + "gridType": "lines", + "linePitch": 360, + }, + "evenHeader": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "dirty": false, + "fieldCharType": "begin", + }, + "type": "fieldChar", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": " PAGE ", + "type": "instrTextString", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "dirty": false, + "fieldCharType": "end", + }, + "type": "fieldChar", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + ], + "hasNumbering": false, + "id": "2948A9FC", + "property": Object { + "runProperty": Object { + "style": "ae", + }, + "style": "aa", + "tabs": Array [], + }, + }, + "type": "paragraph", + }, + ], + "hasNumbering": false, + "property": Object { + "alias": null, + "dataBinding": null, + "runProperty": Object {}, + }, + }, + "type": "structuredDataTag", + }, + Object { + "data": Object { + "children": Array [], + "hasNumbering": false, + "id": "4B2DDDB2", + "property": Object { + "indent": Object { + "end": 360, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": null, + }, + "runProperty": Object {}, + "style": "aa", + "tabs": Array [], + }, + }, + "type": "paragraph", + }, + ], + "hasNumbering": false, + }, + "evenHeaderReference": Object { + "headerType": "even", + "id": "rId8", + }, + "header": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "dirty": false, + "fieldCharType": "begin", + }, + "type": "fieldChar", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": " PAGE ", + "type": "instrTextString", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "dirty": false, + "fieldCharType": "separate", + }, + "type": "fieldChar", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "preserveSpace": true, + "text": "1", + }, + "type": "text", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + Object { + "data": Object { + "children": Array [ + Object { + "data": Object { + "dirty": false, + "fieldCharType": "end", + }, + "type": "fieldChar", + }, + ], + "runProperty": Object { + "style": "ae", + }, + }, + "type": "run", + }, + ], + "hasNumbering": false, + "id": "66B15C28", + "property": Object { + "runProperty": Object { + "style": "ae", + }, + "style": "aa", + "tabs": Array [], + }, + }, + "type": "paragraph", + }, + ], + "hasNumbering": false, + "property": Object { + "alias": null, + "dataBinding": null, + "runProperty": Object {}, + }, + }, + "type": "structuredDataTag", + }, + Object { + "data": Object { + "children": Array [], + "hasNumbering": false, + "id": "1FD2B3C6", + "property": Object { + "indent": Object { + "end": 360, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": null, + }, + "runProperty": Object {}, + "style": "aa", + "tabs": Array [], + }, + }, + "type": "paragraph", + }, + ], + "hasNumbering": false, + }, + "headerReference": Object { + "headerType": "default", + "id": "rId9", + }, + "pageMargin": Object { + "bottom": 1701, + "footer": 992, + "gutter": 0, + "header": 851, + "left": 1701, + "right": 1701, + "top": 1985, + }, + "pageSize": Object { + "h": 16838, + "orient": null, + "w": 11906, + }, + "space": 425, + "textDirection": "lrTb", + "titlePg": false, + }, + }, + "documentRels": Object { + "customXmlCount": 0, + "footerCount": 0, + "hasComments": false, + "hasNumberings": false, + "headerCount": 2, + "hyperlinks": Array [], + "images": Array [], + }, + "fontTable": Object {}, + "hyperlinks": Array [], + "images": Array [], + "media": Array [], + "numberings": Object { + "abstractNums": Array [ + Object { + "id": 0, + "levels": Array [ + Object { + "format": "decimalFullWidth", + "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": "1", + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "第%1章", + }, + Object { + "format": "decimalFullWidth", + "jc": "left", + "level": 1, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 426, + }, + "start": 851, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "2", + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "第%2節", + }, + Object { + "format": "decimalFullWidth", + "jc": "left", + "level": 2, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 1276, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "3", + "runProperty": Object {}, + "start": 1, + "suffix": "tab", + "text": "第%3項", + }, + Object { + "format": "none", + "jc": "left", + "level": 3, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 1701, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "4", + "runProperty": Object {}, + "start": 1, + "suffix": "nothing", + "text": "", + }, + Object { + "format": "none", + "jc": "left", + "level": 4, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 2126, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "5", + "runProperty": Object {}, + "start": 1, + "suffix": "nothing", + "text": "", + }, + Object { + "format": "none", + "jc": "left", + "level": 5, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 2551, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "6", + "runProperty": Object {}, + "start": 1, + "suffix": "nothing", + "text": "", + }, + Object { + "format": "none", + "jc": "left", + "level": 6, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 2976, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "7", + "runProperty": Object {}, + "start": 1, + "suffix": "nothing", + "text": "", + }, + Object { + "format": "none", + "jc": "left", + "level": 7, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 426, + }, + "start": 3402, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "8", + "runProperty": Object {}, + "start": 1, + "suffix": "nothing", + "text": "", + }, + Object { + "format": "none", + "jc": "left", + "level": 8, + "levelRestart": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": Object { + "type": "hanging", + "val": 425, + }, + "start": 3827, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "pstyle": "9", + "runProperty": Object {}, + "start": 1, + "suffix": "nothing", + "text": "", + }, + ], + "numStyleLink": null, + "styleLink": null, + }, + ], + "numberings": Array [ + Object { + "abstractNumId": 0, + "id": 1, + "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 { + "adjustLineHeightInTable": true, + "characterSpacingControl": "compressPunctuation", + "defaultTabStop": 840, + "docId": "7023BE11-0D65-FC44-ACCF-09DAF78EBAA8", + "docVars": Array [], + "evenAndOddHeaders": false, + "zoom": 100, + }, + "styles": Object { + "docDefaults": Object { + "paragraphPropertyDefault": Object { + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + }, + "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", + "next": null, + "paragraphProperty": Object { + "alignment": "both", + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "10", + "name": "heading 1", + "next": null, + "paragraphProperty": Object { + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 80, + "before": 280, + }, + "numberingProperty": Object { + "id": 1, + "level": null, + }, + "outlineLvl": 0, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 32, + "szCs": 32, + }, + "styleId": "1", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "20", + "name": "heading 2", + "next": null, + "paragraphProperty": Object { + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 80, + "before": 160, + }, + "numberingProperty": Object { + "id": 1, + "level": 1, + }, + "outlineLvl": 1, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 28, + "szCs": 28, + }, + "styleId": "2", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "30", + "name": "heading 3", + "next": null, + "paragraphProperty": Object { + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 80, + "before": 160, + }, + "numberingProperty": Object { + "id": 1, + "level": 2, + }, + "outlineLvl": 2, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 24, + "szCs": 24, + }, + "styleId": "3", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "40", + "name": "heading 4", + "next": null, + "paragraphProperty": Object { + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 40, + "before": 80, + }, + "numberingProperty": Object { + "id": 1, + "level": 3, + }, + "outlineLvl": 3, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "4", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "50", + "name": "heading 5", + "next": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": 100, + }, + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 40, + "before": 80, + }, + "numberingProperty": Object { + "id": 1, + "level": 4, + }, + "outlineLvl": 4, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "5", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "60", + "name": "heading 6", + "next": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": 200, + }, + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 40, + "before": 80, + }, + "numberingProperty": Object { + "id": 1, + "level": 5, + }, + "outlineLvl": 5, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "6", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "70", + "name": "heading 7", + "next": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": 300, + }, + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 40, + "before": 80, + }, + "numberingProperty": Object { + "id": 1, + "level": 6, + }, + "outlineLvl": 6, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "7", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "80", + "name": "heading 8", + "next": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": 400, + }, + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 40, + "before": 80, + }, + "numberingProperty": Object { + "id": 1, + "level": 7, + }, + "outlineLvl": 7, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "8", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "90", + "name": "heading 9", + "next": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": null, + "startChars": 500, + }, + "keepLines": true, + "keepNext": true, + "lineSpacing": Object { + "after": 40, + "before": 80, + }, + "numberingProperty": Object { + "id": 1, + "level": 8, + }, + "outlineLvl": 8, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "9", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "Default Paragraph Font", + "next": null, + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "Normal Table", + "next": null, + "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, + }, + "justification": "left", + "margins": Object { + "bottom": Object { + "val": 0, + "widthType": "dxa", + }, + "left": Object { + "val": 108, + "widthType": "dxa", + }, + "right": Object { + "val": 108, + "widthType": "dxa", + }, + "top": Object { + "val": 0, + "widthType": "dxa", + }, + }, + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": null, + "name": "No List", + "next": null, + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "1", + "name": "見出し 1 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 32, + "szCs": 32, + }, + "styleId": "10", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "2", + "name": "見出し 2 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 28, + "szCs": 28, + }, + "styleId": "20", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "3", + "name": "見出し 3 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 24, + "szCs": 24, + }, + "styleId": "30", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "4", + "name": "見出し 4 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "40", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "5", + "name": "見出し 5 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "50", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "6", + "name": "見出し 6 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "60", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "7", + "name": "見出し 7 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "70", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "8", + "name": "見出し 8 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "80", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "9", + "name": "見出し 9 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "000000", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + }, + "styleId": "90", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "a4", + "name": "Title", + "next": null, + "paragraphProperty": Object { + "alignment": "center", + "lineSpacing": Object { + "after": 80, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "characterSpacing": -10, + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 56, + "szCs": 56, + }, + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "a3", + "name": "表題 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "characterSpacing": -10, + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 56, + "szCs": 56, + }, + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "a6", + "name": "Subtitle", + "next": null, + "paragraphProperty": Object { + "alignment": "center", + "lineSpacing": Object { + "after": 160, + }, + "numberingProperty": Object { + "id": null, + "level": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "characterSpacing": 15, + "color": "595959", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 28, + "szCs": 28, + }, + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "a5", + "name": "副題 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "characterSpacing": 15, + "color": "595959", + "fonts": Object { + "asciiTheme": "majorHAnsi", + "csTheme": "majorBidi", + "eastAsiaTheme": "majorEastAsia", + "hiAnsiTheme": "majorHAnsi", + }, + "sz": 28, + "szCs": 28, + }, + "styleId": "a6", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "a8", + "name": "Quote", + "next": null, + "paragraphProperty": Object { + "alignment": "center", + "lineSpacing": Object { + "after": 160, + "before": 160, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "404040", + "italic": true, + "italicCs": true, + }, + "styleId": "a7", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "a7", + "name": "引用文 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "404040", + "italic": true, + "italicCs": true, + }, + "styleId": "a8", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "name": "List Paragraph", + "next": null, + "paragraphProperty": Object { + "indent": Object { + "end": null, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": 720, + "startChars": null, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "a9", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "name": "Intense Emphasis", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "0F4761", + "italic": true, + "italicCs": true, + }, + "styleId": "21", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "23", + "name": "Intense Quote", + "next": null, + "paragraphProperty": Object { + "alignment": "center", + "indent": Object { + "end": 864, + "firstLineChars": null, + "hangingChars": null, + "specialIndent": null, + "start": 864, + "startChars": null, + }, + "lineSpacing": Object { + "after": 360, + "before": 360, + }, + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "0F4761", + "italic": true, + "italicCs": true, + }, + "styleId": "22", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "22", + "name": "引用文 2 (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "color": "0F4761", + "italic": true, + "italicCs": true, + }, + "styleId": "23", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "name": "Intense Reference", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object { + "bold": true, + "boldCs": true, + "characterSpacing": 5, + "color": "0F4761", + }, + "styleId": "24", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "ab", + "name": "header", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [ + Object { + "leader": null, + "pos": 4252, + "val": "center", + }, + Object { + "leader": null, + "pos": 8504, + "val": "right", + }, + ], + }, + "runProperty": Object {}, + "styleId": "aa", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "aa", + "name": "ヘッダー (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "ab", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a", + "link": "ad", + "name": "footer", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [ + Object { + "leader": null, + "pos": 4252, + "val": "center", + }, + Object { + "leader": null, + "pos": 8504, + "val": "right", + }, + ], + }, + "runProperty": Object {}, + "styleId": "ac", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "link": "ac", + "name": "フッター (文字)", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "ad", + "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, + }, + }, + "justification": "left", + "width": Object { + "width": 0, + "widthType": "auto", + }, + }, + }, + Object { + "basedOn": "a0", + "name": "page number", + "next": null, + "paragraphProperty": Object { + "runProperty": Object {}, + "tabs": Array [], + }, + "runProperty": Object {}, + "styleId": "ae", + "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, + }, + }, + "justification": "left", + "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 paragraph property change docx 1`] = ` Object { "comments": Object { diff --git a/docx-wasm/test/index.test.js b/docx-wasm/test/index.test.js index 9b740af..a537090 100644 --- a/docx-wasm/test/index.test.js +++ b/docx-wasm/test/index.test.js @@ -206,6 +206,14 @@ describe("reader", () => { const json = w.readDocx(buffer); expect(json).toMatchSnapshot(); }); + + test("should read page num in header", () => { + const buffer = readFileSync( + "../fixtures/page_num_in_header/page_num_in_header.docx" + ); + const json = w.readDocx(buffer); + expect(json).toMatchSnapshot(); + }); }); describe("writer", () => { diff --git a/fixtures/page_num_in_header/page_num_in_header.docx b/fixtures/page_num_in_header/page_num_in_header.docx new file mode 100644 index 0000000..6b5a9bf Binary files /dev/null and b/fixtures/page_num_in_header/page_num_in_header.docx differ