[{"data":1,"prerenderedAt":2149},["ShallowReactive",2],{"navigation_docs_en":3,"-en-docx-parsing":335,"-en-docx-parsing-surround":2144},[4,31,61,91,175,256],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[10,14,18,22,26],{"title":11,"path":12,"stem":13},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"Command Line Interface (CLI)","\u002Fen\u002Fgetting-started\u002Fcommand-line-interface","en\u002F01.getting-started\u002F03.command-line-interface",{"title":23,"path":24,"stem":25},"AI Tools","\u002Fen\u002Fgetting-started\u002Fai-tools","en\u002F01.getting-started\u002F04.ai-tools",{"title":27,"path":28,"stem":29},"AI Integration","\u002Fen\u002Fgetting-started\u002Fai-integration","en\u002F01.getting-started\u002F05.ai-integration",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"CORE","i-lucide-box","\u002Fen\u002Fcore","en\u002F02.core",[37,41,45,49,53,57],{"title":38,"path":39,"stem":40},"@office-open\u002Fcore","\u002Fen\u002Fcore\u002Foverview","en\u002F02.core\u002F01.overview",{"title":42,"path":43,"stem":44},"Descriptor System","\u002Fen\u002Fcore\u002Fdescriptors","en\u002F02.core\u002F02.descriptors",{"title":46,"path":47,"stem":48},"Values and Validation","\u002Fen\u002Fcore\u002Fvalues","en\u002F02.core\u002F03.values",{"title":50,"path":51,"stem":52},"Unit Converters","\u002Fen\u002Fcore\u002Fconverters","en\u002F02.core\u002F04.converters",{"title":54,"path":55,"stem":56},"Charts","\u002Fen\u002Fcore\u002Fcharts","en\u002F02.core\u002F05.charts",{"title":58,"path":59,"stem":60},"Parser","\u002Fen\u002Fcore\u002Fparser","en\u002F02.core\u002F06.parser",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":30},"XML","i-lucide-code-xml","\u002Fen\u002Fxml","en\u002F03.xml",[67,71,75,79,83,87],{"title":68,"path":69,"stem":70},"@office-open\u002Fxml","\u002Fen\u002Fxml\u002Foverview","en\u002F03.xml\u002F01.overview",{"title":72,"path":73,"stem":74},"Parsing","\u002Fen\u002Fxml\u002Fparsing","en\u002F03.xml\u002F02.parsing",{"title":76,"path":77,"stem":78},"Serialization","\u002Fen\u002Fxml\u002Fserialization","en\u002F03.xml\u002F03.serialization",{"title":80,"path":81,"stem":82},"Query Utilities","\u002Fen\u002Fxml\u002Fquery-utilities","en\u002F03.xml\u002F04.query-utilities",{"title":84,"path":85,"stem":86},"XML Escape","\u002Fen\u002Fxml\u002Fescape","en\u002F03.xml\u002F05.escape",{"title":88,"path":89,"stem":90},"Type Reference","\u002Fen\u002Fxml\u002Ftypes","en\u002F03.xml\u002F06.types",{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":30},"DOCX","i-lucide-file-text","\u002Fen\u002Fdocx","en\u002F04.docx",[97,101,105,109,113,117,121,124,128,132,136,140,144,148,152,156,160,164,168,171],{"title":98,"path":99,"stem":100},"@office-open\u002Fdocx","\u002Fen\u002Fdocx\u002Foverview","en\u002F04.docx\u002F01.overview",{"title":102,"path":103,"stem":104},"Quick Start","\u002Fen\u002Fdocx\u002Fquickstart","en\u002F04.docx\u002F02.quickstart",{"title":106,"path":107,"stem":108},"Text and Paragraphs","\u002Fen\u002Fdocx\u002Ftext-and-paragraphs","en\u002F04.docx\u002F03.text-and-paragraphs",{"title":110,"path":111,"stem":112},"Tables","\u002Fen\u002Fdocx\u002Ftables","en\u002F04.docx\u002F04.tables",{"title":114,"path":115,"stem":116},"Images","\u002Fen\u002Fdocx\u002Fimages","en\u002F04.docx\u002F05.images",{"title":118,"path":119,"stem":120},"Text Boxes","\u002Fen\u002Fdocx\u002Ftextbox","en\u002F04.docx\u002F06.textbox",{"title":54,"path":122,"stem":123},"\u002Fen\u002Fdocx\u002Fcharts","en\u002F04.docx\u002F07.charts",{"title":125,"path":126,"stem":127},"SmartArt","\u002Fen\u002Fdocx\u002Fsmartart","en\u002F04.docx\u002F08.smartart",{"title":129,"path":130,"stem":131},"Media","\u002Fen\u002Fdocx\u002Fmedia","en\u002F04.docx\u002F09.media",{"title":133,"path":134,"stem":135},"Links","\u002Fen\u002Fdocx\u002Flinks","en\u002F04.docx\u002F10.links",{"title":137,"path":138,"stem":139},"Headers and Footers","\u002Fen\u002Fdocx\u002Fheaders-and-footers","en\u002F04.docx\u002F11.headers-and-footers",{"title":141,"path":142,"stem":143},"Equations and Symbols","\u002Fen\u002Fdocx\u002Fequations-and-symbols","en\u002F04.docx\u002F12.equations-and-symbols",{"title":145,"path":146,"stem":147},"Styles and Themes","\u002Fen\u002Fdocx\u002Fstyles-and-themes","en\u002F04.docx\u002F13.styles-and-themes",{"title":149,"path":150,"stem":151},"Page Layout","\u002Fen\u002Fdocx\u002Fpage-layout","en\u002F04.docx\u002F14.page-layout",{"title":153,"path":154,"stem":155},"References","\u002Fen\u002Fdocx\u002Freferences","en\u002F04.docx\u002F15.references",{"title":157,"path":158,"stem":159},"Comments and Revisions","\u002Fen\u002Fdocx\u002Fcomments-and-revisions","en\u002F04.docx\u002F16.comments-and-revisions",{"title":161,"path":162,"stem":163},"Document Properties","\u002Fen\u002Fdocx\u002Fproperties","en\u002F04.docx\u002F17.properties",{"title":165,"path":166,"stem":167},"Export","\u002Fen\u002Fdocx\u002Fexport","en\u002F04.docx\u002F18.export",{"title":72,"path":169,"stem":170},"\u002Fen\u002Fdocx\u002Fparsing","en\u002F04.docx\u002F19.parsing",{"title":172,"path":173,"stem":174},"Patching","\u002Fen\u002Fdocx\u002Fpatch","en\u002F04.docx\u002F20.patch",{"title":176,"icon":177,"path":178,"stem":179,"children":180,"page":30},"PPTX","i-lucide-presentation","\u002Fen\u002Fpptx","en\u002F05.pptx",[181,185,188,192,195,198,201,204,207,210,214,217,220,224,227,231,235,239,243,247,250,253],{"title":182,"path":183,"stem":184},"@office-open\u002Fpptx","\u002Fen\u002Fpptx\u002Foverview","en\u002F05.pptx\u002F01.overview",{"title":102,"path":186,"stem":187},"\u002Fen\u002Fpptx\u002Fquickstart","en\u002F05.pptx\u002F02.quickstart",{"title":189,"path":190,"stem":191},"Shapes and Text","\u002Fen\u002Fpptx\u002Fshapes-and-text","en\u002F05.pptx\u002F03.shapes-and-text",{"title":110,"path":193,"stem":194},"\u002Fen\u002Fpptx\u002Ftables","en\u002F05.pptx\u002F04.tables",{"title":114,"path":196,"stem":197},"\u002Fen\u002Fpptx\u002Fimages","en\u002F05.pptx\u002F05.images",{"title":54,"path":199,"stem":200},"\u002Fen\u002Fpptx\u002Fcharts","en\u002F05.pptx\u002F06.charts",{"title":125,"path":202,"stem":203},"\u002Fen\u002Fpptx\u002Fsmartart","en\u002F05.pptx\u002F07.smartart",{"title":129,"path":205,"stem":206},"\u002Fen\u002Fpptx\u002Fmedia","en\u002F05.pptx\u002F08.media",{"title":133,"path":208,"stem":209},"\u002Fen\u002Fpptx\u002Flinks","en\u002F05.pptx\u002F09.links",{"title":211,"path":212,"stem":213},"Lines and Connectors","\u002Fen\u002Fpptx\u002Flines-and-connectors","en\u002F05.pptx\u002F10.lines-and-connectors",{"title":137,"path":215,"stem":216},"\u002Fen\u002Fpptx\u002Fheaders-and-footers","en\u002F05.pptx\u002F11.headers-and-footers",{"title":141,"path":218,"stem":219},"\u002Fen\u002Fpptx\u002Fequations-and-symbols","en\u002F05.pptx\u002F12.equations-and-symbols",{"title":221,"path":222,"stem":223},"Slide Layout","\u002Fen\u002Fpptx\u002Fslide-layout","en\u002F05.pptx\u002F13.slide-layout",{"title":145,"path":225,"stem":226},"\u002Fen\u002Fpptx\u002Fstyles-and-themes","en\u002F05.pptx\u002F14.styles-and-themes",{"title":228,"path":229,"stem":230},"Effects and Fills","\u002Fen\u002Fpptx\u002Feffects-and-fills","en\u002F05.pptx\u002F15.effects-and-fills",{"title":232,"path":233,"stem":234},"Transitions","\u002Fen\u002Fpptx\u002Ftransitions","en\u002F05.pptx\u002F16.transitions",{"title":236,"path":237,"stem":238},"Animations","\u002Fen\u002Fpptx\u002Fanimations","en\u002F05.pptx\u002F17.animations",{"title":240,"path":241,"stem":242},"Comments","\u002Fen\u002Fpptx\u002Fcomments","en\u002F05.pptx\u002F18.comments",{"title":244,"path":245,"stem":246},"Presentation Properties","\u002Fen\u002Fpptx\u002Fproperties","en\u002F05.pptx\u002F19.properties",{"title":165,"path":248,"stem":249},"\u002Fen\u002Fpptx\u002Fexport","en\u002F05.pptx\u002F20.export",{"title":72,"path":251,"stem":252},"\u002Fen\u002Fpptx\u002Fparsing","en\u002F05.pptx\u002F21.parsing",{"title":172,"path":254,"stem":255},"\u002Fen\u002Fpptx\u002Fpatch","en\u002F05.pptx\u002F22.patch",{"title":257,"icon":258,"path":259,"stem":260,"children":261,"page":30},"XLSX","i-lucide-table-2","\u002Fen\u002Fxlsx","en\u002F06.xlsx",[262,266,269,273,277,281,285,289,292,295,299,303,307,311,314,318,322,326,329,332],{"title":263,"path":264,"stem":265},"@office-open\u002Fxlsx","\u002Fen\u002Fxlsx\u002Foverview","en\u002F06.xlsx\u002F01.overview",{"title":102,"path":267,"stem":268},"\u002Fen\u002Fxlsx\u002Fquickstart","en\u002F06.xlsx\u002F02.quickstart",{"title":270,"path":271,"stem":272},"Cells & Data","\u002Fen\u002Fxlsx\u002Fcells","en\u002F06.xlsx\u002F03.cells",{"title":274,"path":275,"stem":276},"Styles","\u002Fen\u002Fxlsx\u002Fstyles","en\u002F06.xlsx\u002F04.styles",{"title":278,"path":279,"stem":280},"Merge, Columns & Rows","\u002Fen\u002Fxlsx\u002Fmerge-col-row","en\u002F06.xlsx\u002F05.merge-col-row",{"title":282,"path":283,"stem":284},"Hyperlinks","\u002Fen\u002Fxlsx\u002Flinks","en\u002F06.xlsx\u002F06.links",{"title":286,"path":287,"stem":288},"Pivot Tables","\u002Fen\u002Fxlsx\u002Fpivot-tables","en\u002F06.xlsx\u002F07.pivot-tables",{"title":114,"path":290,"stem":291},"\u002Fen\u002Fxlsx\u002Fimages","en\u002F06.xlsx\u002F08.images",{"title":54,"path":293,"stem":294},"\u002Fen\u002Fxlsx\u002Fcharts","en\u002F06.xlsx\u002F09.charts",{"title":296,"path":297,"stem":298},"Page Setup & Headers\u002FFooters","\u002Fen\u002Fxlsx\u002Fpage-setup","en\u002F06.xlsx\u002F10.page-setup",{"title":300,"path":301,"stem":302},"Formulas","\u002Fen\u002Fxlsx\u002Fformulas","en\u002F06.xlsx\u002F11.formulas",{"title":304,"path":305,"stem":306},"Freeze Panes & Auto Filter","\u002Fen\u002Fxlsx\u002Ffreeze-filter","en\u002F06.xlsx\u002F12.freeze-filter",{"title":308,"path":309,"stem":310},"Data Validation","\u002Fen\u002Fxlsx\u002Fvalidation","en\u002F06.xlsx\u002F13.validation",{"title":240,"path":312,"stem":313},"\u002Fen\u002Fxlsx\u002Fcomments","en\u002F06.xlsx\u002F14.comments",{"title":315,"path":316,"stem":317},"Protection","\u002Fen\u002Fxlsx\u002Fprotection","en\u002F06.xlsx\u002F15.protection",{"title":319,"path":320,"stem":321},"Shared Workbook Revisions","\u002Fen\u002Fxlsx\u002Frevisions","en\u002F06.xlsx\u002F16.revisions",{"title":323,"path":324,"stem":325},"Workbook Properties","\u002Fen\u002Fxlsx\u002Fproperties","en\u002F06.xlsx\u002F17.properties",{"title":165,"path":327,"stem":328},"\u002Fen\u002Fxlsx\u002Fexport","en\u002F06.xlsx\u002F18.export",{"title":72,"path":330,"stem":331},"\u002Fen\u002Fxlsx\u002Fparsing","en\u002F06.xlsx\u002F19.parsing",{"title":172,"path":333,"stem":334},"\u002Fen\u002Fxlsx\u002Fpatch","en\u002F06.xlsx\u002F20.patch",{"id":336,"title":72,"body":337,"description":2138,"extension":2139,"links":2140,"meta":2141,"navigation":493,"path":169,"seo":2142,"stem":170,"__hash__":2143},"docs_en\u002Fen\u002F04.docx\u002F19.parsing.md",{"type":338,"value":339,"toc":2127},"minimark",[340,344,373,394,399,415,569,572,846,851,1088,1092,1095,1380,1383,1387,1395,1582,1586,1593,1710,1714,1935,1939,1948,2081,2085,2123],[341,342,343],"p",{},"The library provides two levels of parsing API:",[345,346,347,361],"ul",{},[348,349,350,357,358],"li",{},[351,352,353],"strong",{},[354,355,356],"code",{},"parseDocument"," — High-level round-trip API that returns ",[354,359,360],{},"DocumentOptions",[348,362,363,368,369,372],{},[351,364,365],{},[354,366,367],{},"parseDocx"," — Low-level access to the raw XML parts of a ",[354,370,371],{},".docx"," file",[341,374,375,376,379,380,383,384,383,387,383,390,393],{},"Both functions accept any ",[354,377,378],{},"DataType"," input: ",[354,381,382],{},"Uint8Array",", ",[354,385,386],{},"ArrayBuffer",[354,388,389],{},"DataView",[354,391,392],{},"number[]",", base64 string, and more.",[395,396,398],"h2",{"id":397},"round-trip-parsedocument","Round-Trip (parseDocument)",[341,400,401,402,404,405,407,408,410,411,414],{},"The ",[354,403,356],{}," function parses a ",[354,406,371],{}," file into ",[354,409,360],{}," that can be passed to ",[354,412,413],{},"generateDocument()",", enabling full round-trip (export → parse → re-export):",[416,417,422],"pre",{"className":418,"code":419,"language":420,"meta":421,"style":421},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { parseDocument, generateDocument } from \"@office-open\u002Fdocx\";\nimport { readFileSync } from \"node:fs\";\n\n\u002F\u002F Parse an existing .docx file\nconst opts = parseDocument(readFileSync(\"input.docx\"));\n\n\u002F\u002F Modify sections if needed, then re-export\nconst buffer = await generateDocument(opts);\n","ts","",[354,423,424,465,488,495,502,538,543,549],{"__ignoreMap":421},[425,426,429,433,437,441,444,447,450,453,456,459,462],"span",{"class":427,"line":428},"line",1,[425,430,432],{"class":431},"s7zQu","import",[425,434,436],{"class":435},"sMK4o"," {",[425,438,440],{"class":439},"sTEyZ"," parseDocument",[425,442,443],{"class":435},",",[425,445,446],{"class":439}," generateDocument",[425,448,449],{"class":435}," }",[425,451,452],{"class":431}," from",[425,454,455],{"class":435}," \"",[425,457,98],{"class":458},"sfazB",[425,460,461],{"class":435},"\"",[425,463,464],{"class":435},";\n",[425,466,468,470,472,475,477,479,481,484,486],{"class":427,"line":467},2,[425,469,432],{"class":431},[425,471,436],{"class":435},[425,473,474],{"class":439}," readFileSync",[425,476,449],{"class":435},[425,478,452],{"class":431},[425,480,455],{"class":435},[425,482,483],{"class":458},"node:fs",[425,485,461],{"class":435},[425,487,464],{"class":435},[425,489,491],{"class":427,"line":490},3,[425,492,494],{"emptyLinePlaceholder":493},true,"\n",[425,496,498],{"class":427,"line":497},4,[425,499,501],{"class":500},"sHwdD","\u002F\u002F Parse an existing .docx file\n",[425,503,505,509,512,515,518,521,524,526,528,531,533,536],{"class":427,"line":504},5,[425,506,508],{"class":507},"spNyl","const",[425,510,511],{"class":439}," opts ",[425,513,514],{"class":435},"=",[425,516,440],{"class":517},"s2Zo4",[425,519,520],{"class":439},"(",[425,522,523],{"class":517},"readFileSync",[425,525,520],{"class":439},[425,527,461],{"class":435},[425,529,530],{"class":458},"input.docx",[425,532,461],{"class":435},[425,534,535],{"class":439},"))",[425,537,464],{"class":435},[425,539,541],{"class":427,"line":540},6,[425,542,494],{"emptyLinePlaceholder":493},[425,544,546],{"class":427,"line":545},7,[425,547,548],{"class":500},"\u002F\u002F Modify sections if needed, then re-export\n",[425,550,552,554,557,559,562,564,567],{"class":427,"line":551},8,[425,553,508],{"class":507},[425,555,556],{"class":439}," buffer ",[425,558,514],{"class":435},[425,560,561],{"class":431}," await",[425,563,446],{"class":517},[425,565,566],{"class":439},"(opts)",[425,568,464],{"class":435},[341,570,571],{},"The returned options contain the same structure as the input format:",[416,573,577],{"className":574,"code":575,"language":576,"meta":421,"style":421},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"title\": \"My Document\",\n  \"creator\": \"Author\",\n  \"sections\": [\n    {\n      \"children\": [\n        { \"paragraph\": \"Hello World\" },\n        { \"paragraph\": { \"children\": [{ \"text\": \"Bold\", \"bold\": true }] } },\n        { \"table\": { \"rows\": [...] } }\n      ],\n      \"properties\": { \"pageMargin\": { ... } }\n    }\n  ]\n}\n","json",[354,578,579,584,607,627,641,646,661,686,750,789,795,828,834,840],{"__ignoreMap":421},[425,580,581],{"class":427,"line":428},[425,582,583],{"class":435},"{\n",[425,585,586,589,592,594,597,599,602,604],{"class":427,"line":467},[425,587,588],{"class":435},"  \"",[425,590,591],{"class":507},"title",[425,593,461],{"class":435},[425,595,596],{"class":435},":",[425,598,455],{"class":435},[425,600,601],{"class":458},"My Document",[425,603,461],{"class":435},[425,605,606],{"class":435},",\n",[425,608,609,611,614,616,618,620,623,625],{"class":427,"line":490},[425,610,588],{"class":435},[425,612,613],{"class":507},"creator",[425,615,461],{"class":435},[425,617,596],{"class":435},[425,619,455],{"class":435},[425,621,622],{"class":458},"Author",[425,624,461],{"class":435},[425,626,606],{"class":435},[425,628,629,631,634,636,638],{"class":427,"line":497},[425,630,588],{"class":435},[425,632,633],{"class":507},"sections",[425,635,461],{"class":435},[425,637,596],{"class":435},[425,639,640],{"class":435}," [\n",[425,642,643],{"class":427,"line":504},[425,644,645],{"class":435},"    {\n",[425,647,648,651,655,657,659],{"class":427,"line":540},[425,649,650],{"class":435},"      \"",[425,652,654],{"class":653},"sBMFI","children",[425,656,461],{"class":435},[425,658,596],{"class":435},[425,660,640],{"class":435},[425,662,663,666,668,672,674,676,678,681,683],{"class":427,"line":545},[425,664,665],{"class":435},"        {",[425,667,455],{"class":435},[425,669,671],{"class":670},"sbssI","paragraph",[425,673,461],{"class":435},[425,675,596],{"class":435},[425,677,455],{"class":435},[425,679,680],{"class":458},"Hello World",[425,682,461],{"class":435},[425,684,685],{"class":435}," },\n",[425,687,688,690,692,694,696,698,700,702,705,707,709,712,714,718,720,722,724,727,729,731,733,736,738,740,743,746,748],{"class":427,"line":551},[425,689,665],{"class":435},[425,691,455],{"class":435},[425,693,671],{"class":670},[425,695,461],{"class":435},[425,697,596],{"class":435},[425,699,436],{"class":435},[425,701,455],{"class":435},[425,703,654],{"class":704},"swJcz",[425,706,461],{"class":435},[425,708,596],{"class":435},[425,710,711],{"class":435}," [{",[425,713,455],{"class":435},[425,715,717],{"class":716},"su27w","text",[425,719,461],{"class":435},[425,721,596],{"class":435},[425,723,455],{"class":435},[425,725,726],{"class":458},"Bold",[425,728,461],{"class":435},[425,730,443],{"class":435},[425,732,455],{"class":435},[425,734,735],{"class":716},"bold",[425,737,461],{"class":435},[425,739,596],{"class":435},[425,741,742],{"class":435}," true",[425,744,745],{"class":435}," }]",[425,747,449],{"class":435},[425,749,685],{"class":435},[425,751,753,755,757,760,762,764,766,768,771,773,775,778,781,784,786],{"class":427,"line":752},9,[425,754,665],{"class":435},[425,756,455],{"class":435},[425,758,759],{"class":670},"table",[425,761,461],{"class":435},[425,763,596],{"class":435},[425,765,436],{"class":435},[425,767,455],{"class":435},[425,769,770],{"class":704},"rows",[425,772,461],{"class":435},[425,774,596],{"class":435},[425,776,777],{"class":435}," [",[425,779,780],{"class":439},"...",[425,782,783],{"class":435},"]",[425,785,449],{"class":435},[425,787,788],{"class":435}," }\n",[425,790,792],{"class":427,"line":791},10,[425,793,794],{"class":435},"      ],\n",[425,796,798,800,803,805,807,809,811,814,816,818,820,823,826],{"class":427,"line":797},11,[425,799,650],{"class":435},[425,801,802],{"class":653},"properties",[425,804,461],{"class":435},[425,806,596],{"class":435},[425,808,436],{"class":435},[425,810,455],{"class":435},[425,812,813],{"class":670},"pageMargin",[425,815,461],{"class":435},[425,817,596],{"class":435},[425,819,436],{"class":435},[425,821,822],{"class":439}," ... ",[425,824,825],{"class":435},"}",[425,827,788],{"class":435},[425,829,831],{"class":427,"line":830},12,[425,832,833],{"class":435},"    }\n",[425,835,837],{"class":427,"line":836},13,[425,838,839],{"class":435},"  ]\n",[425,841,843],{"class":427,"line":842},14,[425,844,845],{"class":435},"}\n",[847,848,850],"h3",{"id":849},"parsed-fields","Parsed Fields",[759,852,853,869],{},[854,855,856],"thead",{},[857,858,859,863,866],"tr",{},[860,861,862],"th",{},"Field",[860,864,865],{},"Source",[860,867,868],{},"Description",[870,871,872,887,907,928,942,956,970,984,998,1013,1028,1043,1058,1073],"tbody",{},[857,873,874,879,884],{},[875,876,877],"td",{},[354,878,633],{},[875,880,881],{},[354,882,883],{},"word\u002Fdocument.xml",[875,885,886],{},"Document sections with children",[857,888,889,899,904],{},[875,890,891,383,893,383,895,898],{},[354,892,591],{},[354,894,613],{},[354,896,897],{},"keywords",", etc.",[875,900,901],{},[354,902,903],{},"docProps\u002Fcore.xml",[875,905,906],{},"Core properties",[857,908,909,920,925],{},[875,910,911,383,914,383,917],{},[354,912,913],{},"settings.view",[354,915,916],{},"settings.zoom",[354,918,919],{},"settings.defaultTabStop",[875,921,922],{},[354,923,924],{},"word\u002Fsettings.xml",[875,926,927],{},"Document settings",[857,929,930,935,939],{},[875,931,932],{},[354,933,934],{},"settings.evenAndOddHeaders",[875,936,937],{},[354,938,924],{},[875,940,941],{},"Header\u002Ffooter mode",[857,943,944,949,953],{},[875,945,946],{},[354,947,948],{},"settings.trackRevisions",[875,950,951],{},[354,952,924],{},[875,954,955],{},"Track changes",[857,957,958,963,967],{},[875,959,960],{},[354,961,962],{},"settings.updateFields",[875,964,965],{},[354,966,924],{},[875,968,969],{},"Auto-update fields",[857,971,972,977,981],{},[875,973,974],{},[354,975,976],{},"background",[875,978,979],{},[354,980,924],{},[875,982,983],{},"Document background",[857,985,986,991,995],{},[875,987,988],{},[354,989,990],{},"settings.docVars",[875,992,993],{},[354,994,924],{},[875,996,997],{},"Document variables",[857,999,1000,1005,1010],{},[875,1001,1002],{},[354,1003,1004],{},"customProperties",[875,1006,1007],{},[354,1008,1009],{},"docProps\u002Fcustom.xml",[875,1011,1012],{},"Custom properties",[857,1014,1015,1020,1025],{},[875,1016,1017],{},[354,1018,1019],{},"styles",[875,1021,1022],{},[354,1023,1024],{},"word\u002Fstyles.xml",[875,1026,1027],{},"Style definitions (paragraph, character, table, default)",[857,1029,1030,1035,1040],{},[875,1031,1032],{},[354,1033,1034],{},"numbering",[875,1036,1037],{},[354,1038,1039],{},"word\u002Fnumbering.xml",[875,1041,1042],{},"Numbering\u002Flist definitions",[857,1044,1045,1050,1055],{},[875,1046,1047],{},[354,1048,1049],{},"comments",[875,1051,1052],{},[354,1053,1054],{},"word\u002Fcomments.xml",[875,1056,1057],{},"Comment content (id, author, children)",[857,1059,1060,1065,1070],{},[875,1061,1062],{},[354,1063,1064],{},"footnotes",[875,1066,1067],{},[354,1068,1069],{},"word\u002Ffootnotes.xml",[875,1071,1072],{},"Footnote content keyed by id",[857,1074,1075,1080,1085],{},[875,1076,1077],{},[354,1078,1079],{},"endnotes",[875,1081,1082],{},[354,1083,1084],{},"word\u002Fendnotes.xml",[875,1086,1087],{},"Endnote content keyed by id",[847,1089,1091],{"id":1090},"supported-elements","Supported Elements",[341,1093,1094],{},"The parser handles these paragraph children in round-trip:",[759,1096,1097,1109],{},[854,1098,1099],{},[857,1100,1101,1104,1107],{},[860,1102,1103],{},"JSON Key",[860,1105,1106],{},"Type",[860,1108,868],{},[870,1110,1111,1133,1151,1166,1180,1194,1209,1223,1237,1251,1265,1279,1304,1323,1341,1364],{},[857,1112,1113,1118,1123],{},[875,1114,1115],{},[354,1116,1117],{},"commentRangeStart",[875,1119,1120],{},[354,1121,1122],{},"object",[875,1124,1125,1126,383,1129,1132],{},"Start of a comment range (",[354,1127,1128],{},"id",[354,1130,1131],{},"displacedByCustomXml?",")",[857,1134,1135,1140,1144],{},[875,1136,1137],{},[354,1138,1139],{},"commentRangeEnd",[875,1141,1142],{},[354,1143,1122],{},[875,1145,1146,1147,383,1149,1132],{},"End of a comment range (",[354,1148,1128],{},[354,1150,1131],{},[857,1152,1153,1158,1163],{},[875,1154,1155],{},[354,1156,1157],{},"commentReference",[875,1159,1160],{},[354,1161,1162],{},"number",[875,1164,1165],{},"Reference to a comment definition",[857,1167,1168,1173,1177],{},[875,1169,1170],{},[354,1171,1172],{},"footnoteReference",[875,1174,1175],{},[354,1176,1162],{},[875,1178,1179],{},"Footnote reference (styled run)",[857,1181,1182,1187,1191],{},[875,1183,1184],{},[354,1185,1186],{},"endnoteReference",[875,1188,1189],{},[354,1190,1162],{},[875,1192,1193],{},"Endnote reference (styled run)",[857,1195,1196,1201,1206],{},[875,1197,1198],{},[354,1199,1200],{},"pageBreak",[875,1202,1203],{},[354,1204,1205],{},"true",[875,1207,1208],{},"Page break",[857,1210,1211,1216,1220],{},[875,1212,1213],{},[354,1214,1215],{},"columnBreak",[875,1217,1218],{},[354,1219,1205],{},[875,1221,1222],{},"Column break",[857,1224,1225,1230,1234],{},[875,1226,1227],{},[354,1228,1229],{},"symbolRun",[875,1231,1232],{},[354,1233,1122],{},[875,1235,1236],{},"Symbol run (Wingdings, etc.)",[857,1238,1239,1244,1248],{},[875,1240,1241],{},[354,1242,1243],{},"math",[875,1245,1246],{},[354,1247,1122],{},[875,1249,1250],{},"Math equation (OMML)",[857,1252,1253,1258,1262],{},[875,1254,1255],{},[354,1256,1257],{},"chart",[875,1259,1260],{},[354,1261,1122],{},[875,1263,1264],{},"Chart (column, bar, line, pie)",[857,1266,1267,1272,1276],{},[875,1268,1269],{},[354,1270,1271],{},"smartArt",[875,1273,1274],{},[354,1275,1122],{},[875,1277,1278],{},"SmartArt diagram",[857,1280,1281,1286,1290],{},[875,1282,1283],{},[354,1284,1285],{},"hyperlink",[875,1287,1288],{},[354,1289,1122],{},[875,1291,1292,1293,383,1296,383,1299,383,1302],{},"Hyperlink with ",[354,1294,1295],{},"link",[354,1297,1298],{},"anchor",[354,1300,1301],{},"tooltip",[354,1303,654],{},[857,1305,1306,1311,1315],{},[875,1307,1308],{},[354,1309,1310],{},"bookmarkStart",[875,1312,1313],{},[354,1314,1122],{},[875,1316,1317,1318,383,1320],{},"Bookmark start with ",[354,1319,1128],{},[354,1321,1322],{},"name",[857,1324,1325,1330,1334],{},[875,1326,1327],{},[354,1328,1329],{},"bookmarkEnd",[875,1331,1332],{},[354,1333,1122],{},[875,1335,1336,1337,383,1339,1132],{},"Bookmark end (",[354,1338,1128],{},[354,1340,1131],{},[857,1342,1343,1348,1352],{},[875,1344,1345],{},[354,1346,1347],{},"picture",[875,1349,1350],{},[354,1351,1122],{},[875,1353,1354,1355,383,1358,383,1361],{},"Embedded picture, contains ",[354,1356,1357],{},"type",[354,1359,1360],{},"data",[354,1362,1363],{},"transformation",[857,1365,1366,1370,1374],{},[875,1367,1368],{},[354,1369,1122],{},[875,1371,1372],{},[354,1373,1122],{},[875,1375,1376,1377,1132],{},"Embedded OLE object (",[354,1378,1379],{},"w:object",[341,1381,1382],{},"Section-level elements (paragraphs, tables, TOC, SDT, textbox, altChunk) are all fully supported.",[395,1384,1386],{"id":1385},"low-level-parsing-parsedocx","Low-Level Parsing (parseDocx)",[341,1388,401,1389,1391,1392,1394],{},[354,1390,367],{}," function reads a ",[354,1393,371],{}," file and provides access to its raw XML parts:",[416,1396,1398],{"className":418,"code":1397,"language":420,"meta":421,"style":421},"import { parseDocx } from \"@office-open\u002Fdocx\";\nimport { readFileSync } from \"node:fs\";\n\nconst doc = parseDocx(readFileSync(\"input.docx\"));\n\n\u002F\u002F Access document body\nconsole.log(doc.body);\n\n\u002F\u002F Access styles (if present)\nconsole.log(doc.styles);\n\n\u002F\u002F Access numbering (if present)\nconsole.log(doc.numbering);\n\n\u002F\u002F Access settings (if present)\nconsole.log(doc.settings);\n",[354,1399,1400,1421,1441,1445,1472,1476,1481,1502,1506,1511,1528,1532,1537,1554,1558,1564],{"__ignoreMap":421},[425,1401,1402,1404,1406,1409,1411,1413,1415,1417,1419],{"class":427,"line":428},[425,1403,432],{"class":431},[425,1405,436],{"class":435},[425,1407,1408],{"class":439}," parseDocx",[425,1410,449],{"class":435},[425,1412,452],{"class":431},[425,1414,455],{"class":435},[425,1416,98],{"class":458},[425,1418,461],{"class":435},[425,1420,464],{"class":435},[425,1422,1423,1425,1427,1429,1431,1433,1435,1437,1439],{"class":427,"line":467},[425,1424,432],{"class":431},[425,1426,436],{"class":435},[425,1428,474],{"class":439},[425,1430,449],{"class":435},[425,1432,452],{"class":431},[425,1434,455],{"class":435},[425,1436,483],{"class":458},[425,1438,461],{"class":435},[425,1440,464],{"class":435},[425,1442,1443],{"class":427,"line":490},[425,1444,494],{"emptyLinePlaceholder":493},[425,1446,1447,1449,1452,1454,1456,1458,1460,1462,1464,1466,1468,1470],{"class":427,"line":497},[425,1448,508],{"class":507},[425,1450,1451],{"class":439}," doc ",[425,1453,514],{"class":435},[425,1455,1408],{"class":517},[425,1457,520],{"class":439},[425,1459,523],{"class":517},[425,1461,520],{"class":439},[425,1463,461],{"class":435},[425,1465,530],{"class":458},[425,1467,461],{"class":435},[425,1469,535],{"class":439},[425,1471,464],{"class":435},[425,1473,1474],{"class":427,"line":504},[425,1475,494],{"emptyLinePlaceholder":493},[425,1477,1478],{"class":427,"line":540},[425,1479,1480],{"class":500},"\u002F\u002F Access document body\n",[425,1482,1483,1486,1489,1492,1495,1497,1500],{"class":427,"line":545},[425,1484,1485],{"class":439},"console",[425,1487,1488],{"class":435},".",[425,1490,1491],{"class":517},"log",[425,1493,1494],{"class":439},"(doc",[425,1496,1488],{"class":435},[425,1498,1499],{"class":439},"body)",[425,1501,464],{"class":435},[425,1503,1504],{"class":427,"line":551},[425,1505,494],{"emptyLinePlaceholder":493},[425,1507,1508],{"class":427,"line":752},[425,1509,1510],{"class":500},"\u002F\u002F Access styles (if present)\n",[425,1512,1513,1515,1517,1519,1521,1523,1526],{"class":427,"line":791},[425,1514,1485],{"class":439},[425,1516,1488],{"class":435},[425,1518,1491],{"class":517},[425,1520,1494],{"class":439},[425,1522,1488],{"class":435},[425,1524,1525],{"class":439},"styles)",[425,1527,464],{"class":435},[425,1529,1530],{"class":427,"line":797},[425,1531,494],{"emptyLinePlaceholder":493},[425,1533,1534],{"class":427,"line":830},[425,1535,1536],{"class":500},"\u002F\u002F Access numbering (if present)\n",[425,1538,1539,1541,1543,1545,1547,1549,1552],{"class":427,"line":836},[425,1540,1485],{"class":439},[425,1542,1488],{"class":435},[425,1544,1491],{"class":517},[425,1546,1494],{"class":439},[425,1548,1488],{"class":435},[425,1550,1551],{"class":439},"numbering)",[425,1553,464],{"class":435},[425,1555,1556],{"class":427,"line":842},[425,1557,494],{"emptyLinePlaceholder":493},[425,1559,1561],{"class":427,"line":1560},15,[425,1562,1563],{"class":500},"\u002F\u002F Access settings (if present)\n",[425,1565,1567,1569,1571,1573,1575,1577,1580],{"class":427,"line":1566},16,[425,1568,1485],{"class":439},[425,1570,1488],{"class":435},[425,1572,1491],{"class":517},[425,1574,1494],{"class":439},[425,1576,1488],{"class":435},[425,1578,1579],{"class":439},"settings)",[425,1581,464],{"class":435},[395,1583,1585],{"id":1584},"docxdocument-api","DocxDocument API",[341,1587,1588,1589,1592],{},"The returned ",[354,1590,1591],{},"DocxDocument"," object contains:",[759,1594,1595,1606],{},[854,1596,1597],{},[857,1598,1599,1602,1604],{},[860,1600,1601],{},"Property",[860,1603,1106],{},[860,1605,868],{},[870,1607,1608,1623,1641,1655,1668,1681,1695],{},[857,1609,1610,1615,1620],{},[875,1611,1612],{},[354,1613,1614],{},"doc",[875,1616,1617],{},[354,1618,1619],{},"ParsedArchive",[875,1621,1622],{},"Full parsed archive (all parts)",[857,1624,1625,1630,1635],{},[875,1626,1627],{},[354,1628,1629],{},"body",[875,1631,1632],{},[354,1633,1634],{},"Element",[875,1636,1637,1638,1132],{},"Document body element (",[354,1639,1640],{},"w:body",[857,1642,1643,1647,1652],{},[875,1644,1645],{},[354,1646,1019],{},[875,1648,1649],{},[354,1650,1651],{},"Element | undefined",[875,1653,1654],{},"Styles element",[857,1656,1657,1661,1665],{},[875,1658,1659],{},[354,1660,1034],{},[875,1662,1663],{},[354,1664,1651],{},[875,1666,1667],{},"Numbering definitions",[857,1669,1670,1675,1679],{},[875,1671,1672],{},[354,1673,1674],{},"settings",[875,1676,1677],{},[354,1678,1651],{},[875,1680,927],{},[857,1682,1683,1688,1692],{},[875,1684,1685],{},[354,1686,1687],{},"fontTable",[875,1689,1690],{},[354,1691,1651],{},[875,1693,1694],{},"Font table",[857,1696,1697,1702,1707],{},[875,1698,1699],{},[354,1700,1701],{},"partRefs",[875,1703,1704],{},[354,1705,1706],{},"DocxPartRefs",[875,1708,1709],{},"References to headers, footers, notes, hyperlinks",[395,1711,1713],{"id":1712},"accessing-parts","Accessing Parts",[416,1715,1717],{"className":418,"code":1716,"language":420,"meta":421,"style":421},"const doc = parseDocx(data);\n\n\u002F\u002F Get all parts by path\nconst body = doc.doc.get(\"word\u002Fdocument.xml\");\nconst styles = doc.doc.get(\"word\u002Fstyles.xml\");\nconst header = doc.doc.get(doc.partRefs.headers.get(\"rId1\"));\n\n\u002F\u002F Part references map relationship IDs to paths\nfor (const [rId, path] of doc.partRefs.headers) {\n  const header = doc.doc.get(path);\n}\n",[354,1718,1719,1734,1738,1743,1776,1807,1854,1858,1863,1901,1931],{"__ignoreMap":421},[425,1720,1721,1723,1725,1727,1729,1732],{"class":427,"line":428},[425,1722,508],{"class":507},[425,1724,1451],{"class":439},[425,1726,514],{"class":435},[425,1728,1408],{"class":517},[425,1730,1731],{"class":439},"(data)",[425,1733,464],{"class":435},[425,1735,1736],{"class":427,"line":467},[425,1737,494],{"emptyLinePlaceholder":493},[425,1739,1740],{"class":427,"line":490},[425,1741,1742],{"class":500},"\u002F\u002F Get all parts by path\n",[425,1744,1745,1747,1750,1752,1755,1757,1759,1761,1764,1766,1768,1770,1772,1774],{"class":427,"line":497},[425,1746,508],{"class":507},[425,1748,1749],{"class":439}," body ",[425,1751,514],{"class":435},[425,1753,1754],{"class":439}," doc",[425,1756,1488],{"class":435},[425,1758,1614],{"class":439},[425,1760,1488],{"class":435},[425,1762,1763],{"class":517},"get",[425,1765,520],{"class":439},[425,1767,461],{"class":435},[425,1769,883],{"class":458},[425,1771,461],{"class":435},[425,1773,1132],{"class":439},[425,1775,464],{"class":435},[425,1777,1778,1780,1783,1785,1787,1789,1791,1793,1795,1797,1799,1801,1803,1805],{"class":427,"line":504},[425,1779,508],{"class":507},[425,1781,1782],{"class":439}," styles ",[425,1784,514],{"class":435},[425,1786,1754],{"class":439},[425,1788,1488],{"class":435},[425,1790,1614],{"class":439},[425,1792,1488],{"class":435},[425,1794,1763],{"class":517},[425,1796,520],{"class":439},[425,1798,461],{"class":435},[425,1800,1024],{"class":458},[425,1802,461],{"class":435},[425,1804,1132],{"class":439},[425,1806,464],{"class":435},[425,1808,1809,1811,1814,1816,1818,1820,1822,1824,1826,1828,1830,1832,1834,1837,1839,1841,1843,1845,1848,1850,1852],{"class":427,"line":540},[425,1810,508],{"class":507},[425,1812,1813],{"class":439}," header ",[425,1815,514],{"class":435},[425,1817,1754],{"class":439},[425,1819,1488],{"class":435},[425,1821,1614],{"class":439},[425,1823,1488],{"class":435},[425,1825,1763],{"class":517},[425,1827,1494],{"class":439},[425,1829,1488],{"class":435},[425,1831,1701],{"class":439},[425,1833,1488],{"class":435},[425,1835,1836],{"class":439},"headers",[425,1838,1488],{"class":435},[425,1840,1763],{"class":517},[425,1842,520],{"class":439},[425,1844,461],{"class":435},[425,1846,1847],{"class":458},"rId1",[425,1849,461],{"class":435},[425,1851,535],{"class":439},[425,1853,464],{"class":435},[425,1855,1856],{"class":427,"line":545},[425,1857,494],{"emptyLinePlaceholder":493},[425,1859,1860],{"class":427,"line":551},[425,1861,1862],{"class":500},"\u002F\u002F Part references map relationship IDs to paths\n",[425,1864,1865,1868,1871,1873,1875,1878,1880,1883,1885,1888,1890,1892,1894,1896,1899],{"class":427,"line":752},[425,1866,1867],{"class":431},"for",[425,1869,1870],{"class":439}," (",[425,1872,508],{"class":507},[425,1874,777],{"class":435},[425,1876,1877],{"class":439},"rId",[425,1879,443],{"class":435},[425,1881,1882],{"class":439}," path",[425,1884,783],{"class":435},[425,1886,1887],{"class":435}," of",[425,1889,1754],{"class":439},[425,1891,1488],{"class":435},[425,1893,1701],{"class":439},[425,1895,1488],{"class":435},[425,1897,1898],{"class":439},"headers) ",[425,1900,583],{"class":435},[425,1902,1903,1906,1909,1912,1914,1916,1918,1920,1922,1924,1927,1929],{"class":427,"line":791},[425,1904,1905],{"class":507},"  const",[425,1907,1908],{"class":439}," header",[425,1910,1911],{"class":435}," =",[425,1913,1754],{"class":439},[425,1915,1488],{"class":435},[425,1917,1614],{"class":439},[425,1919,1488],{"class":435},[425,1921,1763],{"class":517},[425,1923,520],{"class":704},[425,1925,1926],{"class":439},"path",[425,1928,1132],{"class":704},[425,1930,464],{"class":435},[425,1932,1933],{"class":427,"line":797},[425,1934,845],{"class":435},[395,1936,1938],{"id":1937},"working-with-xml-elements","Working with XML Elements",[341,1940,1941,1942,1944,1945,1947],{},"The parsed elements use the ",[354,1943,68],{}," library's ",[354,1946,1634],{}," type:",[416,1949,1951],{"className":418,"code":1950,"language":420,"meta":421,"style":421},"import { attr } from \"@office-open\u002Fxml\";\n\n\u002F\u002F Access element attributes\nconst tagName = attr(doc.body, \"tagName\");\n\n\u002F\u002F Iterate child elements\nfor (const child of doc.body.elements ?? []) {\n  console.log(child.name);\n}\n",[354,1952,1953,1974,1978,1983,2013,2017,2022,2055,2077],{"__ignoreMap":421},[425,1954,1955,1957,1959,1962,1964,1966,1968,1970,1972],{"class":427,"line":428},[425,1956,432],{"class":431},[425,1958,436],{"class":435},[425,1960,1961],{"class":439}," attr",[425,1963,449],{"class":435},[425,1965,452],{"class":431},[425,1967,455],{"class":435},[425,1969,68],{"class":458},[425,1971,461],{"class":435},[425,1973,464],{"class":435},[425,1975,1976],{"class":427,"line":467},[425,1977,494],{"emptyLinePlaceholder":493},[425,1979,1980],{"class":427,"line":490},[425,1981,1982],{"class":500},"\u002F\u002F Access element attributes\n",[425,1984,1985,1987,1990,1992,1994,1996,1998,2000,2002,2004,2007,2009,2011],{"class":427,"line":497},[425,1986,508],{"class":507},[425,1988,1989],{"class":439}," tagName ",[425,1991,514],{"class":435},[425,1993,1961],{"class":517},[425,1995,1494],{"class":439},[425,1997,1488],{"class":435},[425,1999,1629],{"class":439},[425,2001,443],{"class":435},[425,2003,455],{"class":435},[425,2005,2006],{"class":458},"tagName",[425,2008,461],{"class":435},[425,2010,1132],{"class":439},[425,2012,464],{"class":435},[425,2014,2015],{"class":427,"line":504},[425,2016,494],{"emptyLinePlaceholder":493},[425,2018,2019],{"class":427,"line":540},[425,2020,2021],{"class":500},"\u002F\u002F Iterate child elements\n",[425,2023,2024,2026,2028,2030,2033,2036,2038,2040,2042,2044,2047,2050,2053],{"class":427,"line":545},[425,2025,1867],{"class":431},[425,2027,1870],{"class":439},[425,2029,508],{"class":507},[425,2031,2032],{"class":439}," child ",[425,2034,2035],{"class":435},"of",[425,2037,1754],{"class":439},[425,2039,1488],{"class":435},[425,2041,1629],{"class":439},[425,2043,1488],{"class":435},[425,2045,2046],{"class":439},"elements ",[425,2048,2049],{"class":435},"??",[425,2051,2052],{"class":439}," []) ",[425,2054,583],{"class":435},[425,2056,2057,2060,2062,2064,2066,2069,2071,2073,2075],{"class":427,"line":551},[425,2058,2059],{"class":439},"  console",[425,2061,1488],{"class":435},[425,2063,1491],{"class":517},[425,2065,520],{"class":704},[425,2067,2068],{"class":439},"child",[425,2070,1488],{"class":435},[425,2072,1322],{"class":439},[425,2074,1132],{"class":704},[425,2076,464],{"class":435},[425,2078,2079],{"class":427,"line":752},[425,2080,845],{"class":435},[395,2082,2084],{"id":2083},"use-cases","Use Cases",[345,2086,2087,2096,2102,2111,2117],{},[348,2088,2089,2092,2093,2095],{},[351,2090,2091],{},"Round-trip"," — Parse a ",[354,2094,371],{},", modify sections, and re-export",[348,2097,2098,2101],{},[351,2099,2100],{},"Extract text"," — Walk the body elements to extract paragraph text",[348,2103,2104,2107,2108,2110],{},[351,2105,2106],{},"Merge documents"," — Parse multiple ",[354,2109,371],{}," files and combine their content",[348,2112,2113,2116],{},[351,2114,2115],{},"Inspect formatting"," — Read style and numbering definitions",[348,2118,2119,2122],{},[351,2120,2121],{},"Transform"," — Modify parsed elements and rebuild a document",[2124,2125,2126],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .su27w, html code.shiki .su27w{--shiki-light:#916B53;--shiki-default:#916B53;--shiki-dark:#916B53}",{"title":421,"searchDepth":467,"depth":467,"links":2128},[2129,2133,2134,2135,2136,2137],{"id":397,"depth":467,"text":398,"children":2130},[2131,2132],{"id":849,"depth":490,"text":850},{"id":1090,"depth":490,"text":1091},{"id":1385,"depth":467,"text":1386},{"id":1584,"depth":467,"text":1585},{"id":1712,"depth":467,"text":1713},{"id":1937,"depth":467,"text":1938},{"id":2083,"depth":467,"text":2084},"Parse, inspect, and round-trip .docx files","md",null,{},{"title":72,"description":2138},"BfyHMVftY6qiPbKO1FkWq_fL-Jp2s4NXfHyS74DPk8I",[2145,2147],{"title":165,"path":166,"stem":167,"description":2146,"children":-1},"Export documents to buffer, blob, base64, or stream",{"title":172,"path":173,"stem":174,"description":2148,"children":-1},"Modify existing .docx files by replacing placeholders, literal text, or metadata",1787501488177]