[{"data":1,"prerenderedAt":1661},["ShallowReactive",2],{"navigation_docs_en":3,"-en-docx-properties":335,"-en-docx-properties-surround":1656},[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":161,"body":337,"description":1650,"extension":1651,"links":1652,"meta":1653,"navigation":568,"path":162,"seo":1654,"stem":163,"__hash__":1655},"docs_en\u002Fen\u002F04.docx\u002F17.properties.md",{"type":338,"value":339,"toc":1645},"minimark",[340,345,354,710,883,887,912,1131,1323,1327,1336,1601,1641],[341,342,344],"h2",{"id":343},"core-properties","Core Properties",[346,347,348,349,353],"p",{},"Core metadata is written to ",[350,351,352],"code",{},"docProps\u002Fcore.xml"," and read back on parse. Set these fields directly on the document options:",[355,356,358,528],"api-example",{"type":357},"docx",[359,360,366],"pre",{"className":361,"code":362,"filename":363,"language":364,"meta":365,"style":365},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"title\": \"Quarterly Report\",\n  \"subject\": \"Finance\",\n  \"creator\": \"Jane Doe\",\n  \"keywords\": \"q4, finance\",\n  \"description\": \"Quarterly financial report\",\n  \"revision\": 2,\n  \"sections\": []\n}\n","JSON","json","",[350,367,368,377,405,426,447,468,489,507,522],{"__ignoreMap":365},[369,370,373],"span",{"class":371,"line":372},"line",1,[369,374,376],{"class":375},"sMK4o","{\n",[369,378,380,383,387,390,393,396,400,402],{"class":371,"line":379},2,[369,381,382],{"class":375},"  \"",[369,384,386],{"class":385},"spNyl","title",[369,388,389],{"class":375},"\"",[369,391,392],{"class":375},":",[369,394,395],{"class":375}," \"",[369,397,399],{"class":398},"sfazB","Quarterly Report",[369,401,389],{"class":375},[369,403,404],{"class":375},",\n",[369,406,408,410,413,415,417,419,422,424],{"class":371,"line":407},3,[369,409,382],{"class":375},[369,411,412],{"class":385},"subject",[369,414,389],{"class":375},[369,416,392],{"class":375},[369,418,395],{"class":375},[369,420,421],{"class":398},"Finance",[369,423,389],{"class":375},[369,425,404],{"class":375},[369,427,429,431,434,436,438,440,443,445],{"class":371,"line":428},4,[369,430,382],{"class":375},[369,432,433],{"class":385},"creator",[369,435,389],{"class":375},[369,437,392],{"class":375},[369,439,395],{"class":375},[369,441,442],{"class":398},"Jane Doe",[369,444,389],{"class":375},[369,446,404],{"class":375},[369,448,450,452,455,457,459,461,464,466],{"class":371,"line":449},5,[369,451,382],{"class":375},[369,453,454],{"class":385},"keywords",[369,456,389],{"class":375},[369,458,392],{"class":375},[369,460,395],{"class":375},[369,462,463],{"class":398},"q4, finance",[369,465,389],{"class":375},[369,467,404],{"class":375},[369,469,471,473,476,478,480,482,485,487],{"class":371,"line":470},6,[369,472,382],{"class":375},[369,474,475],{"class":385},"description",[369,477,389],{"class":375},[369,479,392],{"class":375},[369,481,395],{"class":375},[369,483,484],{"class":398},"Quarterly financial report",[369,486,389],{"class":375},[369,488,404],{"class":375},[369,490,492,494,497,499,501,505],{"class":371,"line":491},7,[369,493,382],{"class":375},[369,495,496],{"class":385},"revision",[369,498,389],{"class":375},[369,500,392],{"class":375},[369,502,504],{"class":503},"sbssI"," 2",[369,506,404],{"class":375},[369,508,510,512,515,517,519],{"class":371,"line":509},8,[369,511,382],{"class":375},[369,513,514],{"class":385},"sections",[369,516,389],{"class":375},[369,518,392],{"class":375},[369,520,521],{"class":375}," []\n",[369,523,525],{"class":371,"line":524},9,[369,526,527],{"class":375},"}\n",[359,529,534],{"className":530,"code":531,"filename":532,"language":533,"meta":365,"style":365},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { generateDocument } from \"@office-open\u002Fdocx\";\n\nconst buffer = await generateDocument({\n  title: \"Quarterly Report\",\n  subject: \"Finance\",\n  creator: \"Jane Doe\",\n  keywords: \"q4, finance\",\n  description: \"Quarterly financial report\",\n  revision: 2,\n  sections: [\u002F* … *\u002F],\n});\n","TypeScript","ts",[350,535,536,564,570,592,608,623,638,653,668,679,699],{"__ignoreMap":365},[369,537,538,542,545,549,552,555,557,559,561],{"class":371,"line":372},[369,539,541],{"class":540},"s7zQu","import",[369,543,544],{"class":375}," {",[369,546,548],{"class":547},"sTEyZ"," generateDocument",[369,550,551],{"class":375}," }",[369,553,554],{"class":540}," from",[369,556,395],{"class":375},[369,558,98],{"class":398},[369,560,389],{"class":375},[369,562,563],{"class":375},";\n",[369,565,566],{"class":371,"line":379},[369,567,569],{"emptyLinePlaceholder":568},true,"\n",[369,571,572,575,578,581,584,587,590],{"class":371,"line":407},[369,573,574],{"class":385},"const",[369,576,577],{"class":547}," buffer ",[369,579,580],{"class":375},"=",[369,582,583],{"class":540}," await",[369,585,548],{"class":586},"s2Zo4",[369,588,589],{"class":547},"(",[369,591,376],{"class":375},[369,593,594,598,600,602,604,606],{"class":371,"line":428},[369,595,597],{"class":596},"swJcz","  title",[369,599,392],{"class":375},[369,601,395],{"class":375},[369,603,399],{"class":398},[369,605,389],{"class":375},[369,607,404],{"class":375},[369,609,610,613,615,617,619,621],{"class":371,"line":449},[369,611,612],{"class":596},"  subject",[369,614,392],{"class":375},[369,616,395],{"class":375},[369,618,421],{"class":398},[369,620,389],{"class":375},[369,622,404],{"class":375},[369,624,625,628,630,632,634,636],{"class":371,"line":470},[369,626,627],{"class":596},"  creator",[369,629,392],{"class":375},[369,631,395],{"class":375},[369,633,442],{"class":398},[369,635,389],{"class":375},[369,637,404],{"class":375},[369,639,640,643,645,647,649,651],{"class":371,"line":491},[369,641,642],{"class":596},"  keywords",[369,644,392],{"class":375},[369,646,395],{"class":375},[369,648,463],{"class":398},[369,650,389],{"class":375},[369,652,404],{"class":375},[369,654,655,658,660,662,664,666],{"class":371,"line":509},[369,656,657],{"class":596},"  description",[369,659,392],{"class":375},[369,661,395],{"class":375},[369,663,484],{"class":398},[369,665,389],{"class":375},[369,667,404],{"class":375},[369,669,670,673,675,677],{"class":371,"line":524},[369,671,672],{"class":596},"  revision",[369,674,392],{"class":375},[369,676,504],{"class":503},[369,678,404],{"class":375},[369,680,682,685,687,690,694,697],{"class":371,"line":681},10,[369,683,684],{"class":596},"  sections",[369,686,392],{"class":375},[369,688,689],{"class":547}," [",[369,691,693],{"class":692},"sHwdD","\u002F* … *\u002F",[369,695,696],{"class":547},"]",[369,698,404],{"class":375},[369,700,702,705,708],{"class":371,"line":701},11,[369,703,704],{"class":375},"}",[369,706,707],{"class":547},")",[369,709,563],{"class":375},[711,712,713,729],"table",{},[714,715,716],"thead",{},[717,718,719,723,726],"tr",{},[720,721,722],"th",{},"Property",[720,724,725],{},"Type",[720,727,728],{},"Description",[730,731,732,747,760,773,786,798,812,826,840,854,868],"tbody",{},[717,733,734,739,744],{},[735,736,737],"td",{},[350,738,386],{},[735,740,741],{},[350,742,743],{},"string",[735,745,746],{},"Document title",[717,748,749,753,757],{},[735,750,751],{},[350,752,412],{},[735,754,755],{},[350,756,743],{},[735,758,759],{},"Subject",[717,761,762,766,770],{},[735,763,764],{},[350,765,433],{},[735,767,768],{},[350,769,743],{},[735,771,772],{},"Author",[717,774,775,779,783],{},[735,776,777],{},[350,778,454],{},[735,780,781],{},[350,782,743],{},[735,784,785],{},"Keywords",[717,787,788,792,796],{},[735,789,790],{},[350,791,475],{},[735,793,794],{},[350,795,743],{},[735,797,728],{},[717,799,800,805,809],{},[735,801,802],{},[350,803,804],{},"lastModifiedBy",[735,806,807],{},[350,808,743],{},[735,810,811],{},"Last modifier",[717,813,814,818,823],{},[735,815,816],{},[350,817,496],{},[735,819,820],{},[350,821,822],{},"number",[735,824,825],{},"Revision number",[717,827,828,833,837],{},[735,829,830],{},[350,831,832],{},"lastPrinted",[735,834,835],{},[350,836,743],{},[735,838,839],{},"Last printed date (W3CDTF)",[717,841,842,847,851],{},[735,843,844],{},[350,845,846],{},"created",[735,848,849],{},[350,850,743],{},[735,852,853],{},"Creation date (W3CDTF)",[717,855,856,861,865],{},[735,857,858],{},[350,859,860],{},"modified",[735,862,863],{},[350,864,743],{},[735,866,867],{},"Last modified date (W3CDTF)",[717,869,870,875,880],{},[735,871,872],{},[350,873,874],{},"conformance",[735,876,877],{},[350,878,879],{},"\"strict\" | \"transitional\"",[735,881,882],{},"Document conformance class",[341,884,886],{"id":885},"extended-properties","Extended Properties",[346,888,889,892,893,896,897,900,901,900,904,907,908,911],{},[350,890,891],{},"appProperties"," are written to ",[350,894,895],{},"docProps\u002Fapp.xml",". The commonly user-set fields are ",[350,898,899],{},"template",", ",[350,902,903],{},"manager",[350,905,906],{},"company",", and ",[350,909,910],{},"application","; the rest (pages, words, characters, …) are document statistics typically computed by Office:",[355,913,914,987],{"type":357},[359,915,917],{"className":361,"code":916,"filename":363,"language":364,"meta":365,"style":365},"{\n  \"appProperties\": { \"company\": \"Globex\", \"manager\": \"Jane Doe\" },\n  \"sections\": []\n}\n",[350,918,919,923,971,983],{"__ignoreMap":365},[369,920,921],{"class":371,"line":372},[369,922,376],{"class":375},[369,924,925,927,929,931,933,935,937,940,942,944,946,949,951,954,956,958,960,962,964,966,968],{"class":371,"line":379},[369,926,382],{"class":375},[369,928,891],{"class":385},[369,930,389],{"class":375},[369,932,392],{"class":375},[369,934,544],{"class":375},[369,936,395],{"class":375},[369,938,906],{"class":939},"sBMFI",[369,941,389],{"class":375},[369,943,392],{"class":375},[369,945,395],{"class":375},[369,947,948],{"class":398},"Globex",[369,950,389],{"class":375},[369,952,953],{"class":375},",",[369,955,395],{"class":375},[369,957,903],{"class":939},[369,959,389],{"class":375},[369,961,392],{"class":375},[369,963,395],{"class":375},[369,965,442],{"class":398},[369,967,389],{"class":375},[369,969,970],{"class":375}," },\n",[369,972,973,975,977,979,981],{"class":371,"line":407},[369,974,382],{"class":375},[369,976,514],{"class":385},[369,978,389],{"class":375},[369,980,392],{"class":375},[369,982,521],{"class":375},[369,984,985],{"class":371,"line":428},[369,986,527],{"class":375},[359,988,990],{"className":530,"code":989,"filename":532,"language":533,"meta":365,"style":365},"import { generateDocument } from \"@office-open\u002Fdocx\";\n\nconst buffer = await generateDocument({\n  appProperties: {\n    company: \"Globex\",\n    manager: \"Jane Doe\",\n    template: \"report.dotx\",\n    application: \"office-open\",\n  },\n  sections: [\u002F* … *\u002F],\n});\n",[350,991,992,1012,1016,1032,1042,1057,1072,1088,1104,1109,1123],{"__ignoreMap":365},[369,993,994,996,998,1000,1002,1004,1006,1008,1010],{"class":371,"line":372},[369,995,541],{"class":540},[369,997,544],{"class":375},[369,999,548],{"class":547},[369,1001,551],{"class":375},[369,1003,554],{"class":540},[369,1005,395],{"class":375},[369,1007,98],{"class":398},[369,1009,389],{"class":375},[369,1011,563],{"class":375},[369,1013,1014],{"class":371,"line":379},[369,1015,569],{"emptyLinePlaceholder":568},[369,1017,1018,1020,1022,1024,1026,1028,1030],{"class":371,"line":407},[369,1019,574],{"class":385},[369,1021,577],{"class":547},[369,1023,580],{"class":375},[369,1025,583],{"class":540},[369,1027,548],{"class":586},[369,1029,589],{"class":547},[369,1031,376],{"class":375},[369,1033,1034,1037,1039],{"class":371,"line":428},[369,1035,1036],{"class":596},"  appProperties",[369,1038,392],{"class":375},[369,1040,1041],{"class":375}," {\n",[369,1043,1044,1047,1049,1051,1053,1055],{"class":371,"line":449},[369,1045,1046],{"class":596},"    company",[369,1048,392],{"class":375},[369,1050,395],{"class":375},[369,1052,948],{"class":398},[369,1054,389],{"class":375},[369,1056,404],{"class":375},[369,1058,1059,1062,1064,1066,1068,1070],{"class":371,"line":470},[369,1060,1061],{"class":596},"    manager",[369,1063,392],{"class":375},[369,1065,395],{"class":375},[369,1067,442],{"class":398},[369,1069,389],{"class":375},[369,1071,404],{"class":375},[369,1073,1074,1077,1079,1081,1084,1086],{"class":371,"line":491},[369,1075,1076],{"class":596},"    template",[369,1078,392],{"class":375},[369,1080,395],{"class":375},[369,1082,1083],{"class":398},"report.dotx",[369,1085,389],{"class":375},[369,1087,404],{"class":375},[369,1089,1090,1093,1095,1097,1100,1102],{"class":371,"line":509},[369,1091,1092],{"class":596},"    application",[369,1094,392],{"class":375},[369,1096,395],{"class":375},[369,1098,1099],{"class":398},"office-open",[369,1101,389],{"class":375},[369,1103,404],{"class":375},[369,1105,1106],{"class":371,"line":524},[369,1107,1108],{"class":375},"  },\n",[369,1110,1111,1113,1115,1117,1119,1121],{"class":371,"line":681},[369,1112,684],{"class":596},[369,1114,392],{"class":375},[369,1116,689],{"class":547},[369,1118,693],{"class":692},[369,1120,696],{"class":547},[369,1122,404],{"class":375},[369,1124,1125,1127,1129],{"class":371,"line":701},[369,1126,704],{"class":375},[369,1128,707],{"class":547},[369,1130,563],{"class":375},[711,1132,1133,1143],{},[714,1134,1135],{},[717,1136,1137,1139,1141],{},[720,1138,722],{},[720,1140,725],{},[720,1142,728],{},[730,1144,1145,1158,1171,1184,1197,1211,1225,1239,1253,1267,1281,1295,1309],{},[717,1146,1147,1151,1155],{},[735,1148,1149],{},[350,1150,899],{},[735,1152,1153],{},[350,1154,743],{},[735,1156,1157],{},"Template name",[717,1159,1160,1164,1168],{},[735,1161,1162],{},[350,1163,903],{},[735,1165,1166],{},[350,1167,743],{},[735,1169,1170],{},"Manager name",[717,1172,1173,1177,1181],{},[735,1174,1175],{},[350,1176,906],{},[735,1178,1179],{},[350,1180,743],{},[735,1182,1183],{},"Company name",[717,1185,1186,1190,1194],{},[735,1187,1188],{},[350,1189,910],{},[735,1191,1192],{},[350,1193,743],{},[735,1195,1196],{},"Application name",[717,1198,1199,1204,1208],{},[735,1200,1201],{},[350,1202,1203],{},"appVersion",[735,1205,1206],{},[350,1207,743],{},[735,1209,1210],{},"Application version",[717,1212,1213,1218,1222],{},[735,1214,1215],{},[350,1216,1217],{},"pages",[735,1219,1220],{},[350,1221,822],{},[735,1223,1224],{},"Page count",[717,1226,1227,1232,1236],{},[735,1228,1229],{},[350,1230,1231],{},"words",[735,1233,1234],{},[350,1235,822],{},[735,1237,1238],{},"Word count",[717,1240,1241,1246,1250],{},[735,1242,1243],{},[350,1244,1245],{},"characters",[735,1247,1248],{},[350,1249,822],{},[735,1251,1252],{},"Character count",[717,1254,1255,1260,1264],{},[735,1256,1257],{},[350,1258,1259],{},"lines",[735,1261,1262],{},[350,1263,822],{},[735,1265,1266],{},"Line count",[717,1268,1269,1274,1278],{},[735,1270,1271],{},[350,1272,1273],{},"paragraphs",[735,1275,1276],{},[350,1277,822],{},[735,1279,1280],{},"Paragraph count",[717,1282,1283,1288,1292],{},[735,1284,1285],{},[350,1286,1287],{},"totalTime",[735,1289,1290],{},[350,1291,822],{},[735,1293,1294],{},"Total editing time (min)",[717,1296,1297,1302,1306],{},[735,1298,1299],{},[350,1300,1301],{},"hyperlinkBase",[735,1303,1304],{},[350,1305,743],{},[735,1307,1308],{},"Hyperlink base URL",[717,1310,1311,1316,1320],{},[735,1312,1313],{},[350,1314,1315],{},"docSecurity",[735,1317,1318],{},[350,1319,822],{},[735,1321,1322],{},"Document security level",[341,1324,1326],{"id":1325},"custom-properties","Custom Properties",[346,1328,1329,892,1332,1335],{},[350,1330,1331],{},"customProperties",[350,1333,1334],{},"docProps\u002Fcustom.xml",". Each value is a string:",[355,1337,1338,1460],{"type":357},[359,1339,1341],{"className":361,"code":1340,"filename":363,"language":364,"meta":365,"style":365},"{\n  \"customProperties\": [\n    { \"name\": \"ProjectId\", \"value\": \"PRJ-42\" },\n    { \"name\": \"Department\", \"value\": \"Finance\" }\n  ],\n  \"sections\": []\n}\n",[350,1342,1343,1347,1360,1401,1439,1444,1456],{"__ignoreMap":365},[369,1344,1345],{"class":371,"line":372},[369,1346,376],{"class":375},[369,1348,1349,1351,1353,1355,1357],{"class":371,"line":379},[369,1350,382],{"class":375},[369,1352,1331],{"class":385},[369,1354,389],{"class":375},[369,1356,392],{"class":375},[369,1358,1359],{"class":375}," [\n",[369,1361,1362,1365,1367,1370,1372,1374,1376,1379,1381,1383,1385,1388,1390,1392,1394,1397,1399],{"class":371,"line":407},[369,1363,1364],{"class":375},"    {",[369,1366,395],{"class":375},[369,1368,1369],{"class":939},"name",[369,1371,389],{"class":375},[369,1373,392],{"class":375},[369,1375,395],{"class":375},[369,1377,1378],{"class":398},"ProjectId",[369,1380,389],{"class":375},[369,1382,953],{"class":375},[369,1384,395],{"class":375},[369,1386,1387],{"class":939},"value",[369,1389,389],{"class":375},[369,1391,392],{"class":375},[369,1393,395],{"class":375},[369,1395,1396],{"class":398},"PRJ-42",[369,1398,389],{"class":375},[369,1400,970],{"class":375},[369,1402,1403,1405,1407,1409,1411,1413,1415,1418,1420,1422,1424,1426,1428,1430,1432,1434,1436],{"class":371,"line":428},[369,1404,1364],{"class":375},[369,1406,395],{"class":375},[369,1408,1369],{"class":939},[369,1410,389],{"class":375},[369,1412,392],{"class":375},[369,1414,395],{"class":375},[369,1416,1417],{"class":398},"Department",[369,1419,389],{"class":375},[369,1421,953],{"class":375},[369,1423,395],{"class":375},[369,1425,1387],{"class":939},[369,1427,389],{"class":375},[369,1429,392],{"class":375},[369,1431,395],{"class":375},[369,1433,421],{"class":398},[369,1435,389],{"class":375},[369,1437,1438],{"class":375}," }\n",[369,1440,1441],{"class":371,"line":449},[369,1442,1443],{"class":375},"  ],\n",[369,1445,1446,1448,1450,1452,1454],{"class":371,"line":470},[369,1447,382],{"class":375},[369,1449,514],{"class":385},[369,1451,389],{"class":375},[369,1453,392],{"class":375},[369,1455,521],{"class":375},[369,1457,1458],{"class":371,"line":491},[369,1459,527],{"class":375},[359,1461,1463],{"className":530,"code":1462,"filename":532,"language":533,"meta":365,"style":365},"import { generateDocument } from \"@office-open\u002Fdocx\";\n\nconst buffer = await generateDocument({\n  customProperties: [\n    { name: \"ProjectId\", value: \"PRJ-42\" },\n    { name: \"Department\", value: \"Finance\" },\n  ],\n  sections: [\u002F* … *\u002F],\n});\n",[350,1464,1465,1485,1489,1505,1514,1544,1572,1579,1593],{"__ignoreMap":365},[369,1466,1467,1469,1471,1473,1475,1477,1479,1481,1483],{"class":371,"line":372},[369,1468,541],{"class":540},[369,1470,544],{"class":375},[369,1472,548],{"class":547},[369,1474,551],{"class":375},[369,1476,554],{"class":540},[369,1478,395],{"class":375},[369,1480,98],{"class":398},[369,1482,389],{"class":375},[369,1484,563],{"class":375},[369,1486,1487],{"class":371,"line":379},[369,1488,569],{"emptyLinePlaceholder":568},[369,1490,1491,1493,1495,1497,1499,1501,1503],{"class":371,"line":407},[369,1492,574],{"class":385},[369,1494,577],{"class":547},[369,1496,580],{"class":375},[369,1498,583],{"class":540},[369,1500,548],{"class":586},[369,1502,589],{"class":547},[369,1504,376],{"class":375},[369,1506,1507,1510,1512],{"class":371,"line":428},[369,1508,1509],{"class":596},"  customProperties",[369,1511,392],{"class":375},[369,1513,1359],{"class":547},[369,1515,1516,1518,1521,1523,1525,1527,1529,1531,1534,1536,1538,1540,1542],{"class":371,"line":449},[369,1517,1364],{"class":375},[369,1519,1520],{"class":596}," name",[369,1522,392],{"class":375},[369,1524,395],{"class":375},[369,1526,1378],{"class":398},[369,1528,389],{"class":375},[369,1530,953],{"class":375},[369,1532,1533],{"class":596}," value",[369,1535,392],{"class":375},[369,1537,395],{"class":375},[369,1539,1396],{"class":398},[369,1541,389],{"class":375},[369,1543,970],{"class":375},[369,1545,1546,1548,1550,1552,1554,1556,1558,1560,1562,1564,1566,1568,1570],{"class":371,"line":470},[369,1547,1364],{"class":375},[369,1549,1520],{"class":596},[369,1551,392],{"class":375},[369,1553,395],{"class":375},[369,1555,1417],{"class":398},[369,1557,389],{"class":375},[369,1559,953],{"class":375},[369,1561,1533],{"class":596},[369,1563,392],{"class":375},[369,1565,395],{"class":375},[369,1567,421],{"class":398},[369,1569,389],{"class":375},[369,1571,970],{"class":375},[369,1573,1574,1577],{"class":371,"line":491},[369,1575,1576],{"class":547},"  ]",[369,1578,404],{"class":375},[369,1580,1581,1583,1585,1587,1589,1591],{"class":371,"line":509},[369,1582,684],{"class":596},[369,1584,392],{"class":375},[369,1586,689],{"class":547},[369,1588,693],{"class":692},[369,1590,696],{"class":547},[369,1592,404],{"class":375},[369,1594,1595,1597,1599],{"class":371,"line":524},[369,1596,704],{"class":375},[369,1598,707],{"class":547},[369,1600,563],{"class":375},[711,1602,1603,1613],{},[714,1604,1605],{},[717,1606,1607,1609,1611],{},[720,1608,722],{},[720,1610,725],{},[720,1612,728],{},[730,1614,1615,1628],{},[717,1616,1617,1621,1625],{},[735,1618,1619],{},[350,1620,1369],{},[735,1622,1623],{},[350,1624,743],{},[735,1626,1627],{},"Property name",[717,1629,1630,1634,1638],{},[735,1631,1632],{},[350,1633,1387],{},[735,1635,1636],{},[350,1637,743],{},[735,1639,1640],{},"Property value",[1642,1643,1644],"style",{},"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":365,"searchDepth":379,"depth":379,"links":1646},[1647,1648,1649],{"id":343,"depth":379,"text":344},{"id":885,"depth":379,"text":886},{"id":1325,"depth":379,"text":1326},"Set core, extended (app), and custom document properties","md",null,{},{"title":161,"description":1650},"sZ22iheaWHn8HVI6jZNuq1Uh5s_vgvQu122G4fjgIIg",[1657,1659],{"title":157,"path":158,"stem":159,"description":1658,"children":-1},"Document comments, track changes, and structured document tags (content controls)",{"title":165,"path":166,"stem":167,"description":1660,"children":-1},"Export documents to buffer, blob, base64, or stream",1787501494175]