[{"data":1,"prerenderedAt":1089},["ShallowReactive",2],{"navigation_docs_en":3,"-en-docx-parsing":237,"-en-docx-parsing-surround":1084},[4,23,61,91,163],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[10,14,18],{"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},"AI Integration","\u002Fen\u002Fgetting-started\u002Fai-integration","en\u002F01.getting-started\u002F03.ai-integration",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"CORE","i-lucide-box","\u002Fen\u002Fcore","en\u002F02.core",[29,33,37,41,45,49,53,57],{"title":30,"path":31,"stem":32},"@office-open\u002Fcore","\u002Fen\u002Fcore\u002Foverview","en\u002F02.core\u002F01.overview",{"title":34,"path":35,"stem":36},"XML Components","\u002Fen\u002Fcore\u002Fxml-components","en\u002F02.core\u002F02.xml-components",{"title":38,"path":39,"stem":40},"Values and Validation","\u002Fen\u002Fcore\u002Fvalues","en\u002F02.core\u002F03.values",{"title":42,"path":43,"stem":44},"Unit Converters","\u002Fen\u002Fcore\u002Fconverters","en\u002F02.core\u002F04.converters",{"title":46,"path":47,"stem":48},"Formatter","\u002Fen\u002Fcore\u002Fformatter","en\u002F02.core\u002F05.formatter",{"title":50,"path":51,"stem":52},"Parser","\u002Fen\u002Fcore\u002Fparser","en\u002F02.core\u002F06.parser",{"title":54,"path":55,"stem":56},"Archive","\u002Fen\u002Fcore\u002Farchive","en\u002F02.core\u002F07.archive",{"title":58,"path":59,"stem":60},"Charts","\u002Fen\u002Fcore\u002Fcharts","en\u002F02.core\u002F08.charts",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":22},"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":22},"DOCX","i-lucide-file-text","\u002Fen\u002Fdocx","en\u002F04.docx",[97,101,105,109,113,117,120,124,128,132,136,140,144,148,152,156,160],{"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":58,"path":118,"stem":119},"\u002Fen\u002Fdocx\u002Fcharts","en\u002F04.docx\u002F06.charts",{"title":121,"path":122,"stem":123},"SmartArt","\u002Fen\u002Fdocx\u002Fsmartart","en\u002F04.docx\u002F07.smartart",{"title":125,"path":126,"stem":127},"Media","\u002Fen\u002Fdocx\u002Fmedia","en\u002F04.docx\u002F08.media",{"title":129,"path":130,"stem":131},"Links","\u002Fen\u002Fdocx\u002Flinks","en\u002F04.docx\u002F09.links",{"title":133,"path":134,"stem":135},"Headers and Footers","\u002Fen\u002Fdocx\u002Fheaders-and-footers","en\u002F04.docx\u002F10.headers-and-footers",{"title":137,"path":138,"stem":139},"Equations and Symbols","\u002Fen\u002Fdocx\u002Fequations-and-symbols","en\u002F04.docx\u002F11.equations-and-symbols",{"title":141,"path":142,"stem":143},"Styles and Themes","\u002Fen\u002Fdocx\u002Fstyles-and-themes","en\u002F04.docx\u002F12.styles-and-themes",{"title":145,"path":146,"stem":147},"Page Layout","\u002Fen\u002Fdocx\u002Fpage-layout","en\u002F04.docx\u002F13.page-layout",{"title":149,"path":150,"stem":151},"References","\u002Fen\u002Fdocx\u002Freferences","en\u002F04.docx\u002F14.references",{"title":153,"path":154,"stem":155},"Comments and Revisions","\u002Fen\u002Fdocx\u002Fcomments-and-revisions","en\u002F04.docx\u002F15.comments-and-revisions",{"title":157,"path":158,"stem":159},"Export","\u002Fen\u002Fdocx\u002Fexport","en\u002F04.docx\u002F16.export",{"title":72,"path":161,"stem":162},"\u002Fen\u002Fdocx\u002Fparsing","en\u002F04.docx\u002F17.parsing",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":22},"PPTX","i-lucide-presentation","\u002Fen\u002Fpptx","en\u002F05.pptx",[169,173,176,180,183,186,189,192,195,198,201,204,208,211,215,219,223,227,230,233],{"title":170,"path":171,"stem":172},"@office-open\u002Fpptx","\u002Fen\u002Fpptx\u002Foverview","en\u002F05.pptx\u002F01.overview",{"title":102,"path":174,"stem":175},"\u002Fen\u002Fpptx\u002Fquickstart","en\u002F05.pptx\u002F02.quickstart",{"title":177,"path":178,"stem":179},"Shapes and Text","\u002Fen\u002Fpptx\u002Fshapes-and-text","en\u002F05.pptx\u002F03.shapes-and-text",{"title":110,"path":181,"stem":182},"\u002Fen\u002Fpptx\u002Ftables","en\u002F05.pptx\u002F04.tables",{"title":114,"path":184,"stem":185},"\u002Fen\u002Fpptx\u002Fimages","en\u002F05.pptx\u002F05.images",{"title":58,"path":187,"stem":188},"\u002Fen\u002Fpptx\u002Fcharts","en\u002F05.pptx\u002F06.charts",{"title":121,"path":190,"stem":191},"\u002Fen\u002Fpptx\u002Fsmartart","en\u002F05.pptx\u002F07.smartart",{"title":125,"path":193,"stem":194},"\u002Fen\u002Fpptx\u002Fmedia","en\u002F05.pptx\u002F08.media",{"title":129,"path":196,"stem":197},"\u002Fen\u002Fpptx\u002Flinks","en\u002F05.pptx\u002F09.links",{"title":133,"path":199,"stem":200},"\u002Fen\u002Fpptx\u002Fheaders-and-footers","en\u002F05.pptx\u002F10.headers-and-footers",{"title":137,"path":202,"stem":203},"\u002Fen\u002Fpptx\u002Fequations-and-symbols","en\u002F05.pptx\u002F11.equations-and-symbols",{"title":205,"path":206,"stem":207},"Lines and Connectors","\u002Fen\u002Fpptx\u002Flines-and-connectors","en\u002F05.pptx\u002F12.lines-and-connectors",{"title":141,"path":209,"stem":210},"\u002Fen\u002Fpptx\u002Fstyles-and-themes","en\u002F05.pptx\u002F13.styles-and-themes",{"title":212,"path":213,"stem":214},"Effects and Fills","\u002Fen\u002Fpptx\u002Feffects-and-fills","en\u002F05.pptx\u002F14.effects-and-fills",{"title":216,"path":217,"stem":218},"Slide Layout","\u002Fen\u002Fpptx\u002Fslide-layout","en\u002F05.pptx\u002F15.slide-layout",{"title":220,"path":221,"stem":222},"Transitions","\u002Fen\u002Fpptx\u002Ftransitions","en\u002F05.pptx\u002F16.transitions",{"title":224,"path":225,"stem":226},"Animations","\u002Fen\u002Fpptx\u002Fanimations","en\u002F05.pptx\u002F17.animations",{"title":157,"path":228,"stem":229},"\u002Fen\u002Fpptx\u002Fexport","en\u002F05.pptx\u002F18.export",{"title":72,"path":231,"stem":232},"\u002Fen\u002Fpptx\u002Fparsing","en\u002F05.pptx\u002F19.parsing",{"title":234,"path":235,"stem":236},"Comments","\u002Fen\u002Fpptx\u002Fcomments","en\u002F05.pptx\u002F20.comments",{"id":238,"title":72,"body":239,"description":1078,"extension":1079,"links":1080,"meta":1081,"navigation":332,"path":161,"seo":1082,"stem":162,"__hash__":1083},"docs_en\u002Fen\u002F04.docx\u002F17.parsing.md",{"type":240,"value":241,"toc":1071},"minimark",[242,255,260,512,516,523,652,656,884,888,897,1031,1035,1067],[243,244,245,246,250,251,254],"p",{},"The ",[247,248,249],"code",{},"parseDocx"," function reads an existing ",[247,252,253],{},".docx"," file and provides access to its document parts.",[256,257,259],"h2",{"id":258},"basic-usage","Basic Usage",[261,262,267],"pre",{"className":263,"code":264,"language":265,"meta":266,"style":266},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { parseDocx } from \"@office-open\u002Fdocx\";\nimport { readFileSync } from \"node:fs\";\n\nconst data = new Uint8Array(readFileSync(\"input.docx\"));\nconst doc = parseDocx(data);\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","ts","",[247,268,269,304,327,334,374,391,396,403,425,430,436,454,459,465,483,488,494],{"__ignoreMap":266},[270,271,274,278,282,286,289,292,295,298,301],"span",{"class":272,"line":273},"line",1,[270,275,277],{"class":276},"s7zQu","import",[270,279,281],{"class":280},"sMK4o"," {",[270,283,285],{"class":284},"sTEyZ"," parseDocx",[270,287,288],{"class":280}," }",[270,290,291],{"class":276}," from",[270,293,294],{"class":280}," \"",[270,296,98],{"class":297},"sfazB",[270,299,300],{"class":280},"\"",[270,302,303],{"class":280},";\n",[270,305,307,309,311,314,316,318,320,323,325],{"class":272,"line":306},2,[270,308,277],{"class":276},[270,310,281],{"class":280},[270,312,313],{"class":284}," readFileSync",[270,315,288],{"class":280},[270,317,291],{"class":276},[270,319,294],{"class":280},[270,321,322],{"class":297},"node:fs",[270,324,300],{"class":280},[270,326,303],{"class":280},[270,328,330],{"class":272,"line":329},3,[270,331,333],{"emptyLinePlaceholder":332},true,"\n",[270,335,337,341,344,347,350,354,357,360,362,364,367,369,372],{"class":272,"line":336},4,[270,338,340],{"class":339},"spNyl","const",[270,342,343],{"class":284}," data ",[270,345,346],{"class":280},"=",[270,348,349],{"class":280}," new",[270,351,353],{"class":352},"s2Zo4"," Uint8Array",[270,355,356],{"class":284},"(",[270,358,359],{"class":352},"readFileSync",[270,361,356],{"class":284},[270,363,300],{"class":280},[270,365,366],{"class":297},"input.docx",[270,368,300],{"class":280},[270,370,371],{"class":284},"))",[270,373,303],{"class":280},[270,375,377,379,382,384,386,389],{"class":272,"line":376},5,[270,378,340],{"class":339},[270,380,381],{"class":284}," doc ",[270,383,346],{"class":280},[270,385,285],{"class":352},[270,387,388],{"class":284},"(data)",[270,390,303],{"class":280},[270,392,394],{"class":272,"line":393},6,[270,395,333],{"emptyLinePlaceholder":332},[270,397,399],{"class":272,"line":398},7,[270,400,402],{"class":401},"sHwdD","\u002F\u002F Access document body\n",[270,404,406,409,412,415,418,420,423],{"class":272,"line":405},8,[270,407,408],{"class":284},"console",[270,410,411],{"class":280},".",[270,413,414],{"class":352},"log",[270,416,417],{"class":284},"(doc",[270,419,411],{"class":280},[270,421,422],{"class":284},"body)",[270,424,303],{"class":280},[270,426,428],{"class":272,"line":427},9,[270,429,333],{"emptyLinePlaceholder":332},[270,431,433],{"class":272,"line":432},10,[270,434,435],{"class":401},"\u002F\u002F Access styles (if present)\n",[270,437,439,441,443,445,447,449,452],{"class":272,"line":438},11,[270,440,408],{"class":284},[270,442,411],{"class":280},[270,444,414],{"class":352},[270,446,417],{"class":284},[270,448,411],{"class":280},[270,450,451],{"class":284},"styles)",[270,453,303],{"class":280},[270,455,457],{"class":272,"line":456},12,[270,458,333],{"emptyLinePlaceholder":332},[270,460,462],{"class":272,"line":461},13,[270,463,464],{"class":401},"\u002F\u002F Access numbering (if present)\n",[270,466,468,470,472,474,476,478,481],{"class":272,"line":467},14,[270,469,408],{"class":284},[270,471,411],{"class":280},[270,473,414],{"class":352},[270,475,417],{"class":284},[270,477,411],{"class":280},[270,479,480],{"class":284},"numbering)",[270,482,303],{"class":280},[270,484,486],{"class":272,"line":485},15,[270,487,333],{"emptyLinePlaceholder":332},[270,489,491],{"class":272,"line":490},16,[270,492,493],{"class":401},"\u002F\u002F Access settings (if present)\n",[270,495,497,499,501,503,505,507,510],{"class":272,"line":496},17,[270,498,408],{"class":284},[270,500,411],{"class":280},[270,502,414],{"class":352},[270,504,417],{"class":284},[270,506,411],{"class":280},[270,508,509],{"class":284},"settings)",[270,511,303],{"class":280},[256,513,515],{"id":514},"docxdocument-api","DocxDocument API",[243,517,518,519,522],{},"The returned ",[247,520,521],{},"DocxDocument"," object contains:",[524,525,526,542],"table",{},[527,528,529],"thead",{},[530,531,532,536,539],"tr",{},[533,534,535],"th",{},"Property",[533,537,538],{},"Type",[533,540,541],{},"Description",[543,544,545,561,580,595,609,623,637],"tbody",{},[530,546,547,553,558],{},[548,549,550],"td",{},[247,551,552],{},"doc",[548,554,555],{},[247,556,557],{},"ParsedDocument",[548,559,560],{},"Full parsed document (all parts)",[530,562,563,568,573],{},[548,564,565],{},[247,566,567],{},"body",[548,569,570],{},[247,571,572],{},"Element",[548,574,575,576,579],{},"Document body element (",[247,577,578],{},"w:body",")",[530,581,582,587,592],{},[548,583,584],{},[247,585,586],{},"styles",[548,588,589],{},[247,590,591],{},"Element | undefined",[548,593,594],{},"Styles element",[530,596,597,602,606],{},[548,598,599],{},[247,600,601],{},"numbering",[548,603,604],{},[247,605,591],{},[548,607,608],{},"Numbering definitions",[530,610,611,616,620],{},[548,612,613],{},[247,614,615],{},"settings",[548,617,618],{},[247,619,591],{},[548,621,622],{},"Document settings",[530,624,625,630,634],{},[548,626,627],{},[247,628,629],{},"fontTable",[548,631,632],{},[247,633,591],{},[548,635,636],{},"Font table",[530,638,639,644,649],{},[548,640,641],{},[247,642,643],{},"partRefs",[548,645,646],{},[247,647,648],{},"DocxPartRefs",[548,650,651],{},"References to headers, footers, notes",[256,653,655],{"id":654},"accessing-parts","Accessing Parts",[261,657,659],{"className":263,"code":658,"language":265,"meta":266,"style":266},"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",[247,660,661,675,679,684,718,750,797,801,806,848,879],{"__ignoreMap":266},[270,662,663,665,667,669,671,673],{"class":272,"line":273},[270,664,340],{"class":339},[270,666,381],{"class":284},[270,668,346],{"class":280},[270,670,285],{"class":352},[270,672,388],{"class":284},[270,674,303],{"class":280},[270,676,677],{"class":272,"line":306},[270,678,333],{"emptyLinePlaceholder":332},[270,680,681],{"class":272,"line":329},[270,682,683],{"class":401},"\u002F\u002F Get all parts by path\n",[270,685,686,688,691,693,696,698,700,702,705,707,709,712,714,716],{"class":272,"line":336},[270,687,340],{"class":339},[270,689,690],{"class":284}," body ",[270,692,346],{"class":280},[270,694,695],{"class":284}," doc",[270,697,411],{"class":280},[270,699,552],{"class":284},[270,701,411],{"class":280},[270,703,704],{"class":352},"get",[270,706,356],{"class":284},[270,708,300],{"class":280},[270,710,711],{"class":297},"word\u002Fdocument.xml",[270,713,300],{"class":280},[270,715,579],{"class":284},[270,717,303],{"class":280},[270,719,720,722,725,727,729,731,733,735,737,739,741,744,746,748],{"class":272,"line":376},[270,721,340],{"class":339},[270,723,724],{"class":284}," styles ",[270,726,346],{"class":280},[270,728,695],{"class":284},[270,730,411],{"class":280},[270,732,552],{"class":284},[270,734,411],{"class":280},[270,736,704],{"class":352},[270,738,356],{"class":284},[270,740,300],{"class":280},[270,742,743],{"class":297},"word\u002Fstyles.xml",[270,745,300],{"class":280},[270,747,579],{"class":284},[270,749,303],{"class":280},[270,751,752,754,757,759,761,763,765,767,769,771,773,775,777,780,782,784,786,788,791,793,795],{"class":272,"line":393},[270,753,340],{"class":339},[270,755,756],{"class":284}," header ",[270,758,346],{"class":280},[270,760,695],{"class":284},[270,762,411],{"class":280},[270,764,552],{"class":284},[270,766,411],{"class":280},[270,768,704],{"class":352},[270,770,417],{"class":284},[270,772,411],{"class":280},[270,774,643],{"class":284},[270,776,411],{"class":280},[270,778,779],{"class":284},"headers",[270,781,411],{"class":280},[270,783,704],{"class":352},[270,785,356],{"class":284},[270,787,300],{"class":280},[270,789,790],{"class":297},"rId1",[270,792,300],{"class":280},[270,794,371],{"class":284},[270,796,303],{"class":280},[270,798,799],{"class":272,"line":398},[270,800,333],{"emptyLinePlaceholder":332},[270,802,803],{"class":272,"line":405},[270,804,805],{"class":401},"\u002F\u002F Part references map relationship IDs to paths\n",[270,807,808,811,814,816,819,822,825,828,831,834,836,838,840,842,845],{"class":272,"line":427},[270,809,810],{"class":276},"for",[270,812,813],{"class":284}," (",[270,815,340],{"class":339},[270,817,818],{"class":280}," [",[270,820,821],{"class":284},"rId",[270,823,824],{"class":280},",",[270,826,827],{"class":284}," path",[270,829,830],{"class":280},"]",[270,832,833],{"class":280}," of",[270,835,695],{"class":284},[270,837,411],{"class":280},[270,839,643],{"class":284},[270,841,411],{"class":280},[270,843,844],{"class":284},"headers) ",[270,846,847],{"class":280},"{\n",[270,849,850,853,856,859,861,863,865,867,869,872,875,877],{"class":272,"line":432},[270,851,852],{"class":339},"    const",[270,854,855],{"class":284}," header",[270,857,858],{"class":280}," =",[270,860,695],{"class":284},[270,862,411],{"class":280},[270,864,552],{"class":284},[270,866,411],{"class":280},[270,868,704],{"class":352},[270,870,356],{"class":871},"swJcz",[270,873,874],{"class":284},"path",[270,876,579],{"class":871},[270,878,303],{"class":280},[270,880,881],{"class":272,"line":438},[270,882,883],{"class":280},"}\n",[256,885,887],{"id":886},"working-with-xml-elements","Working with XML Elements",[243,889,890,891,893,894,896],{},"The parsed elements use the ",[247,892,68],{}," library's ",[247,895,572],{}," type:",[261,898,900],{"className":263,"code":899,"language":265,"meta":266,"style":266},"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",[247,901,902,923,927,932,962,966,971,1004,1027],{"__ignoreMap":266},[270,903,904,906,908,911,913,915,917,919,921],{"class":272,"line":273},[270,905,277],{"class":276},[270,907,281],{"class":280},[270,909,910],{"class":284}," attr",[270,912,288],{"class":280},[270,914,291],{"class":276},[270,916,294],{"class":280},[270,918,68],{"class":297},[270,920,300],{"class":280},[270,922,303],{"class":280},[270,924,925],{"class":272,"line":306},[270,926,333],{"emptyLinePlaceholder":332},[270,928,929],{"class":272,"line":329},[270,930,931],{"class":401},"\u002F\u002F Access element attributes\n",[270,933,934,936,939,941,943,945,947,949,951,953,956,958,960],{"class":272,"line":336},[270,935,340],{"class":339},[270,937,938],{"class":284}," tagName ",[270,940,346],{"class":280},[270,942,910],{"class":352},[270,944,417],{"class":284},[270,946,411],{"class":280},[270,948,567],{"class":284},[270,950,824],{"class":280},[270,952,294],{"class":280},[270,954,955],{"class":297},"tagName",[270,957,300],{"class":280},[270,959,579],{"class":284},[270,961,303],{"class":280},[270,963,964],{"class":272,"line":376},[270,965,333],{"emptyLinePlaceholder":332},[270,967,968],{"class":272,"line":393},[270,969,970],{"class":401},"\u002F\u002F Iterate child elements\n",[270,972,973,975,977,979,982,985,987,989,991,993,996,999,1002],{"class":272,"line":398},[270,974,810],{"class":276},[270,976,813],{"class":284},[270,978,340],{"class":339},[270,980,981],{"class":284}," child ",[270,983,984],{"class":280},"of",[270,986,695],{"class":284},[270,988,411],{"class":280},[270,990,567],{"class":284},[270,992,411],{"class":280},[270,994,995],{"class":284},"elements ",[270,997,998],{"class":280},"??",[270,1000,1001],{"class":284}," []) ",[270,1003,847],{"class":280},[270,1005,1006,1009,1011,1013,1015,1018,1020,1023,1025],{"class":272,"line":405},[270,1007,1008],{"class":284},"    console",[270,1010,411],{"class":280},[270,1012,414],{"class":352},[270,1014,356],{"class":871},[270,1016,1017],{"class":284},"child",[270,1019,411],{"class":280},[270,1021,1022],{"class":284},"name",[270,1024,579],{"class":871},[270,1026,303],{"class":280},[270,1028,1029],{"class":272,"line":427},[270,1030,883],{"class":280},[256,1032,1034],{"id":1033},"use-cases","Use Cases",[1036,1037,1038,1046,1055,1061],"ul",{},[1039,1040,1041,1045],"li",{},[1042,1043,1044],"strong",{},"Extract text"," — Walk the body elements to extract paragraph text",[1039,1047,1048,1051,1052,1054],{},[1042,1049,1050],{},"Merge documents"," — Parse multiple ",[247,1053,253],{}," files and combine their content",[1039,1056,1057,1060],{},[1042,1058,1059],{},"Inspect formatting"," — Read style and numbering definitions",[1039,1062,1063,1066],{},[1042,1064,1065],{},"Transform"," — Modify parsed elements and rebuild a document",[1068,1069,1070],"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 .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 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 .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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":266,"searchDepth":306,"depth":306,"links":1072},[1073,1074,1075,1076,1077],{"id":258,"depth":306,"text":259},{"id":514,"depth":306,"text":515},{"id":654,"depth":306,"text":655},{"id":886,"depth":306,"text":887},{"id":1033,"depth":306,"text":1034},"Parse and inspect existing .docx files with parseDocx","md",null,{},{"title":72,"description":1078},"iwgE6TuYWKasJiQ8_9nBubryH2ZsEoHWcT0OgIoq1lc",[1085,1087],{"title":157,"path":158,"stem":159,"description":1086,"children":-1},"Export documents to buffer, blob, base64, string, or stream",{"title":170,"path":171,"stem":172,"description":1088,"children":-1},"Generate .pptx presentations with a declarative TypeScript API",1778862998779]