[{"data":1,"prerenderedAt":1116},["ShallowReactive",2],{"navigation_docs_en":3,"-en-xlsx-patch":288,"-en-xlsx-patch-surround":1113},[4,23,57,87,163,240],{"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],{"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},"Charts","\u002Fen\u002Fcore\u002Fcharts","en\u002F02.core\u002F06.charts",{"title":54,"path":55,"stem":56},"Parser","\u002Fen\u002Fcore\u002Fparser","en\u002F02.core\u002F07.parser",{"title":58,"icon":59,"path":60,"stem":61,"children":62,"page":22},"XML","i-lucide-code-xml","\u002Fen\u002Fxml","en\u002F03.xml",[63,67,71,75,79,83],{"title":64,"path":65,"stem":66},"@office-open\u002Fxml","\u002Fen\u002Fxml\u002Foverview","en\u002F03.xml\u002F01.overview",{"title":68,"path":69,"stem":70},"Parsing","\u002Fen\u002Fxml\u002Fparsing","en\u002F03.xml\u002F02.parsing",{"title":72,"path":73,"stem":74},"Serialization","\u002Fen\u002Fxml\u002Fserialization","en\u002F03.xml\u002F03.serialization",{"title":76,"path":77,"stem":78},"Query Utilities","\u002Fen\u002Fxml\u002Fquery-utilities","en\u002F03.xml\u002F04.query-utilities",{"title":80,"path":81,"stem":82},"XML Escape","\u002Fen\u002Fxml\u002Fescape","en\u002F03.xml\u002F05.escape",{"title":84,"path":85,"stem":86},"Type Reference","\u002Fen\u002Fxml\u002Ftypes","en\u002F03.xml\u002F06.types",{"title":88,"icon":89,"path":90,"stem":91,"children":92,"page":22},"DOCX","i-lucide-file-text","\u002Fen\u002Fdocx","en\u002F04.docx",[93,97,101,105,109,113,116,120,124,128,132,136,140,144,148,152,156,159],{"title":94,"path":95,"stem":96},"@office-open\u002Fdocx","\u002Fen\u002Fdocx\u002Foverview","en\u002F04.docx\u002F01.overview",{"title":98,"path":99,"stem":100},"Quick Start","\u002Fen\u002Fdocx\u002Fquickstart","en\u002F04.docx\u002F02.quickstart",{"title":102,"path":103,"stem":104},"Text and Paragraphs","\u002Fen\u002Fdocx\u002Ftext-and-paragraphs","en\u002F04.docx\u002F03.text-and-paragraphs",{"title":106,"path":107,"stem":108},"Tables","\u002Fen\u002Fdocx\u002Ftables","en\u002F04.docx\u002F04.tables",{"title":110,"path":111,"stem":112},"Images","\u002Fen\u002Fdocx\u002Fimages","en\u002F04.docx\u002F05.images",{"title":50,"path":114,"stem":115},"\u002Fen\u002Fdocx\u002Fcharts","en\u002F04.docx\u002F06.charts",{"title":117,"path":118,"stem":119},"SmartArt","\u002Fen\u002Fdocx\u002Fsmartart","en\u002F04.docx\u002F07.smartart",{"title":121,"path":122,"stem":123},"Media","\u002Fen\u002Fdocx\u002Fmedia","en\u002F04.docx\u002F08.media",{"title":125,"path":126,"stem":127},"Links","\u002Fen\u002Fdocx\u002Flinks","en\u002F04.docx\u002F09.links",{"title":129,"path":130,"stem":131},"Headers and Footers","\u002Fen\u002Fdocx\u002Fheaders-and-footers","en\u002F04.docx\u002F10.headers-and-footers",{"title":133,"path":134,"stem":135},"Equations and Symbols","\u002Fen\u002Fdocx\u002Fequations-and-symbols","en\u002F04.docx\u002F11.equations-and-symbols",{"title":137,"path":138,"stem":139},"Styles and Themes","\u002Fen\u002Fdocx\u002Fstyles-and-themes","en\u002F04.docx\u002F12.styles-and-themes",{"title":141,"path":142,"stem":143},"Page Layout","\u002Fen\u002Fdocx\u002Fpage-layout","en\u002F04.docx\u002F13.page-layout",{"title":145,"path":146,"stem":147},"References","\u002Fen\u002Fdocx\u002Freferences","en\u002F04.docx\u002F14.references",{"title":149,"path":150,"stem":151},"Comments and Revisions","\u002Fen\u002Fdocx\u002Fcomments-and-revisions","en\u002F04.docx\u002F15.comments-and-revisions",{"title":153,"path":154,"stem":155},"Export","\u002Fen\u002Fdocx\u002Fexport","en\u002F04.docx\u002F16.export",{"title":68,"path":157,"stem":158},"\u002Fen\u002Fdocx\u002Fparsing","en\u002F04.docx\u002F17.parsing",{"title":160,"path":161,"stem":162},"Patching","\u002Fen\u002Fdocx\u002Fpatch","en\u002F04.docx\u002F18.patch",{"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,202,205,208,212,215,219,223,227,231,234,237],{"title":170,"path":171,"stem":172},"@office-open\u002Fpptx","\u002Fen\u002Fpptx\u002Foverview","en\u002F05.pptx\u002F01.overview",{"title":98,"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":106,"path":181,"stem":182},"\u002Fen\u002Fpptx\u002Ftables","en\u002F05.pptx\u002F04.tables",{"title":110,"path":184,"stem":185},"\u002Fen\u002Fpptx\u002Fimages","en\u002F05.pptx\u002F05.images",{"title":50,"path":187,"stem":188},"\u002Fen\u002Fpptx\u002Fcharts","en\u002F05.pptx\u002F06.charts",{"title":117,"path":190,"stem":191},"\u002Fen\u002Fpptx\u002Fsmartart","en\u002F05.pptx\u002F07.smartart",{"title":121,"path":193,"stem":194},"\u002Fen\u002Fpptx\u002Fmedia","en\u002F05.pptx\u002F08.media",{"title":125,"path":196,"stem":197},"\u002Fen\u002Fpptx\u002Flinks","en\u002F05.pptx\u002F09.links",{"title":199,"path":200,"stem":201},"Lines and Connectors","\u002Fen\u002Fpptx\u002Flines-and-connectors","en\u002F05.pptx\u002F10.lines-and-connectors",{"title":129,"path":203,"stem":204},"\u002Fen\u002Fpptx\u002Fheaders-and-footers","en\u002F05.pptx\u002F11.headers-and-footers",{"title":133,"path":206,"stem":207},"\u002Fen\u002Fpptx\u002Fequations-and-symbols","en\u002F05.pptx\u002F12.equations-and-symbols",{"title":209,"path":210,"stem":211},"Slide Layout","\u002Fen\u002Fpptx\u002Fslide-layout","en\u002F05.pptx\u002F13.slide-layout",{"title":137,"path":213,"stem":214},"\u002Fen\u002Fpptx\u002Fstyles-and-themes","en\u002F05.pptx\u002F14.styles-and-themes",{"title":216,"path":217,"stem":218},"Effects and Fills","\u002Fen\u002Fpptx\u002Feffects-and-fills","en\u002F05.pptx\u002F15.effects-and-fills",{"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":228,"path":229,"stem":230},"Comments","\u002Fen\u002Fpptx\u002Fcomments","en\u002F05.pptx\u002F18.comments",{"title":153,"path":232,"stem":233},"\u002Fen\u002Fpptx\u002Fexport","en\u002F05.pptx\u002F19.export",{"title":68,"path":235,"stem":236},"\u002Fen\u002Fpptx\u002Fparsing","en\u002F05.pptx\u002F20.parsing",{"title":160,"path":238,"stem":239},"\u002Fen\u002Fpptx\u002Fpatch","en\u002F05.pptx\u002F21.patch",{"title":241,"icon":242,"path":243,"stem":244,"children":245,"page":22},"XLSX","i-lucide-table-2","\u002Fen\u002Fxlsx","en\u002F06.xlsx",[246,250,253,257,261,265,269,272,275,279,282,285],{"title":247,"path":248,"stem":249},"@office-open\u002Fxlsx","\u002Fen\u002Fxlsx\u002Foverview","en\u002F06.xlsx\u002F01.overview",{"title":98,"path":251,"stem":252},"\u002Fen\u002Fxlsx\u002Fquickstart","en\u002F06.xlsx\u002F02.quickstart",{"title":254,"path":255,"stem":256},"Cells & Data","\u002Fen\u002Fxlsx\u002Fcells","en\u002F06.xlsx\u002F03.cells",{"title":258,"path":259,"stem":260},"Styles","\u002Fen\u002Fxlsx\u002Fstyles","en\u002F06.xlsx\u002F04.styles",{"title":262,"path":263,"stem":264},"Merge, Columns & Rows","\u002Fen\u002Fxlsx\u002Fmerge-col-row","en\u002F06.xlsx\u002F05.merge-col-row",{"title":266,"path":267,"stem":268},"Freeze Panes & Auto Filter","\u002Fen\u002Fxlsx\u002Ffreeze-filter","en\u002F06.xlsx\u002F06.freeze-filter",{"title":110,"path":270,"stem":271},"\u002Fen\u002Fxlsx\u002Fimages","en\u002F06.xlsx\u002F07.images",{"title":50,"path":273,"stem":274},"\u002Fen\u002Fxlsx\u002Fcharts","en\u002F06.xlsx\u002F08.charts",{"title":276,"path":277,"stem":278},"Data Validation","\u002Fen\u002Fxlsx\u002Fvalidation","en\u002F06.xlsx\u002F09.validation",{"title":153,"path":280,"stem":281},"\u002Fen\u002Fxlsx\u002Fexport","en\u002F06.xlsx\u002F10.export",{"title":68,"path":283,"stem":284},"\u002Fen\u002Fxlsx\u002Fparsing","en\u002F06.xlsx\u002F11.parsing",{"title":160,"path":286,"stem":287},"\u002Fen\u002Fxlsx\u002Fpatch","en\u002F06.xlsx\u002F12.patch",{"id":289,"title":160,"body":290,"description":1107,"extension":1108,"links":1109,"meta":1110,"navigation":395,"path":286,"seo":1111,"stem":287,"__hash__":1112},"docs_en\u002Fen\u002F06.xlsx\u002F12.patch.md",{"type":291,"value":292,"toc":1098},"minimark",[293,306,311,317,588,592,599,602,606,609,735,738,742,756,872,876,883,975,979,1067,1071,1094],[294,295,296,297,301,302,305],"p",{},"Patch an existing ",[298,299,300],"code",{},".xlsx"," template by replacing ",[298,303,304],{},"{{placeholder}}"," tokens with new cell values.",[307,308,310],"h2",{"id":309},"patchworkbook","patchWorkbook",[294,312,313,314,316],{},"Replaces placeholders in an existing ",[298,315,300],{}," file:",[318,319,324],"pre",{"className":320,"code":321,"language":322,"meta":323,"style":323},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { patchWorkbook } from \"@office-open\u002Fxlsx\";\nimport { readFileSync, writeFileSync } from \"node:fs\";\n\nconst result = await patchWorkbook({\n  outputType: \"nodebuffer\",\n  data: readFileSync(\"template.xlsx\"),\n  patches: {\n    name: { value: \"John Doe\" },\n    amount: { value: 1500 },\n    date: { value: \"2024-12-31\" },\n  },\n});\n\nwriteFileSync(\"output.xlsx\", result);\n","ts","",[298,325,326,361,390,397,422,442,466,477,502,522,545,551,561,566],{"__ignoreMap":323},[327,328,331,335,339,343,346,349,352,355,358],"span",{"class":329,"line":330},"line",1,[327,332,334],{"class":333},"s7zQu","import",[327,336,338],{"class":337},"sMK4o"," {",[327,340,342],{"class":341},"sTEyZ"," patchWorkbook",[327,344,345],{"class":337}," }",[327,347,348],{"class":333}," from",[327,350,351],{"class":337}," \"",[327,353,247],{"class":354},"sfazB",[327,356,357],{"class":337},"\"",[327,359,360],{"class":337},";\n",[327,362,364,366,368,371,374,377,379,381,383,386,388],{"class":329,"line":363},2,[327,365,334],{"class":333},[327,367,338],{"class":337},[327,369,370],{"class":341}," readFileSync",[327,372,373],{"class":337},",",[327,375,376],{"class":341}," writeFileSync",[327,378,345],{"class":337},[327,380,348],{"class":333},[327,382,351],{"class":337},[327,384,385],{"class":354},"node:fs",[327,387,357],{"class":337},[327,389,360],{"class":337},[327,391,393],{"class":329,"line":392},3,[327,394,396],{"emptyLinePlaceholder":395},true,"\n",[327,398,400,404,407,410,413,416,419],{"class":329,"line":399},4,[327,401,403],{"class":402},"spNyl","const",[327,405,406],{"class":341}," result ",[327,408,409],{"class":337},"=",[327,411,412],{"class":333}," await",[327,414,342],{"class":415},"s2Zo4",[327,417,418],{"class":341},"(",[327,420,421],{"class":337},"{\n",[327,423,425,429,432,434,437,439],{"class":329,"line":424},5,[327,426,428],{"class":427},"swJcz","  outputType",[327,430,431],{"class":337},":",[327,433,351],{"class":337},[327,435,436],{"class":354},"nodebuffer",[327,438,357],{"class":337},[327,440,441],{"class":337},",\n",[327,443,445,448,450,452,454,456,459,461,464],{"class":329,"line":444},6,[327,446,447],{"class":427},"  data",[327,449,431],{"class":337},[327,451,370],{"class":415},[327,453,418],{"class":341},[327,455,357],{"class":337},[327,457,458],{"class":354},"template.xlsx",[327,460,357],{"class":337},[327,462,463],{"class":341},")",[327,465,441],{"class":337},[327,467,469,472,474],{"class":329,"line":468},7,[327,470,471],{"class":427},"  patches",[327,473,431],{"class":337},[327,475,476],{"class":337}," {\n",[327,478,480,483,485,487,490,492,494,497,499],{"class":329,"line":479},8,[327,481,482],{"class":427},"    name",[327,484,431],{"class":337},[327,486,338],{"class":337},[327,488,489],{"class":427}," value",[327,491,431],{"class":337},[327,493,351],{"class":337},[327,495,496],{"class":354},"John Doe",[327,498,357],{"class":337},[327,500,501],{"class":337}," },\n",[327,503,505,508,510,512,514,516,520],{"class":329,"line":504},9,[327,506,507],{"class":427},"    amount",[327,509,431],{"class":337},[327,511,338],{"class":337},[327,513,489],{"class":427},[327,515,431],{"class":337},[327,517,519],{"class":518},"sbssI"," 1500",[327,521,501],{"class":337},[327,523,525,528,530,532,534,536,538,541,543],{"class":329,"line":524},10,[327,526,527],{"class":427},"    date",[327,529,431],{"class":337},[327,531,338],{"class":337},[327,533,489],{"class":427},[327,535,431],{"class":337},[327,537,351],{"class":337},[327,539,540],{"class":354},"2024-12-31",[327,542,357],{"class":337},[327,544,501],{"class":337},[327,546,548],{"class":329,"line":547},11,[327,549,550],{"class":337},"  },\n",[327,552,554,557,559],{"class":329,"line":553},12,[327,555,556],{"class":337},"}",[327,558,463],{"class":341},[327,560,360],{"class":337},[327,562,564],{"class":329,"line":563},13,[327,565,396],{"emptyLinePlaceholder":395},[327,567,569,572,574,576,579,581,583,586],{"class":329,"line":568},14,[327,570,571],{"class":415},"writeFileSync",[327,573,418],{"class":341},[327,575,357],{"class":337},[327,577,578],{"class":354},"output.xlsx",[327,580,357],{"class":337},[327,582,373],{"class":337},[327,584,585],{"class":341}," result)",[327,587,360],{"class":337},[307,589,591],{"id":590},"how-it-works","How It Works",[294,593,594,595,598],{},"The patcher scans all cells in every worksheet for text matching the placeholder pattern (default ",[298,596,597],{},"{{key}}","). When found, it replaces the cell value with the patch content.",[294,600,601],{},"Placeholders that span multiple runs (split by formatting) are handled automatically.",[307,603,605],{"id":604},"patch-values","Patch Values",[294,607,608],{},"Each patch replaces the cell value with a new value:",[318,610,612],{"className":320,"code":611,"language":322,"meta":323,"style":323},"patches: {\n  name: { value: \"Alice\" },             \u002F\u002F String\n  quantity: { value: 42 },              \u002F\u002F Number\n  active: { value: true },              \u002F\u002F Boolean\n  deadline: { value: new Date(\"2024-12-31\") }, \u002F\u002F Date\n}\n",[298,613,614,624,651,672,694,730],{"__ignoreMap":323},[327,615,616,620,622],{"class":329,"line":330},[327,617,619],{"class":618},"sBMFI","patches",[327,621,431],{"class":337},[327,623,476],{"class":337},[327,625,626,629,631,633,635,637,639,642,644,647],{"class":329,"line":363},[327,627,628],{"class":618},"  name",[327,630,431],{"class":337},[327,632,338],{"class":337},[327,634,489],{"class":618},[327,636,431],{"class":337},[327,638,351],{"class":337},[327,640,641],{"class":354},"Alice",[327,643,357],{"class":337},[327,645,646],{"class":337}," },",[327,648,650],{"class":649},"sHwdD","             \u002F\u002F String\n",[327,652,653,656,658,660,662,664,667,669],{"class":329,"line":392},[327,654,655],{"class":618},"  quantity",[327,657,431],{"class":337},[327,659,338],{"class":337},[327,661,489],{"class":618},[327,663,431],{"class":337},[327,665,666],{"class":518}," 42",[327,668,646],{"class":337},[327,670,671],{"class":649},"              \u002F\u002F Number\n",[327,673,674,677,679,681,683,685,689,691],{"class":329,"line":399},[327,675,676],{"class":618},"  active",[327,678,431],{"class":337},[327,680,338],{"class":337},[327,682,489],{"class":618},[327,684,431],{"class":337},[327,686,688],{"class":687},"sfNiH"," true",[327,690,646],{"class":337},[327,692,693],{"class":649},"              \u002F\u002F Boolean\n",[327,695,696,699,701,703,705,707,710,713,715,717,719,721,724,727],{"class":329,"line":424},[327,697,698],{"class":618},"  deadline",[327,700,431],{"class":337},[327,702,338],{"class":337},[327,704,489],{"class":618},[327,706,431],{"class":337},[327,708,709],{"class":337}," new",[327,711,712],{"class":415}," Date",[327,714,418],{"class":427},[327,716,357],{"class":337},[327,718,540],{"class":354},[327,720,357],{"class":337},[327,722,723],{"class":427},") ",[327,725,726],{"class":337},"},",[327,728,729],{"class":649}," \u002F\u002F Date\n",[327,731,732],{"class":329,"line":444},[327,733,734],{"class":337},"}\n",[294,736,737],{},"The patch value type determines the cell type in the output.",[307,739,741],{"id":740},"custom-delimiters","Custom Delimiters",[294,743,744,745,748,749,752,753,431],{},"Default delimiters are ",[298,746,747],{},"{{"," and ",[298,750,751],{},"}}",". Change them with ",[298,754,755],{},"placeholderDelimiters",[318,757,759],{"className":320,"code":758,"language":322,"meta":323,"style":323},"await patchWorkbook({\n  outputType: \"nodebuffer\",\n  data: templateBuffer,\n  patches: { name: { value: \"John\" } },\n  placeholderDelimiters: { start: \"\u003C\u003C\", end: \">>\" },\n});\n",[298,760,761,772,786,797,827,864],{"__ignoreMap":323},[327,762,763,766,768,770],{"class":329,"line":330},[327,764,765],{"class":333},"await",[327,767,342],{"class":415},[327,769,418],{"class":341},[327,771,421],{"class":337},[327,773,774,776,778,780,782,784],{"class":329,"line":363},[327,775,428],{"class":427},[327,777,431],{"class":337},[327,779,351],{"class":337},[327,781,436],{"class":354},[327,783,357],{"class":337},[327,785,441],{"class":337},[327,787,788,790,792,795],{"class":329,"line":392},[327,789,447],{"class":427},[327,791,431],{"class":337},[327,793,794],{"class":341}," templateBuffer",[327,796,441],{"class":337},[327,798,799,801,803,805,808,810,812,814,816,818,821,823,825],{"class":329,"line":399},[327,800,471],{"class":427},[327,802,431],{"class":337},[327,804,338],{"class":337},[327,806,807],{"class":427}," name",[327,809,431],{"class":337},[327,811,338],{"class":337},[327,813,489],{"class":427},[327,815,431],{"class":337},[327,817,351],{"class":337},[327,819,820],{"class":354},"John",[327,822,357],{"class":337},[327,824,345],{"class":337},[327,826,501],{"class":337},[327,828,829,832,834,836,839,841,843,846,848,850,853,855,857,860,862],{"class":329,"line":424},[327,830,831],{"class":427},"  placeholderDelimiters",[327,833,431],{"class":337},[327,835,338],{"class":337},[327,837,838],{"class":427}," start",[327,840,431],{"class":337},[327,842,351],{"class":337},[327,844,845],{"class":354},"\u003C\u003C",[327,847,357],{"class":337},[327,849,373],{"class":337},[327,851,852],{"class":427}," end",[327,854,431],{"class":337},[327,856,351],{"class":337},[327,858,859],{"class":354},">>",[327,861,357],{"class":337},[327,863,501],{"class":337},[327,865,866,868,870],{"class":329,"line":444},[327,867,556],{"class":337},[327,869,463],{"class":341},[327,871,360],{"class":337},[307,873,875],{"id":874},"output-types","Output Types",[294,877,878,879,882],{},"The ",[298,880,881],{},"outputType"," parameter controls the return type:",[884,885,886,900],"table",{},[887,888,889],"thead",{},[890,891,892,897],"tr",{},[893,894,895],"th",{},[298,896,881],{},[893,898,899],{},"Returns",[901,902,903,916,928,940,952,964],"tbody",{},[890,904,905,911],{},[906,907,908],"td",{},[298,909,910],{},"\"nodebuffer\"",[906,912,913],{},[298,914,915],{},"Buffer",[890,917,918,923],{},[906,919,920],{},[298,921,922],{},"\"uint8array\"",[906,924,925],{},[298,926,927],{},"Uint8Array",[890,929,930,935],{},[906,931,932],{},[298,933,934],{},"\"arraybuffer\"",[906,936,937],{},[298,938,939],{},"ArrayBuffer",[890,941,942,947],{},[906,943,944],{},[298,945,946],{},"\"base64\"",[906,948,949],{},[298,950,951],{},"string",[890,953,954,959],{},[906,955,956],{},[298,957,958],{},"\"blob\"",[906,960,961],{},[298,962,963],{},"Blob",[890,965,966,971],{},[906,967,968],{},[298,969,970],{},"\"string\"",[906,972,973],{},[298,974,951],{},[307,976,978],{"id":977},"options","Options",[884,980,981,997],{},[887,982,983],{},[890,984,985,988,991,994],{},[893,986,987],{},"Option",[893,989,990],{},"Type",[893,992,993],{},"Default",[893,995,996],{},"Description",[901,998,999,1015,1032,1048],{},[890,1000,1001,1005,1009,1012],{},[906,1002,1003],{},[298,1004,881],{},[906,1006,1007],{},[298,1008,951],{},[906,1010,1011],{},"—",[906,1013,1014],{},"Output format (see table above)",[890,1016,1017,1022,1027,1029],{},[906,1018,1019],{},[298,1020,1021],{},"data",[906,1023,1024],{},[298,1025,1026],{},"Buffer | Uint8Array | ...",[906,1028,1011],{},[906,1030,1031],{},"Input .xlsx file data",[890,1033,1034,1038,1043,1045],{},[906,1035,1036],{},[298,1037,619],{},[906,1039,1040],{},[298,1041,1042],{},"Record\u003Cstring, IPatch>",[906,1044,1011],{},[906,1046,1047],{},"Map of placeholder name to new value",[890,1049,1050,1054,1059,1064],{},[906,1051,1052],{},[298,1053,755],{},[906,1055,1056],{},[298,1057,1058],{},"{ start: string, end: string}",[906,1060,1061],{},[298,1062,1063],{},"{ {{, }} }",[906,1065,1066],{},"Custom placeholder delimiters",[307,1068,1070],{"id":1069},"tips","Tips",[1072,1073,1074,1078,1081,1091],"ul",{},[1075,1076,1077],"li",{},"Placeholders are replaced in all worksheets across the workbook.",[1075,1079,1080],{},"The original cell's style is preserved when replacing the value.",[1075,1082,1083,1084,1086,1087,1090],{},"Use ",[298,1085,436],{}," for Node.js file I\u002FO and ",[298,1088,1089],{},"blob"," for browser downloads.",[1075,1092,1093],{},"Patch values are plain values (no need for class instances).",[1095,1096,1097],"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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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 .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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":323,"searchDepth":363,"depth":363,"links":1099},[1100,1101,1102,1103,1104,1105,1106],{"id":309,"depth":363,"text":310},{"id":590,"depth":363,"text":591},{"id":604,"depth":363,"text":605},{"id":740,"depth":363,"text":741},{"id":874,"depth":363,"text":875},{"id":977,"depth":363,"text":978},{"id":1069,"depth":363,"text":1070},"Modify existing .xlsx files by replacing placeholders with new content","md",null,{},{"title":160,"description":1107},"D8-0vx-UwnlU1HLv5_uvP39Qw1ew5jQoztgd2eyJk7U",[1114,1109],{"title":68,"path":283,"stem":284,"description":1115,"children":-1},"Parse, inspect, and round-trip .xlsx files",1780139796375]