7 lines
15 KiB
Plaintext
7 lines
15 KiB
Plaintext
---
|
|
source: docx-core/tests/reader.rs
|
|
assertion_line: 150
|
|
expression: "&json"
|
|
---
|
|
"{\n \"contentType\": {\n \"types\": {\n \"/_rels/.rels\": \"application/vnd.openxmlformats-package.relationships+xml\",\n \"/docProps/app.xml\": \"application/vnd.openxmlformats-officedocument.extended-properties+xml\",\n \"/docProps/core.xml\": \"application/vnd.openxmlformats-package.core-properties+xml\",\n \"/docProps/custom.xml\": \"application/vnd.openxmlformats-officedocument.custom-properties+xml\",\n \"/word/_rels/document.xml.rels\": \"application/vnd.openxmlformats-package.relationships+xml\",\n \"/word/comments.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\",\n \"/word/commentsExtended.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml\",\n \"/word/document.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\",\n \"/word/fontTable.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml\",\n \"/word/numbering.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\",\n \"/word/settings.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\",\n \"/word/styles.xml\": \"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\"\n },\n \"web_extension_count\": 1,\n \"custom_xml_count\": 1,\n \"header_count\": 0,\n \"footer_count\": 0\n },\n \"rels\": {\n \"rels\": [\n [\n \"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\",\n \"rId1\",\n \"docProps/core.xml\"\n ],\n [\n \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties\",\n \"rId2\",\n \"docProps/app.xml\"\n ],\n [\n \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\",\n \"rId3\",\n \"word/document.xml\"\n ],\n [\n \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties\",\n \"rId4\",\n \"docProps/custom.xml\"\n ]\n ]\n },\n \"documentRels\": {\n \"hasComments\": false,\n \"hasNumberings\": false,\n \"imageIds\": [],\n \"customXmlCount\": 0,\n \"headerCount\": 0,\n \"footerCount\": 0\n },\n \"docProps\": {\n \"app\": {},\n \"core\": {\n \"config\": {\n \"created\": null,\n \"creator\": null,\n \"description\": null,\n \"language\": null,\n \"lastModifiedBy\": null,\n \"modified\": null,\n \"revision\": null,\n \"subject\": null,\n \"title\": null\n }\n },\n \"custom\": {\n \"properties\": {}\n }\n },\n \"styles\": {\n \"docDefaults\": {\n \"runPropertyDefault\": {\n \"runProperty\": {\n \"sz\": 21,\n \"szCs\": 21,\n \"fonts\": {\n \"ascii_theme\": \"minorHAnsi\",\n \"hi_ansi_theme\": \"minorHAnsi\",\n \"east_asia_theme\": \"minorEastAsia\",\n \"cs_theme\": \"minorBidi\"\n }\n }\n }\n },\n \"styles\": [\n {\n \"styleId\": \"Normal\",\n \"name\": \"Normal\",\n \"styleType\": \"paragraph\",\n \"runProperty\": {},\n \"paragraphProperty\": {\n \"runProperty\": {},\n \"alignment\": \"both\",\n \"tabs\": []\n },\n \"tableProperty\": {\n \"width\": {\n \"width\": 0,\n \"widthType\": \"Auto\"\n },\n \"justification\": \"left\",\n \"borders\": {\n \"top\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"top\",\n \"space\": 0\n },\n \"left\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"left\",\n \"space\": 0\n },\n \"bottom\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"bottom\",\n \"space\": 0\n },\n \"right\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"right\",\n \"space\": 0\n },\n \"insideH\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"insideH\",\n \"space\": 0\n },\n \"insideV\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"insideV\",\n \"space\": 0\n }\n },\n \"margins\": {\n \"top\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"left\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n },\n \"bottom\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"right\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n }\n },\n \"indent\": null,\n \"style\": null,\n \"layout\": null\n },\n \"tableCellProperty\": {\n \"width\": null,\n \"borders\": null,\n \"gridSpan\": null,\n \"verticalMerge\": null,\n \"verticalAlign\": null,\n \"textDirection\": null,\n \"shading\": null\n },\n \"basedOn\": null\n },\n {\n \"styleId\": \"DefaultParagraphFont\",\n \"name\": \"Default Paragraph Font\",\n \"styleType\": \"character\",\n \"runProperty\": {},\n \"paragraphProperty\": {\n \"runProperty\": {},\n \"tabs\": []\n },\n \"tableProperty\": {\n \"width\": {\n \"width\": 0,\n \"widthType\": \"Auto\"\n },\n \"justification\": \"left\",\n \"borders\": {\n \"top\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"top\",\n \"space\": 0\n },\n \"left\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"left\",\n \"space\": 0\n },\n \"bottom\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"bottom\",\n \"space\": 0\n },\n \"right\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"right\",\n \"space\": 0\n },\n \"insideH\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"insideH\",\n \"space\": 0\n },\n \"insideV\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"insideV\",\n \"space\": 0\n }\n },\n \"margins\": {\n \"top\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"left\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n },\n \"bottom\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"right\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n }\n },\n \"indent\": null,\n \"style\": null,\n \"layout\": null\n },\n \"tableCellProperty\": {\n \"width\": null,\n \"borders\": null,\n \"gridSpan\": null,\n \"verticalMerge\": null,\n \"verticalAlign\": null,\n \"textDirection\": null,\n \"shading\": null\n },\n \"basedOn\": null\n },\n {\n \"styleId\": \"TableNormal\",\n \"name\": \"Normal Table\",\n \"styleType\": \"table\",\n \"runProperty\": {},\n \"paragraphProperty\": {\n \"runProperty\": {},\n \"tabs\": []\n },\n \"tableProperty\": {\n \"width\": {\n \"width\": 0,\n \"widthType\": \"Auto\"\n },\n \"justification\": \"left\",\n \"borders\": {\n \"top\": null,\n \"left\": null,\n \"bottom\": null,\n \"right\": null,\n \"insideH\": null,\n \"insideV\": null\n },\n \"margins\": {\n \"top\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"left\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n },\n \"bottom\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"right\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n }\n },\n \"indent\": null,\n \"style\": null,\n \"layout\": null\n },\n \"tableCellProperty\": {\n \"width\": null,\n \"borders\": null,\n \"gridSpan\": null,\n \"verticalMerge\": null,\n \"verticalAlign\": null,\n \"textDirection\": null,\n \"shading\": null\n },\n \"basedOn\": null\n },\n {\n \"styleId\": \"NoList\",\n \"name\": \"No List\",\n \"styleType\": \"numbering\",\n \"runProperty\": {},\n \"paragraphProperty\": {\n \"runProperty\": {},\n \"tabs\": []\n },\n \"tableProperty\": {\n \"width\": {\n \"width\": 0,\n \"widthType\": \"Auto\"\n },\n \"justification\": \"left\",\n \"borders\": {\n \"top\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"top\",\n \"space\": 0\n },\n \"left\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"left\",\n \"space\": 0\n },\n \"bottom\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"bottom\",\n \"space\": 0\n },\n \"right\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"right\",\n \"space\": 0\n },\n \"insideH\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"insideH\",\n \"space\": 0\n },\n \"insideV\": {\n \"borderType\": \"single\",\n \"size\": 2,\n \"color\": \"000000\",\n \"position\": \"insideV\",\n \"space\": 0\n }\n },\n \"margins\": {\n \"top\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"left\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n },\n \"bottom\": {\n \"val\": 0,\n \"widthType\": \"DXA\"\n },\n \"right\": {\n \"val\": 55,\n \"widthType\": \"DXA\"\n }\n },\n \"indent\": null,\n \"style\": null,\n \"layout\": null\n },\n \"tableCellProperty\": {\n \"width\": null,\n \"borders\": null,\n \"gridSpan\": null,\n \"verticalMerge\": null,\n \"verticalAlign\": null,\n \"textDirection\": null,\n \"shading\": null\n },\n \"basedOn\": null\n }\n ]\n },\n \"document\": {\n \"children\": [\n {\n \"type\": \"paragraph\",\n \"data\": {\n \"id\": \"5BADD4ED\",\n \"children\": [\n {\n \"type\": \"bookmarkStart\",\n \"data\": {\n \"id\": 0,\n \"name\": \"_GoBack\"\n }\n },\n {\n \"type\": \"bookmarkEnd\",\n \"data\": {\n \"id\": 0\n }\n },\n {\n \"type\": \"run\",\n \"data\": {\n \"runProperty\": {},\n \"children\": [\n {\n \"type\": \"text\",\n \"data\": {\n \"preserveSpace\": true,\n \"text\": \"Hello\"\n }\n }\n ]\n }\n }\n ],\n \"property\": {\n \"runProperty\": {},\n \"tabs\": []\n },\n \"hasNumbering\": false\n }\n }\n ],\n \"sectionProperty\": {\n \"pageSize\": {\n \"w\": 11906,\n \"h\": 16838,\n \"orient\": null\n },\n \"pageMargin\": {\n \"top\": 1440,\n \"left\": 1440,\n \"bottom\": 1440,\n \"right\": 1440,\n \"header\": 720,\n \"footer\": 720,\n \"gutter\": 0\n },\n \"columns\": 425,\n \"titlePg\": false,\n \"docGrid\": {\n \"gridType\": \"lines\",\n \"linePitch\": 360,\n \"charSpace\": null\n }\n },\n \"hasNumbering\": false\n },\n \"comments\": {\n \"comments\": []\n },\n \"numberings\": {\n \"abstractNums\": [],\n \"numberings\": []\n },\n \"settings\": {\n \"defaultTabStop\": 840,\n \"zoom\": 100,\n \"docId\": \"58f67304-63b1-4505-b4ba-0c1a55a3ad31\",\n \"docVars\": [],\n \"evenAndOddHeaders\": false\n },\n \"fontTable\": {},\n \"media\": [],\n \"commentsExtended\": {\n \"children\": []\n },\n \"webSettings\": {\n \"divs\": []\n },\n \"taskpanes\": null,\n \"taskpanesRels\": {\n \"rels\": []\n },\n \"webExtensions\": [],\n \"customItems\": [],\n \"customItemProps\": [],\n \"customItemRels\": []\n}"
|