[{"data":1,"prerenderedAt":1340},["ShallowReactive",2],{"navigation_docs_en":3,"landing_en":233},[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],{"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",{"id":234,"title":235,"body":236,"description":235,"extension":1332,"meta":1333,"navigation":312,"path":1334,"seo":1335,"stem":1338,"__hash__":1339},"landing_en\u002Fen\u002Findex.md","",{"type":237,"value":238,"toc":1330},"minimark",[239,564,633,1151,1317,1326],[240,241,243,526,534,549],"u-page-hero",{"orientation":242},"horizontal",[244,245,246,506],"code-group",{},[247,248,253],"pre",{"className":249,"code":250,"filename":251,"language":252,"meta":235,"style":235},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Document, Packer, Paragraph, TextRun } from \"@office-open\u002Fdocx\";\n\nconst doc = new Document({\n    sections: [\n        {\n            children: [\n                new Paragraph({\n                    children: [new TextRun({ text: \"Hello, World!\", bold: true })],\n                }),\n            ],\n        },\n    ],\n});\n\nconst buffer = await Packer.toBuffer(doc);\n","example.ts","ts",[254,255,256,307,314,339,352,358,368,380,432,443,451,457,465,475,480],"code",{"__ignoreMap":235},[257,258,261,265,269,273,276,279,281,284,286,289,292,295,298,301,304],"span",{"class":259,"line":260},"line",1,[257,262,264],{"class":263},"s7zQu","import",[257,266,268],{"class":267},"sMK4o"," {",[257,270,272],{"class":271},"sTEyZ"," Document",[257,274,275],{"class":267},",",[257,277,278],{"class":271}," Packer",[257,280,275],{"class":267},[257,282,283],{"class":271}," Paragraph",[257,285,275],{"class":267},[257,287,288],{"class":271}," TextRun",[257,290,291],{"class":267}," }",[257,293,294],{"class":263}," from",[257,296,297],{"class":267}," \"",[257,299,98],{"class":300},"sfazB",[257,302,303],{"class":267},"\"",[257,305,306],{"class":267},";\n",[257,308,310],{"class":259,"line":309},2,[257,311,313],{"emptyLinePlaceholder":312},true,"\n",[257,315,317,321,324,327,330,333,336],{"class":259,"line":316},3,[257,318,320],{"class":319},"spNyl","const",[257,322,323],{"class":271}," doc ",[257,325,326],{"class":267},"=",[257,328,329],{"class":267}," new",[257,331,272],{"class":332},"s2Zo4",[257,334,335],{"class":271},"(",[257,337,338],{"class":267},"{\n",[257,340,342,346,349],{"class":259,"line":341},4,[257,343,345],{"class":344},"swJcz","    sections",[257,347,348],{"class":267},":",[257,350,351],{"class":271}," [\n",[257,353,355],{"class":259,"line":354},5,[257,356,357],{"class":267},"        {\n",[257,359,361,364,366],{"class":259,"line":360},6,[257,362,363],{"class":344},"            children",[257,365,348],{"class":267},[257,367,351],{"class":271},[257,369,371,374,376,378],{"class":259,"line":370},7,[257,372,373],{"class":267},"                new",[257,375,283],{"class":332},[257,377,335],{"class":271},[257,379,338],{"class":267},[257,381,383,386,388,391,394,396,398,401,404,406,408,411,413,415,418,420,424,426,429],{"class":259,"line":382},8,[257,384,385],{"class":344},"                    children",[257,387,348],{"class":267},[257,389,390],{"class":271}," [",[257,392,393],{"class":267},"new",[257,395,288],{"class":332},[257,397,335],{"class":271},[257,399,400],{"class":267},"{",[257,402,403],{"class":344}," text",[257,405,348],{"class":267},[257,407,297],{"class":267},[257,409,410],{"class":300},"Hello, World!",[257,412,303],{"class":267},[257,414,275],{"class":267},[257,416,417],{"class":344}," bold",[257,419,348],{"class":267},[257,421,423],{"class":422},"sfNiH"," true",[257,425,291],{"class":267},[257,427,428],{"class":271},")]",[257,430,431],{"class":267},",\n",[257,433,435,438,441],{"class":259,"line":434},9,[257,436,437],{"class":267},"                }",[257,439,440],{"class":271},")",[257,442,431],{"class":267},[257,444,446,449],{"class":259,"line":445},10,[257,447,448],{"class":271},"            ]",[257,450,431],{"class":267},[257,452,454],{"class":259,"line":453},11,[257,455,456],{"class":267},"        },\n",[257,458,460,463],{"class":259,"line":459},12,[257,461,462],{"class":271},"    ]",[257,464,431],{"class":267},[257,466,468,471,473],{"class":259,"line":467},13,[257,469,470],{"class":267},"}",[257,472,440],{"class":271},[257,474,306],{"class":267},[257,476,478],{"class":259,"line":477},14,[257,479,313],{"emptyLinePlaceholder":312},[257,481,483,485,488,490,493,495,498,501,504],{"class":259,"line":482},15,[257,484,320],{"class":319},[257,486,487],{"class":271}," buffer ",[257,489,326],{"class":267},[257,491,492],{"class":263}," await",[257,494,278],{"class":271},[257,496,497],{"class":267},".",[257,499,500],{"class":332},"toBuffer",[257,502,503],{"class":271},"(doc)",[257,505,306],{"class":267},[247,507,512],{"className":508,"code":509,"filename":510,"language":511,"meta":235,"style":235},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @office-open\u002Fdocx\n","Terminal","bash",[254,513,514],{"__ignoreMap":235},[257,515,516,520,523],{"class":259,"line":260},[257,517,519],{"class":518},"sBMFI","pnpm",[257,521,522],{"class":300}," add",[257,524,525],{"class":300}," @office-open\u002Fdocx\n",[527,528,529,530,533],"template",{"v-slot:title":235},"Generate Office Open XML ",[531,532],"br",{}," documents.",[527,535,536,537,540,541,544,545,548],{"v-slot:description":235},"Create ",[254,538,539],{},".docx",", ",[254,542,543],{},".pptx",", and ",[254,546,547],{},".xlsx"," files programmatically with a declarative TypeScript API. Works in Node.js and browsers.",[527,550,551,557],{"v-slot:links":235},[552,553],"u-button",{"label":554,"to":16,"trailingIcon":555,"size":556},"Get Started","i-lucide-arrow-right","lg",[552,558],{"label":559,"to":560,"variant":561,"size":556,"icon":562,"target":563},"GitHub","https:\u002F\u002Fgithub.com\u002FDemoMacro\u002Foffice-open","outline","i-simple-icons-github","_blank",[565,566,570],"u-container",{"className":567},[568,569],"pb-12","xl:pb-24",[571,572,573,584,593,606,615,624],"u-page-grid",{},[574,575,577,581],"u-page-feature",{"icon":576},"i-lucide-code",[527,578,580],{"unwrap":579,"v-slot:title":235},"p","Declarative API",[527,582,583],{"unwrap":579,"v-slot:description":235},"Describe document structure with intuitive TypeScript classes. Each element maps to valid OOXML markup.",[574,585,587,590],{"icon":586},"i-lucide-layers",[527,588,589],{"unwrap":579,"v-slot:title":235},"Rich Content",[527,591,592],{"unwrap":579,"v-slot:description":235},"Paragraphs, tables, images, charts, SmartArt, math equations, headers, footers, and more.",[574,594,596,599],{"icon":595},"i-simple-icons-typescript",[527,597,598],{"unwrap":579,"v-slot:title":235},"Type-safe",[527,600,601,602,605],{"unwrap":579,"v-slot:description":235},"Full type definitions and autocomplete out of the box. No additional ",[254,603,604],{},"@types"," packages needed.",[574,607,609,612],{"icon":608},"i-lucide-monitor",[527,610,611],{"unwrap":579,"v-slot:title":235},"Cross-platform",[527,613,614],{"unwrap":579,"v-slot:description":235},"Works in Node.js and browsers. Export to Buffer, Blob, Base64, stream, or string.",[574,616,618,621],{"icon":617},"i-lucide-shield-check",[527,619,620],{"unwrap":579,"v-slot:title":235},"OOXML Compliant",[527,622,623],{"unwrap":579,"v-slot:description":235},"Generates files that fully comply with the ISO\u002FIEC 29500 Office Open XML specification.",[574,625,627,630],{"icon":626},"i-lucide-package",[527,628,629],{"unwrap":579,"v-slot:title":235},"Modular Packages",[527,631,632],{"unwrap":579,"v-slot:description":235},"Install only what you need — docx, pptx, xml, or core.",[634,635,636,1114,1123,1126,1144],"u-page-section",{"orientation":242},[244,637,638,816],{},[247,639,641],{"className":249,"code":640,"filename":92,"language":252,"meta":235,"style":235},"import { Document, Packer, Paragraph, TextRun } from \"@office-open\u002Fdocx\";\n\nconst doc = new Document({\n    sections: [\n        {\n            children: [\n                new Paragraph({\n                    children: [new TextRun({ text: \"Hello, World!\", bold: true })],\n                }),\n            ],\n        },\n    ],\n});\n\nawait Packer.toBuffer(doc);\n",[254,642,643,675,679,695,703,707,715,725,765,773,779,783,789,797,801],{"__ignoreMap":235},[257,644,645,647,649,651,653,655,657,659,661,663,665,667,669,671,673],{"class":259,"line":260},[257,646,264],{"class":263},[257,648,268],{"class":267},[257,650,272],{"class":271},[257,652,275],{"class":267},[257,654,278],{"class":271},[257,656,275],{"class":267},[257,658,283],{"class":271},[257,660,275],{"class":267},[257,662,288],{"class":271},[257,664,291],{"class":267},[257,666,294],{"class":263},[257,668,297],{"class":267},[257,670,98],{"class":300},[257,672,303],{"class":267},[257,674,306],{"class":267},[257,676,677],{"class":259,"line":309},[257,678,313],{"emptyLinePlaceholder":312},[257,680,681,683,685,687,689,691,693],{"class":259,"line":316},[257,682,320],{"class":319},[257,684,323],{"class":271},[257,686,326],{"class":267},[257,688,329],{"class":267},[257,690,272],{"class":332},[257,692,335],{"class":271},[257,694,338],{"class":267},[257,696,697,699,701],{"class":259,"line":341},[257,698,345],{"class":344},[257,700,348],{"class":267},[257,702,351],{"class":271},[257,704,705],{"class":259,"line":354},[257,706,357],{"class":267},[257,708,709,711,713],{"class":259,"line":360},[257,710,363],{"class":344},[257,712,348],{"class":267},[257,714,351],{"class":271},[257,716,717,719,721,723],{"class":259,"line":370},[257,718,373],{"class":267},[257,720,283],{"class":332},[257,722,335],{"class":271},[257,724,338],{"class":267},[257,726,727,729,731,733,735,737,739,741,743,745,747,749,751,753,755,757,759,761,763],{"class":259,"line":382},[257,728,385],{"class":344},[257,730,348],{"class":267},[257,732,390],{"class":271},[257,734,393],{"class":267},[257,736,288],{"class":332},[257,738,335],{"class":271},[257,740,400],{"class":267},[257,742,403],{"class":344},[257,744,348],{"class":267},[257,746,297],{"class":267},[257,748,410],{"class":300},[257,750,303],{"class":267},[257,752,275],{"class":267},[257,754,417],{"class":344},[257,756,348],{"class":267},[257,758,423],{"class":422},[257,760,291],{"class":267},[257,762,428],{"class":271},[257,764,431],{"class":267},[257,766,767,769,771],{"class":259,"line":434},[257,768,437],{"class":267},[257,770,440],{"class":271},[257,772,431],{"class":267},[257,774,775,777],{"class":259,"line":445},[257,776,448],{"class":271},[257,778,431],{"class":267},[257,780,781],{"class":259,"line":453},[257,782,456],{"class":267},[257,784,785,787],{"class":259,"line":459},[257,786,462],{"class":271},[257,788,431],{"class":267},[257,790,791,793,795],{"class":259,"line":467},[257,792,470],{"class":267},[257,794,440],{"class":271},[257,796,306],{"class":267},[257,798,799],{"class":259,"line":477},[257,800,313],{"emptyLinePlaceholder":312},[257,802,803,806,808,810,812,814],{"class":259,"line":482},[257,804,805],{"class":263},"await",[257,807,278],{"class":271},[257,809,497],{"class":267},[257,811,500],{"class":332},[257,813,503],{"class":271},[257,815,306],{"class":267},[247,817,819],{"className":249,"code":818,"filename":164,"language":252,"meta":235,"style":235},"import { Presentation, Slide, Shape, Paragraph, TextRun, Packer } from \"@office-open\u002Fpptx\";\n\nconst pres = new Presentation({\n    slides: [\n        new Slide({\n            children: [\n                new Shape({\n                    x: 1,\n                    y: 1,\n                    width: 8,\n                    height: 4,\n                    paragraphs: [\n                        new Paragraph({\n                            children: [new TextRun({ text: \"Hello, World!\", fontSize: 32 })],\n                        }),\n                    ],\n                }),\n            ],\n        }),\n    ],\n});\n\nawait Packer.toBuffer(pres);\n",[254,820,821,864,868,885,894,905,913,923,936,947,959,971,980,991,1034,1043,1051,1060,1067,1077,1084,1093,1098],{"__ignoreMap":235},[257,822,823,825,827,830,832,835,837,840,842,844,846,848,850,852,854,856,858,860,862],{"class":259,"line":260},[257,824,264],{"class":263},[257,826,268],{"class":267},[257,828,829],{"class":271}," Presentation",[257,831,275],{"class":267},[257,833,834],{"class":271}," Slide",[257,836,275],{"class":267},[257,838,839],{"class":271}," Shape",[257,841,275],{"class":267},[257,843,283],{"class":271},[257,845,275],{"class":267},[257,847,288],{"class":271},[257,849,275],{"class":267},[257,851,278],{"class":271},[257,853,291],{"class":267},[257,855,294],{"class":263},[257,857,297],{"class":267},[257,859,170],{"class":300},[257,861,303],{"class":267},[257,863,306],{"class":267},[257,865,866],{"class":259,"line":309},[257,867,313],{"emptyLinePlaceholder":312},[257,869,870,872,875,877,879,881,883],{"class":259,"line":316},[257,871,320],{"class":319},[257,873,874],{"class":271}," pres ",[257,876,326],{"class":267},[257,878,329],{"class":267},[257,880,829],{"class":332},[257,882,335],{"class":271},[257,884,338],{"class":267},[257,886,887,890,892],{"class":259,"line":341},[257,888,889],{"class":344},"    slides",[257,891,348],{"class":267},[257,893,351],{"class":271},[257,895,896,899,901,903],{"class":259,"line":354},[257,897,898],{"class":267},"        new",[257,900,834],{"class":332},[257,902,335],{"class":271},[257,904,338],{"class":267},[257,906,907,909,911],{"class":259,"line":360},[257,908,363],{"class":344},[257,910,348],{"class":267},[257,912,351],{"class":271},[257,914,915,917,919,921],{"class":259,"line":370},[257,916,373],{"class":267},[257,918,839],{"class":332},[257,920,335],{"class":271},[257,922,338],{"class":267},[257,924,925,928,930,934],{"class":259,"line":382},[257,926,927],{"class":344},"                    x",[257,929,348],{"class":267},[257,931,933],{"class":932},"sbssI"," 1",[257,935,431],{"class":267},[257,937,938,941,943,945],{"class":259,"line":434},[257,939,940],{"class":344},"                    y",[257,942,348],{"class":267},[257,944,933],{"class":932},[257,946,431],{"class":267},[257,948,949,952,954,957],{"class":259,"line":445},[257,950,951],{"class":344},"                    width",[257,953,348],{"class":267},[257,955,956],{"class":932}," 8",[257,958,431],{"class":267},[257,960,961,964,966,969],{"class":259,"line":453},[257,962,963],{"class":344},"                    height",[257,965,348],{"class":267},[257,967,968],{"class":932}," 4",[257,970,431],{"class":267},[257,972,973,976,978],{"class":259,"line":459},[257,974,975],{"class":344},"                    paragraphs",[257,977,348],{"class":267},[257,979,351],{"class":271},[257,981,982,985,987,989],{"class":259,"line":467},[257,983,984],{"class":267},"                        new",[257,986,283],{"class":332},[257,988,335],{"class":271},[257,990,338],{"class":267},[257,992,993,996,998,1000,1002,1004,1006,1008,1010,1012,1014,1016,1018,1020,1023,1025,1028,1030,1032],{"class":259,"line":477},[257,994,995],{"class":344},"                            children",[257,997,348],{"class":267},[257,999,390],{"class":271},[257,1001,393],{"class":267},[257,1003,288],{"class":332},[257,1005,335],{"class":271},[257,1007,400],{"class":267},[257,1009,403],{"class":344},[257,1011,348],{"class":267},[257,1013,297],{"class":267},[257,1015,410],{"class":300},[257,1017,303],{"class":267},[257,1019,275],{"class":267},[257,1021,1022],{"class":344}," fontSize",[257,1024,348],{"class":267},[257,1026,1027],{"class":932}," 32",[257,1029,291],{"class":267},[257,1031,428],{"class":271},[257,1033,431],{"class":267},[257,1035,1036,1039,1041],{"class":259,"line":482},[257,1037,1038],{"class":267},"                        }",[257,1040,440],{"class":271},[257,1042,431],{"class":267},[257,1044,1046,1049],{"class":259,"line":1045},16,[257,1047,1048],{"class":271},"                    ]",[257,1050,431],{"class":267},[257,1052,1054,1056,1058],{"class":259,"line":1053},17,[257,1055,437],{"class":267},[257,1057,440],{"class":271},[257,1059,431],{"class":267},[257,1061,1063,1065],{"class":259,"line":1062},18,[257,1064,448],{"class":271},[257,1066,431],{"class":267},[257,1068,1070,1073,1075],{"class":259,"line":1069},19,[257,1071,1072],{"class":267},"        }",[257,1074,440],{"class":271},[257,1076,431],{"class":267},[257,1078,1080,1082],{"class":259,"line":1079},20,[257,1081,462],{"class":271},[257,1083,431],{"class":267},[257,1085,1087,1089,1091],{"class":259,"line":1086},21,[257,1088,470],{"class":267},[257,1090,440],{"class":271},[257,1092,306],{"class":267},[257,1094,1096],{"class":259,"line":1095},22,[257,1097,313],{"emptyLinePlaceholder":312},[257,1099,1101,1103,1105,1107,1109,1112],{"class":259,"line":1100},23,[257,1102,805],{"class":263},[257,1104,278],{"class":271},[257,1106,497],{"class":267},[257,1108,500],{"class":332},[257,1110,1111],{"class":271},"(pres)",[257,1113,306],{"class":267},[527,1115,1116,1117,1122],{"v-slot:title":235},"Build documents with ",[257,1118,1121],{"className":1119},[1120],"text-(--ui-primary)","TypeScript"," classes",[527,1124,1125],{"v-slot:description":235},"Describe your document structure using intuitive classes. Each element produces valid OOXML markup — no XML wrestling required.",[527,1127,1128,1133,1138],{"v-slot:features":235},[574,1129,1130],{"icon":93},[527,1131,1132],{"unwrap":579,"v-slot:title":235},"Create Word documents with paragraphs, tables, images, and charts",[574,1134,1135],{"icon":165},[527,1136,1137],{"unwrap":579,"v-slot:title":235},"Create PowerPoint presentations with shapes, animations, and transitions",[574,1139,1141],{"icon":1140},"i-lucide-download",[527,1142,1143],{"unwrap":579,"v-slot:title":235},"Export to Buffer, Blob, Base64, stream, or string",[527,1145,1146],{"v-slot:links":235},[552,1147],{"label":1148,"to":94,"trailingIcon":555,"variant":1149,"color":1150},"Explore @office-open\u002Fdocx","subtle","neutral",[634,1152,1154,1275,1283,1292,1312],{"orientation":242,":reverse":1153},"true",[244,1155,1156,1219],{},[247,1157,1159],{"className":249,"code":1158,"filename":92,"language":252,"meta":235,"style":235},"import { parseDocx } from \"@office-open\u002Fdocx\";\n\nconst { document, sections, paragraphs } = await parseDocx(buffer);\n",[254,1160,1161,1182,1186],{"__ignoreMap":235},[257,1162,1163,1165,1167,1170,1172,1174,1176,1178,1180],{"class":259,"line":260},[257,1164,264],{"class":263},[257,1166,268],{"class":267},[257,1168,1169],{"class":271}," parseDocx",[257,1171,291],{"class":267},[257,1173,294],{"class":263},[257,1175,297],{"class":267},[257,1177,98],{"class":300},[257,1179,303],{"class":267},[257,1181,306],{"class":267},[257,1183,1184],{"class":259,"line":309},[257,1185,313],{"emptyLinePlaceholder":312},[257,1187,1188,1190,1192,1195,1197,1200,1202,1205,1207,1210,1212,1214,1217],{"class":259,"line":316},[257,1189,320],{"class":319},[257,1191,268],{"class":267},[257,1193,1194],{"class":271}," document",[257,1196,275],{"class":267},[257,1198,1199],{"class":271}," sections",[257,1201,275],{"class":267},[257,1203,1204],{"class":271}," paragraphs ",[257,1206,470],{"class":267},[257,1208,1209],{"class":267}," =",[257,1211,492],{"class":263},[257,1213,1169],{"class":332},[257,1215,1216],{"class":271},"(buffer)",[257,1218,306],{"class":267},[247,1220,1222],{"className":249,"code":1221,"filename":164,"language":252,"meta":235,"style":235},"import { parsePptx } from \"@office-open\u002Fpptx\";\n\nconst { slides, shapes } = await parsePptx(buffer);\n",[254,1223,1224,1245,1249],{"__ignoreMap":235},[257,1225,1226,1228,1230,1233,1235,1237,1239,1241,1243],{"class":259,"line":260},[257,1227,264],{"class":263},[257,1229,268],{"class":267},[257,1231,1232],{"class":271}," parsePptx",[257,1234,291],{"class":267},[257,1236,294],{"class":263},[257,1238,297],{"class":267},[257,1240,170],{"class":300},[257,1242,303],{"class":267},[257,1244,306],{"class":267},[257,1246,1247],{"class":259,"line":309},[257,1248,313],{"emptyLinePlaceholder":312},[257,1250,1251,1253,1255,1258,1260,1263,1265,1267,1269,1271,1273],{"class":259,"line":316},[257,1252,320],{"class":319},[257,1254,268],{"class":267},[257,1256,1257],{"class":271}," slides",[257,1259,275],{"class":267},[257,1261,1262],{"class":271}," shapes ",[257,1264,470],{"class":267},[257,1266,1209],{"class":267},[257,1268,492],{"class":263},[257,1270,1232],{"class":332},[257,1272,1216],{"class":271},[257,1274,306],{"class":267},[527,1276,1277,1278,1282],{"v-slot:title":235},"Read and ",[257,1279,1281],{"className":1280},[1120],"inspect"," existing files",[527,1284,1285,1286,1288,1289,1291],{"v-slot:description":235},"Parse existing ",[254,1287,539],{}," and ",[254,1290,543],{}," files into structured objects. Inspect document content, extract data, or use as a foundation for modifications.",[527,1293,1294,1300,1306],{"v-slot:features":235},[574,1295,1297],{"icon":1296},"i-lucide-search",[527,1298,1299],{"unwrap":579,"v-slot:title":235},"Read document structure, styles, and content",[574,1301,1303],{"icon":1302},"i-lucide-file-output",[527,1304,1305],{"unwrap":579,"v-slot:title":235},"Support for both Node.js Buffer and browser File",[574,1307,1309],{"icon":1308},"i-lucide-arrow-right-left",[527,1310,1311],{"unwrap":579,"v-slot:title":235},"Parse, modify, and re-export in a pipeline",[527,1313,1314],{"v-slot:links":235},[552,1315],{"label":1316,"to":166,"trailingIcon":555,"variant":1149,"color":1150},"Explore @office-open\u002Fpptx",[634,1318,1319,1322],{},[527,1320,1321],{"v-slot:title":235},"Add document generation to your project.",[527,1323,1324],{"v-slot:links":235},[552,1325],{"label":554,"to":16,"trailing-icon":555},[1327,1328,1329],"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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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}",{"title":235,"searchDepth":309,"depth":309,"links":1331},[],"md",{"prose":312},"\u002Fen",{"title":1336,"description":1337},"Generate Office Open XML documents with JavaScript\u002FTypeScript","Create .docx, .pptx, and .xlsx files programmatically with a declarative API. Works in Node.js and browsers.","en\u002Findex","HVmE-EZ_VS4mkBTJlyMUERtG5Uy_BDM_SH4YsYhNLKI",1778853090255]