[{"data":1,"prerenderedAt":1664},["ShallowReactive",2],{"navigation_docs_en":3,"-en-pptx-overview":335,"-en-pptx-overview-surround":1659},[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":182,"body":337,"description":1653,"extension":1654,"links":1655,"meta":1656,"navigation":703,"path":183,"seo":1657,"stem":184,"__hash__":1658},"docs_en\u002Fen\u002F05.pptx\u002F01.overview.md",{"type":338,"value":339,"toc":1644},"minimark",[340,344,416,419,891,895,1149,1153,1166,1257,1260,1271,1410,1417,1420,1430,1507,1512,1516,1535,1599,1640],[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\u002Fpptx\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\u002Fpptx\n",[348,374,377],{"className":350,"code":375,"filename":376,"language":353,"meta":354,"style":354},"npm install @office-open\u002Fpptx\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\u002Fpptx\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\u002Fpptx\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,664],"api-example",{"type":422},"pptx",[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  \"slides\": [\n    {\n      \"children\": [\n        {\n          \"shape\": {\n            \"x\": \"1.3cm\",\n            \"y\": \"1.3cm\",\n            \"width\": \"20cm\",\n            \"height\": \"3cm\",\n            \"textBody\": { \"paragraphs\": [\"Hello World\"] }\n          }\n        }\n      ]\n    }\n  ]\n}\n","JSON","json",[356,430,431,437,456,462,477,483,500,525,545,566,587,628,634,640,646,652,658],{"__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","slides",[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],{"class":361,"line":464},4,[359,466,467],{"class":435},"      \"",[359,469,470],{"class":365},"children",[359,472,449],{"class":435},[359,474,452],{"class":435},[359,476,455],{"class":435},[359,478,480],{"class":361,"line":479},5,[359,481,482],{"class":435},"        {\n",[359,484,486,489,493,495,497],{"class":361,"line":485},6,[359,487,488],{"class":435},"          \"",[359,490,492],{"class":491},"sbssI","shape",[359,494,449],{"class":435},[359,496,452],{"class":435},[359,498,499],{"class":435}," {\n",[359,501,503,506,510,512,514,517,520,522],{"class":361,"line":502},7,[359,504,505],{"class":435},"            \"",[359,507,509],{"class":508},"swJcz","x",[359,511,449],{"class":435},[359,513,452],{"class":435},[359,515,516],{"class":435}," \"",[359,518,519],{"class":368},"1.3cm",[359,521,449],{"class":435},[359,523,524],{"class":435},",\n",[359,526,528,530,533,535,537,539,541,543],{"class":361,"line":527},8,[359,529,505],{"class":435},[359,531,532],{"class":508},"y",[359,534,449],{"class":435},[359,536,452],{"class":435},[359,538,516],{"class":435},[359,540,519],{"class":368},[359,542,449],{"class":435},[359,544,524],{"class":435},[359,546,548,550,553,555,557,559,562,564],{"class":361,"line":547},9,[359,549,505],{"class":435},[359,551,552],{"class":508},"width",[359,554,449],{"class":435},[359,556,452],{"class":435},[359,558,516],{"class":435},[359,560,561],{"class":368},"20cm",[359,563,449],{"class":435},[359,565,524],{"class":435},[359,567,569,571,574,576,578,580,583,585],{"class":361,"line":568},10,[359,570,505],{"class":435},[359,572,573],{"class":508},"height",[359,575,449],{"class":435},[359,577,452],{"class":435},[359,579,516],{"class":435},[359,581,582],{"class":368},"3cm",[359,584,449],{"class":435},[359,586,524],{"class":435},[359,588,590,592,595,597,599,602,604,608,610,612,615,617,620,622,625],{"class":361,"line":589},11,[359,591,505],{"class":435},[359,593,594],{"class":508},"textBody",[359,596,449],{"class":435},[359,598,452],{"class":435},[359,600,601],{"class":435}," {",[359,603,516],{"class":435},[359,605,607],{"class":606},"su27w","paragraphs",[359,609,449],{"class":435},[359,611,452],{"class":435},[359,613,614],{"class":435}," [",[359,616,449],{"class":435},[359,618,619],{"class":368},"Hello World",[359,621,449],{"class":435},[359,623,624],{"class":435},"]",[359,626,627],{"class":435}," }\n",[359,629,631],{"class":361,"line":630},12,[359,632,633],{"class":435},"          }\n",[359,635,637],{"class":361,"line":636},13,[359,638,639],{"class":435},"        }\n",[359,641,643],{"class":361,"line":642},14,[359,644,645],{"class":435},"      ]\n",[359,647,649],{"class":361,"line":648},15,[359,650,651],{"class":435},"    }\n",[359,653,655],{"class":361,"line":654},16,[359,656,657],{"class":435},"  ]\n",[359,659,661],{"class":361,"line":660},17,[359,662,663],{"class":435},"}\n",[348,665,670],{"className":666,"code":667,"filename":668,"language":669,"meta":354,"style":354},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { generatePresentation } from \"@office-open\u002Fpptx\";\n\nconst buffer = await generatePresentation({\n  slides: [\n    {\n      children: [\n        {\n          shape: {\n            x: \"1.3cm\",\n            y: \"1.3cm\",\n            width: \"20cm\",\n            height: \"3cm\",\n            textBody: { paragraphs: [\"Hello World\"] },\n          },\n        },\n      ],\n    },\n  ],\n});\n","TypeScript","ts",[356,671,672,699,705,727,736,740,749,753,762,777,792,807,822,850,855,860,867,872,880],{"__ignoreMap":354},[359,673,674,678,680,684,687,690,692,694,696],{"class":361,"line":362},[359,675,677],{"class":676},"s7zQu","import",[359,679,601],{"class":435},[359,681,683],{"class":682},"sTEyZ"," generatePresentation",[359,685,686],{"class":435}," }",[359,688,689],{"class":676}," from",[359,691,516],{"class":435},[359,693,182],{"class":368},[359,695,449],{"class":435},[359,697,698],{"class":435},";\n",[359,700,701],{"class":361,"line":439},[359,702,704],{"emptyLinePlaceholder":703},true,"\n",[359,706,707,710,713,716,719,722,725],{"class":361,"line":458},[359,708,709],{"class":445},"const",[359,711,712],{"class":682}," buffer ",[359,714,715],{"class":435},"=",[359,717,718],{"class":676}," await",[359,720,683],{"class":721},"s2Zo4",[359,723,724],{"class":682},"(",[359,726,436],{"class":435},[359,728,729,732,734],{"class":361,"line":464},[359,730,731],{"class":508},"  slides",[359,733,452],{"class":435},[359,735,455],{"class":682},[359,737,738],{"class":361,"line":479},[359,739,461],{"class":435},[359,741,742,745,747],{"class":361,"line":485},[359,743,744],{"class":508},"      children",[359,746,452],{"class":435},[359,748,455],{"class":682},[359,750,751],{"class":361,"line":502},[359,752,482],{"class":435},[359,754,755,758,760],{"class":361,"line":527},[359,756,757],{"class":508},"          shape",[359,759,452],{"class":435},[359,761,499],{"class":435},[359,763,764,767,769,771,773,775],{"class":361,"line":547},[359,765,766],{"class":508},"            x",[359,768,452],{"class":435},[359,770,516],{"class":435},[359,772,519],{"class":368},[359,774,449],{"class":435},[359,776,524],{"class":435},[359,778,779,782,784,786,788,790],{"class":361,"line":568},[359,780,781],{"class":508},"            y",[359,783,452],{"class":435},[359,785,516],{"class":435},[359,787,519],{"class":368},[359,789,449],{"class":435},[359,791,524],{"class":435},[359,793,794,797,799,801,803,805],{"class":361,"line":589},[359,795,796],{"class":508},"            width",[359,798,452],{"class":435},[359,800,516],{"class":435},[359,802,561],{"class":368},[359,804,449],{"class":435},[359,806,524],{"class":435},[359,808,809,812,814,816,818,820],{"class":361,"line":630},[359,810,811],{"class":508},"            height",[359,813,452],{"class":435},[359,815,516],{"class":435},[359,817,582],{"class":368},[359,819,449],{"class":435},[359,821,524],{"class":435},[359,823,824,827,829,831,834,836,838,840,842,844,847],{"class":361,"line":636},[359,825,826],{"class":508},"            textBody",[359,828,452],{"class":435},[359,830,601],{"class":435},[359,832,833],{"class":508}," paragraphs",[359,835,452],{"class":435},[359,837,614],{"class":682},[359,839,449],{"class":435},[359,841,619],{"class":368},[359,843,449],{"class":435},[359,845,846],{"class":682},"] ",[359,848,849],{"class":435},"},\n",[359,851,852],{"class":361,"line":642},[359,853,854],{"class":435},"          },\n",[359,856,857],{"class":361,"line":648},[359,858,859],{"class":435},"        },\n",[359,861,862,865],{"class":361,"line":654},[359,863,864],{"class":682},"      ]",[359,866,524],{"class":435},[359,868,869],{"class":361,"line":660},[359,870,871],{"class":435},"    },\n",[359,873,875,878],{"class":361,"line":874},18,[359,876,877],{"class":682},"  ]",[359,879,524],{"class":435},[359,881,883,886,889],{"class":361,"line":882},19,[359,884,885],{"class":435},"}",[359,887,888],{"class":682},")",[359,890,698],{"class":435},[341,892,894],{"id":893},"main-components","Main Components",[896,897,898,911],"table",{},[899,900,901],"thead",{},[902,903,904,908],"tr",{},[905,906,907],"th",{},"Component",[905,909,910],{},"Description",[912,913,914,925,935,944,954,962,972,982,992,1002,1016,1028,1038,1048,1058,1071,1081,1089,1099,1109,1119,1129,1139],"tbody",{},[902,915,916,922],{},[917,918,919,921],"td",{},[356,920,446],{}," array",[917,923,924],{},"Root presentation — array of slides with properties",[902,926,927,932],{},[917,928,929],{},[356,930,931],{},"slide",[917,933,934],{},"A single slide with shapes, media, and layout",[902,936,937,941],{},[917,938,939],{},[356,940,492],{},[917,942,943],{},"Rectangle, rounded rectangle, and custom geometry shapes",[902,945,946,951],{},[917,947,948],{},[356,949,950],{},"group",[917,952,953],{},"Grouped shapes with collective transform",[902,955,956,959],{},[917,957,958],{},"Text paragraphs and runs",[917,960,961],{},"Text paragraphs and runs inside shapes",[902,963,964,969],{},[917,965,966,968],{},[356,967,896],{}," with rows and cells",[917,970,971],{},"Tables with merged cells and styling",[902,973,974,979],{},[917,975,976],{},[356,977,978],{},"picture",[917,980,981],{},"Embedded images on slides",[902,983,984,989],{},[917,985,986],{},[356,987,988],{},"chart",[917,990,991],{},"Bar, line, pie, area, and scatter charts",[902,993,994,999],{},[917,995,996],{},[356,997,998],{},"smartart",[917,1000,1001],{},"Predefined SmartArt diagrams",[902,1003,1004,1013],{},[917,1005,1006,1009,1010],{},[356,1007,1008],{},"video"," \u002F ",[356,1011,1012],{},"audio",[917,1014,1015],{},"Embedded video and audio",[902,1017,1018,1025],{},[917,1019,1020,1009,1022],{},[356,1021,361],{},[356,1023,1024],{},"connector",[917,1026,1027],{},"Lines and connectors between elements",[902,1029,1030,1035],{},[917,1031,1032],{},[356,1033,1034],{},"transition",[917,1036,1037],{},"Slide transition effects",[902,1039,1040,1045],{},[917,1041,1042],{},[356,1043,1044],{},"animation",[917,1046,1047],{},"Shape entrance, emphasis, and exit animations",[902,1049,1050,1055],{},[917,1051,1052],{},[356,1053,1054],{},"background",[917,1056,1057],{},"Slide background — solid, gradient, and picture fills",[902,1059,1060,1068],{},[917,1061,1062,1009,1065],{},[356,1063,1064],{},"headers",[356,1066,1067],{},"footers",[917,1069,1070],{},"Slide footers with date, number, and text",[902,1072,1073,1078],{},[917,1074,1075],{},[356,1076,1077],{},"hyperlink",[917,1079,1080],{},"Clickable hyperlinks on shapes and text",[902,1082,1083,1086],{},[917,1084,1085],{},"Slide masters and layouts",[917,1087,1088],{},"Slide masters and layouts for consistent design",[902,1090,1091,1096],{},[917,1092,1093],{},[356,1094,1095],{},"notes",[917,1097,1098],{},"Speaker notes for each slide",[902,1100,1101,1106],{},[917,1102,1103],{},[356,1104,1105],{},"theme",[917,1107,1108],{},"Color schemes and font schemes",[902,1110,1111,1116],{},[917,1112,1113],{},[356,1114,1115],{},"modifyVerifier",[917,1117,1118],{},"Password protection for presentation modification",[902,1120,1121,1126],{},[917,1122,1123],{},[356,1124,1125],{},"photoAlbum",[917,1127,1128],{},"Photo album layout and frame settings",[902,1130,1131,1136],{},[917,1132,1133],{},[356,1134,1135],{},"ole",[917,1137,1138],{},"Embedded OLE objects",[902,1140,1141,1146],{},[917,1142,1143],{},[356,1144,1145],{},"lockedCanvas",[917,1147,1148],{},"Locked canvas for non-editable drawing objects",[341,1150,1152],{"id":1151},"export-formats","Export Formats",[1154,1155,1156,1157,1160,1161,1165],"p",{},"Every async method has a synchronous counterpart (e.g., ",[356,1158,1159],{},"generatePresentationSync","). See the ",[1162,1163,165],"a",{"href":1164},".\u002Fexport"," page for the full list.",[896,1167,1168,1181],{},[899,1169,1170],{},[902,1171,1172,1175,1178],{},[905,1173,1174],{},"Method",[905,1176,1177],{},"Returns",[905,1179,1180],{},"Use Case",[912,1182,1183,1198,1213,1228,1242],{},[902,1184,1185,1190,1195],{},[917,1186,1187],{},[356,1188,1189],{},"generatePresentation(opts)",[917,1191,1192],{},[356,1193,1194],{},"Buffer",[917,1196,1197],{},"Node.js file I\u002FO",[902,1199,1200,1205,1210],{},[917,1201,1202],{},[356,1203,1204],{},"generatePresentation(opts, { type: \"blob\" })",[917,1206,1207],{},[356,1208,1209],{},"Blob",[917,1211,1212],{},"Browser downloads",[902,1214,1215,1220,1225],{},[917,1216,1217],{},[356,1218,1219],{},"generatePresentation(opts, { type: \"base64\" })",[917,1221,1222],{},[356,1223,1224],{},"string",[917,1226,1227],{},"Data URLs, API payloads",[902,1229,1230,1235,1239],{},[917,1231,1232],{},[356,1233,1234],{},"generatePresentation(opts, { type: \"string\" })",[917,1236,1237],{},[356,1238,1224],{},[917,1240,1241],{},"Debugging, inspection",[902,1243,1244,1249,1254],{},[917,1245,1246],{},[356,1247,1248],{},"generatePresentationStream(opts)",[917,1250,1251],{},[356,1252,1253],{},"ReadableStream\u003CUint8Array>",[917,1255,1256],{},"Streaming large files",[341,1258,172],{"id":1259},"patching",[1154,1261,1262,1263,1266,1267,1270],{},"Modify existing ",[356,1264,1265],{},".pptx"," templates by replacing ",[356,1268,1269],{},"{{placeholder}}"," tokens with new content:",[348,1272,1274],{"className":666,"code":1273,"language":669,"meta":354,"style":354},"import { patchPresentation } from \"@office-open\u002Fpptx\";\n\nconst result = await patchPresentation({\n  outputType: \"nodebuffer\",\n  data: templateBuffer,\n  placeholders: {\n    title: [{ text: \"Updated\", bold: true }],\n  },\n});\n",[356,1275,1276,1297,1301,1318,1334,1346,1355,1397,1402],{"__ignoreMap":354},[359,1277,1278,1280,1282,1285,1287,1289,1291,1293,1295],{"class":361,"line":362},[359,1279,677],{"class":676},[359,1281,601],{"class":435},[359,1283,1284],{"class":682}," patchPresentation",[359,1286,686],{"class":435},[359,1288,689],{"class":676},[359,1290,516],{"class":435},[359,1292,182],{"class":368},[359,1294,449],{"class":435},[359,1296,698],{"class":435},[359,1298,1299],{"class":361,"line":439},[359,1300,704],{"emptyLinePlaceholder":703},[359,1302,1303,1305,1308,1310,1312,1314,1316],{"class":361,"line":458},[359,1304,709],{"class":445},[359,1306,1307],{"class":682}," result ",[359,1309,715],{"class":435},[359,1311,718],{"class":676},[359,1313,1284],{"class":721},[359,1315,724],{"class":682},[359,1317,436],{"class":435},[359,1319,1320,1323,1325,1327,1330,1332],{"class":361,"line":464},[359,1321,1322],{"class":508},"  outputType",[359,1324,452],{"class":435},[359,1326,516],{"class":435},[359,1328,1329],{"class":368},"nodebuffer",[359,1331,449],{"class":435},[359,1333,524],{"class":435},[359,1335,1336,1339,1341,1344],{"class":361,"line":479},[359,1337,1338],{"class":508},"  data",[359,1340,452],{"class":435},[359,1342,1343],{"class":682}," templateBuffer",[359,1345,524],{"class":435},[359,1347,1348,1351,1353],{"class":361,"line":485},[359,1349,1350],{"class":508},"  placeholders",[359,1352,452],{"class":435},[359,1354,499],{"class":435},[359,1356,1357,1360,1362,1364,1367,1370,1372,1374,1377,1379,1382,1385,1387,1391,1393,1395],{"class":361,"line":502},[359,1358,1359],{"class":508},"    title",[359,1361,452],{"class":435},[359,1363,614],{"class":682},[359,1365,1366],{"class":435},"{",[359,1368,1369],{"class":508}," text",[359,1371,452],{"class":435},[359,1373,516],{"class":435},[359,1375,1376],{"class":368},"Updated",[359,1378,449],{"class":435},[359,1380,1381],{"class":435},",",[359,1383,1384],{"class":508}," bold",[359,1386,452],{"class":435},[359,1388,1390],{"class":1389},"sfNiH"," true",[359,1392,686],{"class":435},[359,1394,624],{"class":682},[359,1396,524],{"class":435},[359,1398,1399],{"class":361,"line":527},[359,1400,1401],{"class":435},"  },\n",[359,1403,1404,1406,1408],{"class":361,"line":547},[359,1405,885],{"class":435},[359,1407,888],{"class":682},[359,1409,698],{"class":435},[1154,1411,1412,1413,1416],{},"See ",[1162,1414,172],{"href":1415},".\u002Fpatch"," for full documentation.",[341,1418,72],{"id":1419},"parsing",[1154,1421,1422,1423,1425,1426,1429],{},"Parse existing ",[356,1424,1265],{}," files into ",[356,1427,1428],{},"PresentationOptions"," for inspection or round-trip workflows:",[348,1431,1433],{"className":666,"code":1432,"language":669,"meta":354,"style":354},"import { parsePresentation } from \"@office-open\u002Fpptx\";\n\nconst opts = parsePresentation(buffer);\n\u002F\u002F opts.slides![0].children — shapes, tables, charts, etc.\n\u002F\u002F opts.slides![0].background — slide background\n\u002F\u002F opts.slides![0].transition — slide transition\n\u002F\u002F opts.slides![0].notes — speaker notes\n\u002F\u002F opts.title, opts.creator — core properties\n\u002F\u002F opts.size — slide size (\"16:9\", \"4:3\", or custom)\n",[356,1434,1435,1456,1460,1476,1482,1487,1492,1497,1502],{"__ignoreMap":354},[359,1436,1437,1439,1441,1444,1446,1448,1450,1452,1454],{"class":361,"line":362},[359,1438,677],{"class":676},[359,1440,601],{"class":435},[359,1442,1443],{"class":682}," parsePresentation",[359,1445,686],{"class":435},[359,1447,689],{"class":676},[359,1449,516],{"class":435},[359,1451,182],{"class":368},[359,1453,449],{"class":435},[359,1455,698],{"class":435},[359,1457,1458],{"class":361,"line":439},[359,1459,704],{"emptyLinePlaceholder":703},[359,1461,1462,1464,1467,1469,1471,1474],{"class":361,"line":458},[359,1463,709],{"class":445},[359,1465,1466],{"class":682}," opts ",[359,1468,715],{"class":435},[359,1470,1443],{"class":721},[359,1472,1473],{"class":682},"(buffer)",[359,1475,698],{"class":435},[359,1477,1478],{"class":361,"line":464},[359,1479,1481],{"class":1480},"sHwdD","\u002F\u002F opts.slides![0].children — shapes, tables, charts, etc.\n",[359,1483,1484],{"class":361,"line":479},[359,1485,1486],{"class":1480},"\u002F\u002F opts.slides![0].background — slide background\n",[359,1488,1489],{"class":361,"line":485},[359,1490,1491],{"class":1480},"\u002F\u002F opts.slides![0].transition — slide transition\n",[359,1493,1494],{"class":361,"line":502},[359,1495,1496],{"class":1480},"\u002F\u002F opts.slides![0].notes — speaker notes\n",[359,1498,1499],{"class":361,"line":527},[359,1500,1501],{"class":1480},"\u002F\u002F opts.title, opts.creator — core properties\n",[359,1503,1504],{"class":361,"line":547},[359,1505,1506],{"class":1480},"\u002F\u002F opts.size — slide size (\"16:9\", \"4:3\", or custom)\n",[1154,1508,1412,1509,1416],{},[1162,1510,72],{"href":1511},".\u002Fparsing",[341,1513,1515],{"id":1514},"slide-size","Slide Size",[1154,1517,1518,1519,1522,1523,1526,1527,1530,1531,1534],{},"Use the ",[356,1520,1521],{},"size"," option to set slide dimensions. Accepts ",[356,1524,1525],{},"\"16:9\"",", ",[356,1528,1529],{},"\"4:3\"",", or a custom ",[356,1532,1533],{},"{ width, height }"," object (in EMU or UniversalMeasure).",[348,1536,1538],{"className":666,"code":1537,"language":669,"meta":354,"style":354},"const buffer = await generatePresentation({\n  size: \"16:9\",\n  slides: [\n    \u002F\u002F ...\n  ],\n});\n",[356,1539,1540,1556,1572,1580,1585,1591],{"__ignoreMap":354},[359,1541,1542,1544,1546,1548,1550,1552,1554],{"class":361,"line":362},[359,1543,709],{"class":445},[359,1545,712],{"class":682},[359,1547,715],{"class":435},[359,1549,718],{"class":676},[359,1551,683],{"class":721},[359,1553,724],{"class":682},[359,1555,436],{"class":435},[359,1557,1558,1561,1563,1565,1568,1570],{"class":361,"line":439},[359,1559,1560],{"class":508},"  size",[359,1562,452],{"class":435},[359,1564,516],{"class":435},[359,1566,1567],{"class":368},"16:9",[359,1569,449],{"class":435},[359,1571,524],{"class":435},[359,1573,1574,1576,1578],{"class":361,"line":458},[359,1575,731],{"class":508},[359,1577,452],{"class":435},[359,1579,455],{"class":682},[359,1581,1582],{"class":361,"line":464},[359,1583,1584],{"class":1480},"    \u002F\u002F ...\n",[359,1586,1587,1589],{"class":361,"line":479},[359,1588,877],{"class":682},[359,1590,524],{"class":435},[359,1592,1593,1595,1597],{"class":361,"line":485},[359,1594,885],{"class":435},[359,1596,888],{"class":682},[359,1598,698],{"class":435},[896,1600,1601,1611],{},[899,1602,1603],{},[902,1604,1605,1608],{},[905,1606,1607],{},"Size",[905,1609,1610],{},"Dimensions",[912,1612,1613,1622,1631],{},[902,1614,1615,1619],{},[917,1616,1617],{},[356,1618,1525],{},[917,1620,1621],{},"13.33\" × 7.5\" (widescreen)",[902,1623,1624,1628],{},[917,1625,1626],{},[356,1627,1529],{},[917,1629,1630],{},"10\" × 7.5\" (standard)",[902,1632,1633,1637],{},[917,1634,1635],{},[356,1636,1533],{},[917,1638,1639],{},"Custom size in EMU or UniversalMeasure",[1641,1642,1643],"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 .su27w, html code.shiki .su27w{--shiki-light:#916B53;--shiki-default:#916B53;--shiki-dark:#916B53}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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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":1645},[1646,1647,1648,1649,1650,1651,1652],{"id":343,"depth":439,"text":15},{"id":418,"depth":439,"text":102},{"id":893,"depth":439,"text":894},{"id":1151,"depth":439,"text":1152},{"id":1259,"depth":439,"text":172},{"id":1419,"depth":439,"text":72},{"id":1514,"depth":439,"text":1515},"Generate, parse, and patch .pptx presentations with a declarative TypeScript API","md",null,{},{"title":182,"description":1653},"iF1_-Iu1qtOzTlb2MdSYg9H6O9rScEZSNXqpvpeBDKk",[1660,1662],{"title":172,"path":173,"stem":174,"description":1661,"children":-1},"Modify existing .docx files by replacing placeholders, literal text, or metadata",{"title":102,"path":186,"stem":187,"description":1663,"children":-1},"Create your first PowerPoint presentation in 5 minutes",1787501491363]