[{"data":1,"prerenderedAt":1543},["ShallowReactive",2],{"navigation_docs_en":3,"-en-xlsx-overview":335,"-en-xlsx-overview-surround":1538},[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":263,"body":337,"description":1532,"extension":1533,"links":1534,"meta":1535,"navigation":725,"path":264,"seo":1536,"stem":265,"__hash__":1537},"docs_en\u002Fen\u002F06.xlsx\u002F01.overview.md",{"type":338,"value":339,"toc":1524},"minimark",[340,344,416,419,941,945,1159,1162,1174,1326,1334,1337,1347,1409,1414,1418,1429,1520],[341,342,15],"h2",{"id":343},"installation",[345,346,347,373,388,402],"code-group",{},[348,349,355],"pre",{"className":350,"code":351,"filename":352,"language":353,"meta":354,"style":354},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @office-open\u002Fxlsx\n","pnpm","bash","",[356,357,358],"code",{"__ignoreMap":354},[359,360,363,366,370],"span",{"class":361,"line":362},"line",1,[359,364,352],{"class":365},"sBMFI",[359,367,369],{"class":368},"sfazB"," add",[359,371,372],{"class":368}," @office-open\u002Fxlsx\n",[348,374,377],{"className":350,"code":375,"filename":376,"language":353,"meta":354,"style":354},"npm install @office-open\u002Fxlsx\n","npm",[356,378,379],{"__ignoreMap":354},[359,380,381,383,386],{"class":361,"line":362},[359,382,376],{"class":365},[359,384,385],{"class":368}," install",[359,387,372],{"class":368},[348,389,392],{"className":350,"code":390,"filename":391,"language":353,"meta":354,"style":354},"yarn add @office-open\u002Fxlsx\n","yarn",[356,393,394],{"__ignoreMap":354},[359,395,396,398,400],{"class":361,"line":362},[359,397,391],{"class":365},[359,399,369],{"class":368},[359,401,372],{"class":368},[348,403,406],{"className":350,"code":404,"filename":405,"language":353,"meta":354,"style":354},"bun add @office-open\u002Fxlsx\n","bun",[356,407,408],{"__ignoreMap":354},[359,409,410,412,414],{"class":361,"line":362},[359,411,405],{"class":365},[359,413,369],{"class":368},[359,415,372],{"class":368},[341,417,102],{"id":418},"quick-start",[420,421,423,686],"api-example",{"type":422},"xlsx",[348,424,429],{"className":425,"code":426,"filename":427,"language":428,"meta":354,"style":354},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"worksheets\": [\n    {\n      \"name\": \"Sheet1\",\n      \"rows\": [\n        { \"cells\": [{ \"value\": \"Name\" }, { \"value\": \"Score\" }] },\n        { \"cells\": [{ \"value\": \"Alice\" }, { \"value\": 95 }] },\n        { \"cells\": [{ \"value\": \"Bob\" }, { \"value\": 88 }] }\n      ]\n    }\n  ]\n}\n","JSON","json",[356,430,431,437,456,462,486,500,563,612,662,668,674,680],{"__ignoreMap":354},[359,432,433],{"class":361,"line":362},[359,434,436],{"class":435},"sMK4o","{\n",[359,438,440,443,447,450,453],{"class":361,"line":439},2,[359,441,442],{"class":435},"  \"",[359,444,446],{"class":445},"spNyl","worksheets",[359,448,449],{"class":435},"\"",[359,451,452],{"class":435},":",[359,454,455],{"class":435}," [\n",[359,457,459],{"class":361,"line":458},3,[359,460,461],{"class":435},"    {\n",[359,463,465,468,471,473,475,478,481,483],{"class":361,"line":464},4,[359,466,467],{"class":435},"      \"",[359,469,470],{"class":365},"name",[359,472,449],{"class":435},[359,474,452],{"class":435},[359,476,477],{"class":435}," \"",[359,479,480],{"class":368},"Sheet1",[359,482,449],{"class":435},[359,484,485],{"class":435},",\n",[359,487,489,491,494,496,498],{"class":361,"line":488},5,[359,490,467],{"class":435},[359,492,493],{"class":365},"rows",[359,495,449],{"class":435},[359,497,452],{"class":435},[359,499,455],{"class":435},[359,501,503,506,508,512,514,516,519,521,525,527,529,531,534,536,539,542,544,546,548,550,552,555,557,560],{"class":361,"line":502},6,[359,504,505],{"class":435},"        {",[359,507,477],{"class":435},[359,509,511],{"class":510},"sbssI","cells",[359,513,449],{"class":435},[359,515,452],{"class":435},[359,517,518],{"class":435}," [{",[359,520,477],{"class":435},[359,522,524],{"class":523},"swJcz","value",[359,526,449],{"class":435},[359,528,452],{"class":435},[359,530,477],{"class":435},[359,532,533],{"class":368},"Name",[359,535,449],{"class":435},[359,537,538],{"class":435}," },",[359,540,541],{"class":435}," {",[359,543,477],{"class":435},[359,545,524],{"class":523},[359,547,449],{"class":435},[359,549,452],{"class":435},[359,551,477],{"class":435},[359,553,554],{"class":368},"Score",[359,556,449],{"class":435},[359,558,559],{"class":435}," }]",[359,561,562],{"class":435}," },\n",[359,564,566,568,570,572,574,576,578,580,582,584,586,588,591,593,595,597,599,601,603,605,608,610],{"class":361,"line":565},7,[359,567,505],{"class":435},[359,569,477],{"class":435},[359,571,511],{"class":510},[359,573,449],{"class":435},[359,575,452],{"class":435},[359,577,518],{"class":435},[359,579,477],{"class":435},[359,581,524],{"class":523},[359,583,449],{"class":435},[359,585,452],{"class":435},[359,587,477],{"class":435},[359,589,590],{"class":368},"Alice",[359,592,449],{"class":435},[359,594,538],{"class":435},[359,596,541],{"class":435},[359,598,477],{"class":435},[359,600,524],{"class":523},[359,602,449],{"class":435},[359,604,452],{"class":435},[359,606,607],{"class":510}," 95",[359,609,559],{"class":435},[359,611,562],{"class":435},[359,613,615,617,619,621,623,625,627,629,631,633,635,637,640,642,644,646,648,650,652,654,657,659],{"class":361,"line":614},8,[359,616,505],{"class":435},[359,618,477],{"class":435},[359,620,511],{"class":510},[359,622,449],{"class":435},[359,624,452],{"class":435},[359,626,518],{"class":435},[359,628,477],{"class":435},[359,630,524],{"class":523},[359,632,449],{"class":435},[359,634,452],{"class":435},[359,636,477],{"class":435},[359,638,639],{"class":368},"Bob",[359,641,449],{"class":435},[359,643,538],{"class":435},[359,645,541],{"class":435},[359,647,477],{"class":435},[359,649,524],{"class":523},[359,651,449],{"class":435},[359,653,452],{"class":435},[359,655,656],{"class":510}," 88",[359,658,559],{"class":435},[359,660,661],{"class":435}," }\n",[359,663,665],{"class":361,"line":664},9,[359,666,667],{"class":435},"      ]\n",[359,669,671],{"class":361,"line":670},10,[359,672,673],{"class":435},"    }\n",[359,675,677],{"class":361,"line":676},11,[359,678,679],{"class":435},"  ]\n",[359,681,683],{"class":361,"line":682},12,[359,684,685],{"class":435},"}\n",[348,687,692],{"className":688,"code":689,"filename":690,"language":691,"meta":354,"style":354},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { generateWorkbook } from \"@office-open\u002Fxlsx\";\n\nconst buffer = await generateWorkbook({\n  worksheets: [\n    {\n      name: \"Sheet1\",\n      rows: [\n        { cells: [{ value: \"Name\" }, { value: \"Score\" }] },\n        { cells: [{ value: \"Alice\" }, { value: 95 }] },\n        { cells: [{ value: \"Bob\" }, { value: 88 }] },\n      ],\n    },\n  ],\n});\n","TypeScript","ts",[356,693,694,721,727,749,758,762,777,786,834,872,910,917,922,930],{"__ignoreMap":354},[359,695,696,700,702,706,709,712,714,716,718],{"class":361,"line":362},[359,697,699],{"class":698},"s7zQu","import",[359,701,541],{"class":435},[359,703,705],{"class":704},"sTEyZ"," generateWorkbook",[359,707,708],{"class":435}," }",[359,710,711],{"class":698}," from",[359,713,477],{"class":435},[359,715,263],{"class":368},[359,717,449],{"class":435},[359,719,720],{"class":435},";\n",[359,722,723],{"class":361,"line":439},[359,724,726],{"emptyLinePlaceholder":725},true,"\n",[359,728,729,732,735,738,741,744,747],{"class":361,"line":458},[359,730,731],{"class":445},"const",[359,733,734],{"class":704}," buffer ",[359,736,737],{"class":435},"=",[359,739,740],{"class":698}," await",[359,742,705],{"class":743},"s2Zo4",[359,745,746],{"class":704},"(",[359,748,436],{"class":435},[359,750,751,754,756],{"class":361,"line":464},[359,752,753],{"class":523},"  worksheets",[359,755,452],{"class":435},[359,757,455],{"class":704},[359,759,760],{"class":361,"line":488},[359,761,461],{"class":435},[359,763,764,767,769,771,773,775],{"class":361,"line":502},[359,765,766],{"class":523},"      name",[359,768,452],{"class":435},[359,770,477],{"class":435},[359,772,480],{"class":368},[359,774,449],{"class":435},[359,776,485],{"class":435},[359,778,779,782,784],{"class":361,"line":565},[359,780,781],{"class":523},"      rows",[359,783,452],{"class":435},[359,785,455],{"class":704},[359,787,788,790,793,795,798,801,804,806,808,810,812,814,816,818,820,822,824,826,828,831],{"class":361,"line":614},[359,789,505],{"class":435},[359,791,792],{"class":523}," cells",[359,794,452],{"class":435},[359,796,797],{"class":704}," [",[359,799,800],{"class":435},"{",[359,802,803],{"class":523}," value",[359,805,452],{"class":435},[359,807,477],{"class":435},[359,809,533],{"class":368},[359,811,449],{"class":435},[359,813,538],{"class":435},[359,815,541],{"class":435},[359,817,803],{"class":523},[359,819,452],{"class":435},[359,821,477],{"class":435},[359,823,554],{"class":368},[359,825,449],{"class":435},[359,827,708],{"class":435},[359,829,830],{"class":704},"] ",[359,832,833],{"class":435},"},\n",[359,835,836,838,840,842,844,846,848,850,852,854,856,858,860,862,864,866,868,870],{"class":361,"line":664},[359,837,505],{"class":435},[359,839,792],{"class":523},[359,841,452],{"class":435},[359,843,797],{"class":704},[359,845,800],{"class":435},[359,847,803],{"class":523},[359,849,452],{"class":435},[359,851,477],{"class":435},[359,853,590],{"class":368},[359,855,449],{"class":435},[359,857,538],{"class":435},[359,859,541],{"class":435},[359,861,803],{"class":523},[359,863,452],{"class":435},[359,865,607],{"class":510},[359,867,708],{"class":435},[359,869,830],{"class":704},[359,871,833],{"class":435},[359,873,874,876,878,880,882,884,886,888,890,892,894,896,898,900,902,904,906,908],{"class":361,"line":670},[359,875,505],{"class":435},[359,877,792],{"class":523},[359,879,452],{"class":435},[359,881,797],{"class":704},[359,883,800],{"class":435},[359,885,803],{"class":523},[359,887,452],{"class":435},[359,889,477],{"class":435},[359,891,639],{"class":368},[359,893,449],{"class":435},[359,895,538],{"class":435},[359,897,541],{"class":435},[359,899,803],{"class":523},[359,901,452],{"class":435},[359,903,656],{"class":510},[359,905,708],{"class":435},[359,907,830],{"class":704},[359,909,833],{"class":435},[359,911,912,915],{"class":361,"line":676},[359,913,914],{"class":704},"      ]",[359,916,485],{"class":435},[359,918,919],{"class":361,"line":682},[359,920,921],{"class":435},"    },\n",[359,923,925,928],{"class":361,"line":924},13,[359,926,927],{"class":704},"  ]",[359,929,485],{"class":435},[359,931,933,936,939],{"class":361,"line":932},14,[359,934,935],{"class":435},"}",[359,937,938],{"class":704},")",[359,940,720],{"class":435},[341,942,944],{"id":943},"main-components","Main Components",[946,947,948,961],"table",{},[949,950,951],"thead",{},[952,953,954,958],"tr",{},[955,956,957],"th",{},"Component",[955,959,960],{},"Description",[962,963,964,975,985,1000,1010,1020,1029,1039,1049,1059,1069,1079,1089,1099,1109,1119,1129,1139,1149],"tbody",{},[952,965,966,972],{},[967,968,969,971],"td",{},[356,970,446],{}," array",[967,973,974],{},"Root workbook options with worksheets and properties",[952,976,977,982],{},[967,978,979],{},[356,980,981],{},"worksheet",[967,983,984],{},"Individual sheet with rows, styles, and features",[952,986,987,997],{},[967,988,989,991,992,991,994],{},[356,990,493],{},", ",[356,993,511],{},[356,995,996],{},"columns",[967,998,999],{},"Rows, cells, and columns with value, style, height, and width",[952,1001,1002,1007],{},[967,1003,1004],{},[356,1005,1006],{},"styles",[967,1008,1009],{},"Index-based style system (fonts, fills, borders)",[952,1011,1012,1017],{},[967,1013,1014],{},[356,1015,1016],{},"sharedStrings",[967,1018,1019],{},"Shared string table for string deduplication",[952,1021,1022,1026],{},[967,1023,1024],{},[356,1025,946],{},[967,1027,1028],{},"Data tables with filtering, sorting, and totals",[952,1030,1031,1036],{},[967,1032,1033],{},[356,1034,1035],{},"pivotTable",[967,1037,1038],{},"Data pivot tables with aggregation and filtering",[952,1040,1041,1046],{},[967,1042,1043],{},[356,1044,1045],{},"drawing",[967,1047,1048],{},"Images and charts anchored to cells",[952,1050,1051,1056],{},[967,1052,1053],{},[356,1054,1055],{},"comments",[967,1057,1058],{},"Cell comments with author tracking and rich text",[952,1060,1061,1066],{},[967,1062,1063],{},[356,1064,1065],{},"hyperlink",[967,1067,1068],{},"External and internal hyperlinks",[952,1070,1071,1076],{},[967,1072,1073],{},[356,1074,1075],{},"mergeCells",[967,1077,1078],{},"Merge cell ranges across rows and columns",[952,1080,1081,1086],{},[967,1082,1083],{},[356,1084,1085],{},"dataValidation",[967,1087,1088],{},"List, number, date, and custom validation rules",[952,1090,1091,1096],{},[967,1092,1093],{},[356,1094,1095],{},"conditionalFormatting",[967,1097,1098],{},"Cell value-based formatting rules",[952,1100,1101,1106],{},[967,1102,1103],{},[356,1104,1105],{},"autoFilter",[967,1107,1108],{},"Column header filter dropdowns",[952,1110,1111,1116],{},[967,1112,1113],{},[356,1114,1115],{},"freezePane",[967,1117,1118],{},"Freeze rows and columns for scrollable headers",[952,1120,1121,1126],{},[967,1122,1123],{},[356,1124,1125],{},"sheetProtection",[967,1127,1128],{},"Password-protect worksheets and editable ranges",[952,1130,1131,1136],{},[967,1132,1133],{},[356,1134,1135],{},"revisionLog",[967,1137,1138],{},"Track changes with revision logs",[952,1140,1141,1146],{},[967,1142,1143],{},[356,1144,1145],{},"pageSetup",[967,1147,1148],{},"Page size, margins, orientation, and print settings",[952,1150,1151,1156],{},[967,1152,1153],{},[356,1154,1155],{},"headerFooter",[967,1157,1158],{},"Print headers and footers",[341,1160,172],{"id":1161},"patching",[1163,1164,1165,1166,1169,1170,1173],"p",{},"Modify existing ",[356,1167,1168],{},".xlsx"," templates by replacing ",[356,1171,1172],{},"{{placeholder}}"," tokens with new content:",[348,1175,1177],{"className":688,"code":1176,"language":691,"meta":354,"style":354},"import { patchWorkbook } from \"@office-open\u002Fxlsx\";\n\nconst result = await patchWorkbook({\n  outputType: \"nodebuffer\",\n  data: templateBuffer,\n  placeholders: {\n    name: \"John Doe\",\n    amount: 1500,\n    date: new Date(\"2024-12-31\"),\n  },\n});\n",[356,1178,1179,1200,1204,1221,1237,1249,1259,1275,1287,1313,1318],{"__ignoreMap":354},[359,1180,1181,1183,1185,1188,1190,1192,1194,1196,1198],{"class":361,"line":362},[359,1182,699],{"class":698},[359,1184,541],{"class":435},[359,1186,1187],{"class":704}," patchWorkbook",[359,1189,708],{"class":435},[359,1191,711],{"class":698},[359,1193,477],{"class":435},[359,1195,263],{"class":368},[359,1197,449],{"class":435},[359,1199,720],{"class":435},[359,1201,1202],{"class":361,"line":439},[359,1203,726],{"emptyLinePlaceholder":725},[359,1205,1206,1208,1211,1213,1215,1217,1219],{"class":361,"line":458},[359,1207,731],{"class":445},[359,1209,1210],{"class":704}," result ",[359,1212,737],{"class":435},[359,1214,740],{"class":698},[359,1216,1187],{"class":743},[359,1218,746],{"class":704},[359,1220,436],{"class":435},[359,1222,1223,1226,1228,1230,1233,1235],{"class":361,"line":464},[359,1224,1225],{"class":523},"  outputType",[359,1227,452],{"class":435},[359,1229,477],{"class":435},[359,1231,1232],{"class":368},"nodebuffer",[359,1234,449],{"class":435},[359,1236,485],{"class":435},[359,1238,1239,1242,1244,1247],{"class":361,"line":488},[359,1240,1241],{"class":523},"  data",[359,1243,452],{"class":435},[359,1245,1246],{"class":704}," templateBuffer",[359,1248,485],{"class":435},[359,1250,1251,1254,1256],{"class":361,"line":502},[359,1252,1253],{"class":523},"  placeholders",[359,1255,452],{"class":435},[359,1257,1258],{"class":435}," {\n",[359,1260,1261,1264,1266,1268,1271,1273],{"class":361,"line":565},[359,1262,1263],{"class":523},"    name",[359,1265,452],{"class":435},[359,1267,477],{"class":435},[359,1269,1270],{"class":368},"John Doe",[359,1272,449],{"class":435},[359,1274,485],{"class":435},[359,1276,1277,1280,1282,1285],{"class":361,"line":614},[359,1278,1279],{"class":523},"    amount",[359,1281,452],{"class":435},[359,1283,1284],{"class":510}," 1500",[359,1286,485],{"class":435},[359,1288,1289,1292,1294,1297,1300,1302,1304,1307,1309,1311],{"class":361,"line":664},[359,1290,1291],{"class":523},"    date",[359,1293,452],{"class":435},[359,1295,1296],{"class":435}," new",[359,1298,1299],{"class":743}," Date",[359,1301,746],{"class":704},[359,1303,449],{"class":435},[359,1305,1306],{"class":368},"2024-12-31",[359,1308,449],{"class":435},[359,1310,938],{"class":704},[359,1312,485],{"class":435},[359,1314,1315],{"class":361,"line":670},[359,1316,1317],{"class":435},"  },\n",[359,1319,1320,1322,1324],{"class":361,"line":676},[359,1321,935],{"class":435},[359,1323,938],{"class":704},[359,1325,720],{"class":435},[1163,1327,1328,1329,1333],{},"See ",[1330,1331,172],"a",{"href":1332},".\u002Fpatch"," for full documentation.",[341,1335,72],{"id":1336},"parsing",[1163,1338,1339,1340,1342,1343,1346],{},"Parse existing ",[356,1341,1168],{}," files into ",[356,1344,1345],{},"WorkbookOptions"," for inspection or round-trip workflows:",[348,1348,1350],{"className":688,"code":1349,"language":691,"meta":354,"style":354},"import { parseWorkbook } from \"@office-open\u002Fxlsx\";\n\nconst opts = parseWorkbook(buffer);\n\u002F\u002F opts.worksheets — worksheet array\n\u002F\u002F opts.worksheets[0].rows — rows with cells\n\u002F\u002F opts.title, opts.creator — core properties\n",[356,1351,1352,1373,1377,1393,1399,1404],{"__ignoreMap":354},[359,1353,1354,1356,1358,1361,1363,1365,1367,1369,1371],{"class":361,"line":362},[359,1355,699],{"class":698},[359,1357,541],{"class":435},[359,1359,1360],{"class":704}," parseWorkbook",[359,1362,708],{"class":435},[359,1364,711],{"class":698},[359,1366,477],{"class":435},[359,1368,263],{"class":368},[359,1370,449],{"class":435},[359,1372,720],{"class":435},[359,1374,1375],{"class":361,"line":439},[359,1376,726],{"emptyLinePlaceholder":725},[359,1378,1379,1381,1384,1386,1388,1391],{"class":361,"line":458},[359,1380,731],{"class":445},[359,1382,1383],{"class":704}," opts ",[359,1385,737],{"class":435},[359,1387,1360],{"class":743},[359,1389,1390],{"class":704},"(buffer)",[359,1392,720],{"class":435},[359,1394,1395],{"class":361,"line":464},[359,1396,1398],{"class":1397},"sHwdD","\u002F\u002F opts.worksheets — worksheet array\n",[359,1400,1401],{"class":361,"line":488},[359,1402,1403],{"class":1397},"\u002F\u002F opts.worksheets[0].rows — rows with cells\n",[359,1405,1406],{"class":361,"line":502},[359,1407,1408],{"class":1397},"\u002F\u002F opts.title, opts.creator — core properties\n",[1163,1410,1328,1411,1333],{},[1330,1412,72],{"href":1413},".\u002Fparsing",[341,1415,1417],{"id":1416},"export-formats","Export Formats",[1163,1419,1420,1421,1424,1425,1428],{},"Every async function has a synchronous counterpart (e.g., ",[356,1422,1423],{},"generateWorkbookSync","). See the ",[1330,1426,165],{"href":1427},".\u002Fexport"," page for the full list.",[946,1430,1431,1444],{},[949,1432,1433],{},[952,1434,1435,1438,1441],{},[955,1436,1437],{},"Function",[955,1439,1440],{},"Returns",[955,1442,1443],{},"Use Case",[962,1445,1446,1461,1476,1491,1505],{},[952,1447,1448,1453,1458],{},[967,1449,1450],{},[356,1451,1452],{},"generateWorkbook(opts)",[967,1454,1455],{},[356,1456,1457],{},"Buffer",[967,1459,1460],{},"Node.js file I\u002FO",[952,1462,1463,1468,1473],{},[967,1464,1465],{},[356,1466,1467],{},"generateWorkbook(opts, { type: \"blob\" })",[967,1469,1470],{},[356,1471,1472],{},"Blob",[967,1474,1475],{},"Browser downloads",[952,1477,1478,1483,1488],{},[967,1479,1480],{},[356,1481,1482],{},"generateWorkbook(opts, { type: \"base64\" })",[967,1484,1485],{},[356,1486,1487],{},"string",[967,1489,1490],{},"Data URLs, API payloads",[952,1492,1493,1498,1502],{},[967,1494,1495],{},[356,1496,1497],{},"generateWorkbook(opts, { type: \"string\" })",[967,1499,1500],{},[356,1501,1487],{},[967,1503,1504],{},"Debugging, inspection",[952,1506,1507,1512,1517],{},[967,1508,1509],{},[356,1510,1511],{},"generateWorkbookStream(opts)",[967,1513,1514],{},[356,1515,1516],{},"ReadableStream\u003CUint8Array>",[967,1518,1519],{},"Streaming large files",[1521,1522,1523],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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}",{"title":354,"searchDepth":439,"depth":439,"links":1525},[1526,1527,1528,1529,1530,1531],{"id":343,"depth":439,"text":15},{"id":418,"depth":439,"text":102},{"id":943,"depth":439,"text":944},{"id":1161,"depth":439,"text":172},{"id":1336,"depth":439,"text":72},{"id":1416,"depth":439,"text":1417},"Generate, parse, and patch .xlsx spreadsheets with a declarative TypeScript API","md",null,{},{"title":263,"description":1532},"5ctqhEu2I92Je0BmVJ1epHbbU4I9tihRdshgovXNKJs",[1539,1541],{"title":172,"path":254,"stem":255,"description":1540,"children":-1},"Modify existing .pptx files by replacing placeholders, literal text, or metadata",{"title":102,"path":267,"stem":268,"description":1542,"children":-1},"Create your first .xlsx spreadsheet in 5 minutes with @office-open\u002Fxlsx",1787501491444]