[{"data":1,"prerenderedAt":660},["ShallowReactive",2],{"navigation_docs_en":3,"-en-core-overview":237,"-en-core-overview-surround":655},[4,23,61,91,163],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"AI Integration","\u002Fen\u002Fgetting-started\u002Fai-integration","en\u002F01.getting-started\u002F03.ai-integration",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"CORE","i-lucide-box","\u002Fen\u002Fcore","en\u002F02.core",[29,33,37,41,45,49,53,57],{"title":30,"path":31,"stem":32},"@office-open\u002Fcore","\u002Fen\u002Fcore\u002Foverview","en\u002F02.core\u002F01.overview",{"title":34,"path":35,"stem":36},"XML Components","\u002Fen\u002Fcore\u002Fxml-components","en\u002F02.core\u002F02.xml-components",{"title":38,"path":39,"stem":40},"Values and Validation","\u002Fen\u002Fcore\u002Fvalues","en\u002F02.core\u002F03.values",{"title":42,"path":43,"stem":44},"Unit Converters","\u002Fen\u002Fcore\u002Fconverters","en\u002F02.core\u002F04.converters",{"title":46,"path":47,"stem":48},"Formatter","\u002Fen\u002Fcore\u002Fformatter","en\u002F02.core\u002F05.formatter",{"title":50,"path":51,"stem":52},"Parser","\u002Fen\u002Fcore\u002Fparser","en\u002F02.core\u002F06.parser",{"title":54,"path":55,"stem":56},"Archive","\u002Fen\u002Fcore\u002Farchive","en\u002F02.core\u002F07.archive",{"title":58,"path":59,"stem":60},"Charts","\u002Fen\u002Fcore\u002Fcharts","en\u002F02.core\u002F08.charts",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":22},"XML","i-lucide-code-xml","\u002Fen\u002Fxml","en\u002F03.xml",[67,71,75,79,83,87],{"title":68,"path":69,"stem":70},"@office-open\u002Fxml","\u002Fen\u002Fxml\u002Foverview","en\u002F03.xml\u002F01.overview",{"title":72,"path":73,"stem":74},"Parsing","\u002Fen\u002Fxml\u002Fparsing","en\u002F03.xml\u002F02.parsing",{"title":76,"path":77,"stem":78},"Serialization","\u002Fen\u002Fxml\u002Fserialization","en\u002F03.xml\u002F03.serialization",{"title":80,"path":81,"stem":82},"Query Utilities","\u002Fen\u002Fxml\u002Fquery-utilities","en\u002F03.xml\u002F04.query-utilities",{"title":84,"path":85,"stem":86},"XML Escape","\u002Fen\u002Fxml\u002Fescape","en\u002F03.xml\u002F05.escape",{"title":88,"path":89,"stem":90},"Type Reference","\u002Fen\u002Fxml\u002Ftypes","en\u002F03.xml\u002F06.types",{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":22},"DOCX","i-lucide-file-text","\u002Fen\u002Fdocx","en\u002F04.docx",[97,101,105,109,113,117,120,124,128,132,136,140,144,148,152,156,160],{"title":98,"path":99,"stem":100},"@office-open\u002Fdocx","\u002Fen\u002Fdocx\u002Foverview","en\u002F04.docx\u002F01.overview",{"title":102,"path":103,"stem":104},"Quick Start","\u002Fen\u002Fdocx\u002Fquickstart","en\u002F04.docx\u002F02.quickstart",{"title":106,"path":107,"stem":108},"Text and Paragraphs","\u002Fen\u002Fdocx\u002Ftext-and-paragraphs","en\u002F04.docx\u002F03.text-and-paragraphs",{"title":110,"path":111,"stem":112},"Tables","\u002Fen\u002Fdocx\u002Ftables","en\u002F04.docx\u002F04.tables",{"title":114,"path":115,"stem":116},"Images","\u002Fen\u002Fdocx\u002Fimages","en\u002F04.docx\u002F05.images",{"title":58,"path":118,"stem":119},"\u002Fen\u002Fdocx\u002Fcharts","en\u002F04.docx\u002F06.charts",{"title":121,"path":122,"stem":123},"SmartArt","\u002Fen\u002Fdocx\u002Fsmartart","en\u002F04.docx\u002F07.smartart",{"title":125,"path":126,"stem":127},"Media","\u002Fen\u002Fdocx\u002Fmedia","en\u002F04.docx\u002F08.media",{"title":129,"path":130,"stem":131},"Links","\u002Fen\u002Fdocx\u002Flinks","en\u002F04.docx\u002F09.links",{"title":133,"path":134,"stem":135},"Headers and Footers","\u002Fen\u002Fdocx\u002Fheaders-and-footers","en\u002F04.docx\u002F10.headers-and-footers",{"title":137,"path":138,"stem":139},"Equations and Symbols","\u002Fen\u002Fdocx\u002Fequations-and-symbols","en\u002F04.docx\u002F11.equations-and-symbols",{"title":141,"path":142,"stem":143},"Styles and Themes","\u002Fen\u002Fdocx\u002Fstyles-and-themes","en\u002F04.docx\u002F12.styles-and-themes",{"title":145,"path":146,"stem":147},"Page Layout","\u002Fen\u002Fdocx\u002Fpage-layout","en\u002F04.docx\u002F13.page-layout",{"title":149,"path":150,"stem":151},"References","\u002Fen\u002Fdocx\u002Freferences","en\u002F04.docx\u002F14.references",{"title":153,"path":154,"stem":155},"Comments and Revisions","\u002Fen\u002Fdocx\u002Fcomments-and-revisions","en\u002F04.docx\u002F15.comments-and-revisions",{"title":157,"path":158,"stem":159},"Export","\u002Fen\u002Fdocx\u002Fexport","en\u002F04.docx\u002F16.export",{"title":72,"path":161,"stem":162},"\u002Fen\u002Fdocx\u002Fparsing","en\u002F04.docx\u002F17.parsing",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":22},"PPTX","i-lucide-presentation","\u002Fen\u002Fpptx","en\u002F05.pptx",[169,173,176,180,183,186,189,192,195,198,201,204,208,211,215,219,223,227,230,233],{"title":170,"path":171,"stem":172},"@office-open\u002Fpptx","\u002Fen\u002Fpptx\u002Foverview","en\u002F05.pptx\u002F01.overview",{"title":102,"path":174,"stem":175},"\u002Fen\u002Fpptx\u002Fquickstart","en\u002F05.pptx\u002F02.quickstart",{"title":177,"path":178,"stem":179},"Shapes and Text","\u002Fen\u002Fpptx\u002Fshapes-and-text","en\u002F05.pptx\u002F03.shapes-and-text",{"title":110,"path":181,"stem":182},"\u002Fen\u002Fpptx\u002Ftables","en\u002F05.pptx\u002F04.tables",{"title":114,"path":184,"stem":185},"\u002Fen\u002Fpptx\u002Fimages","en\u002F05.pptx\u002F05.images",{"title":58,"path":187,"stem":188},"\u002Fen\u002Fpptx\u002Fcharts","en\u002F05.pptx\u002F06.charts",{"title":121,"path":190,"stem":191},"\u002Fen\u002Fpptx\u002Fsmartart","en\u002F05.pptx\u002F07.smartart",{"title":125,"path":193,"stem":194},"\u002Fen\u002Fpptx\u002Fmedia","en\u002F05.pptx\u002F08.media",{"title":129,"path":196,"stem":197},"\u002Fen\u002Fpptx\u002Flinks","en\u002F05.pptx\u002F09.links",{"title":133,"path":199,"stem":200},"\u002Fen\u002Fpptx\u002Fheaders-and-footers","en\u002F05.pptx\u002F10.headers-and-footers",{"title":137,"path":202,"stem":203},"\u002Fen\u002Fpptx\u002Fequations-and-symbols","en\u002F05.pptx\u002F11.equations-and-symbols",{"title":205,"path":206,"stem":207},"Lines and Connectors","\u002Fen\u002Fpptx\u002Flines-and-connectors","en\u002F05.pptx\u002F12.lines-and-connectors",{"title":141,"path":209,"stem":210},"\u002Fen\u002Fpptx\u002Fstyles-and-themes","en\u002F05.pptx\u002F13.styles-and-themes",{"title":212,"path":213,"stem":214},"Effects and Fills","\u002Fen\u002Fpptx\u002Feffects-and-fills","en\u002F05.pptx\u002F14.effects-and-fills",{"title":216,"path":217,"stem":218},"Slide Layout","\u002Fen\u002Fpptx\u002Fslide-layout","en\u002F05.pptx\u002F15.slide-layout",{"title":220,"path":221,"stem":222},"Transitions","\u002Fen\u002Fpptx\u002Ftransitions","en\u002F05.pptx\u002F16.transitions",{"title":224,"path":225,"stem":226},"Animations","\u002Fen\u002Fpptx\u002Fanimations","en\u002F05.pptx\u002F17.animations",{"title":157,"path":228,"stem":229},"\u002Fen\u002Fpptx\u002Fexport","en\u002F05.pptx\u002F18.export",{"title":72,"path":231,"stem":232},"\u002Fen\u002Fpptx\u002Fparsing","en\u002F05.pptx\u002F19.parsing",{"title":234,"path":235,"stem":236},"Comments","\u002Fen\u002Fpptx\u002Fcomments","en\u002F05.pptx\u002F20.comments",{"id":238,"title":30,"body":239,"description":649,"extension":650,"links":651,"meta":652,"navigation":329,"path":31,"seo":653,"stem":32,"__hash__":654},"docs_en\u002Fen\u002F02.core\u002F01.overview.md",{"type":240,"value":241,"toc":640},"minimark",[242,256,261,265,280,395,399,402,472,475,600,604,629,633,636],[243,244,245,246,249,250,252,253,255],"p",{},"You typically don't install this package directly — it's a dependency of ",[247,248,98],"code",{}," and ",[247,251,170],{},". However, if you are building custom OOXML elements or extending the library, ",[247,254,30],{}," provides the building blocks.",[257,258,260],"h2",{"id":259},"module-overview","Module Overview",[262,263,34],"h3",{"id":264},"xml-components",[243,266,267,268,271,272,275,276,279],{},"All OOXML XML elements are built on top of ",[247,269,270],{},"XmlComponent",". Every element in a ",[247,273,274],{},".docx"," or ",[247,277,278],{},".pptx"," file ultimately extends this base class.",[281,282,287],"pre",{"className":283,"code":284,"language":285,"meta":286,"style":286},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { XmlComponent } from \"@office-open\u002Fcore\";\n\nclass MyElement extends XmlComponent {\n    constructor() {\n        super(\"w:myElement\");\n    }\n}\n","ts","",[247,288,289,324,331,350,361,383,389],{"__ignoreMap":286},[290,291,294,298,302,306,309,312,315,318,321],"span",{"class":292,"line":293},"line",1,[290,295,297],{"class":296},"s7zQu","import",[290,299,301],{"class":300},"sMK4o"," {",[290,303,305],{"class":304},"sTEyZ"," XmlComponent",[290,307,308],{"class":300}," }",[290,310,311],{"class":296}," from",[290,313,314],{"class":300}," \"",[290,316,30],{"class":317},"sfazB",[290,319,320],{"class":300},"\"",[290,322,323],{"class":300},";\n",[290,325,327],{"class":292,"line":326},2,[290,328,330],{"emptyLinePlaceholder":329},true,"\n",[290,332,334,338,342,345,347],{"class":292,"line":333},3,[290,335,337],{"class":336},"spNyl","class",[290,339,341],{"class":340},"sBMFI"," MyElement",[290,343,344],{"class":336}," extends",[290,346,305],{"class":340},[290,348,349],{"class":300}," {\n",[290,351,353,356,359],{"class":292,"line":352},4,[290,354,355],{"class":336},"    constructor",[290,357,358],{"class":300},"()",[290,360,349],{"class":300},[290,362,364,367,371,373,376,378,381],{"class":292,"line":363},5,[290,365,366],{"class":304},"        super",[290,368,370],{"class":369},"swJcz","(",[290,372,320],{"class":300},[290,374,375],{"class":317},"w:myElement",[290,377,320],{"class":300},[290,379,380],{"class":369},")",[290,382,323],{"class":300},[290,384,386],{"class":292,"line":385},6,[290,387,388],{"class":300},"    }\n",[290,390,392],{"class":292,"line":391},7,[290,393,394],{"class":300},"}\n",[262,396,398],{"id":397},"values-validation","Values & Validation",[243,400,401],{},"Runtime validation functions for OOXML specification value types:",[403,404,405,418],"table",{},[406,407,408],"thead",{},[409,410,411,415],"tr",{},[412,413,414],"th",{},"Function",[412,416,417],{},"Description",[419,420,421,432,442,452,462],"tbody",{},[409,422,423,429],{},[424,425,426],"td",{},[247,427,428],{},"decimalNumber(val)",[424,430,431],{},"Validates and floors to integer",[409,433,434,439],{},[424,435,436],{},[247,437,438],{},"hexColorValue(val)",[424,440,441],{},"Validates hex color",[409,443,444,449],{},[424,445,446],{},[247,447,448],{},"twipsMeasureValue(val)",[424,450,451],{},"TWIP measurement",[409,453,454,459],{},[424,455,456],{},[247,457,458],{},"hpsMeasureValue(val)",[424,460,461],{},"Half-point measurement (font sizes)",[409,463,464,469],{},[424,465,466],{},[247,467,468],{},"percentageValue(val)",[424,470,471],{},"Normalizes percentage string",[262,473,42],{"id":474},"unit-converters",[281,476,478],{"className":283,"code":477,"language":285,"meta":286,"style":286},"import {\n    convertMillimetersToTwip,\n    convertInchesToTwip,\n    convertPixelsToEmu,\n    convertEmuToPixels,\n    convertPointsToEmu,\n} from \"@office-open\u002Fcore\";\n\nconvertMillimetersToTwip(25.4); \u002F\u002F 1440 (1 inch)\nconvertPixelsToEmu(100); \u002F\u002F 952500\nconvertPointsToEmu(12); \u002F\u002F 152400\n",[247,479,480,486,494,501,508,515,522,537,542,564,582],{"__ignoreMap":286},[290,481,482,484],{"class":292,"line":293},[290,483,297],{"class":296},[290,485,349],{"class":300},[290,487,488,491],{"class":292,"line":326},[290,489,490],{"class":304},"    convertMillimetersToTwip",[290,492,493],{"class":300},",\n",[290,495,496,499],{"class":292,"line":333},[290,497,498],{"class":304},"    convertInchesToTwip",[290,500,493],{"class":300},[290,502,503,506],{"class":292,"line":352},[290,504,505],{"class":304},"    convertPixelsToEmu",[290,507,493],{"class":300},[290,509,510,513],{"class":292,"line":363},[290,511,512],{"class":304},"    convertEmuToPixels",[290,514,493],{"class":300},[290,516,517,520],{"class":292,"line":385},[290,518,519],{"class":304},"    convertPointsToEmu",[290,521,493],{"class":300},[290,523,524,527,529,531,533,535],{"class":292,"line":391},[290,525,526],{"class":300},"}",[290,528,311],{"class":296},[290,530,314],{"class":300},[290,532,30],{"class":317},[290,534,320],{"class":300},[290,536,323],{"class":300},[290,538,540],{"class":292,"line":539},8,[290,541,330],{"emptyLinePlaceholder":329},[290,543,545,549,551,555,557,560],{"class":292,"line":544},9,[290,546,548],{"class":547},"s2Zo4","convertMillimetersToTwip",[290,550,370],{"class":304},[290,552,554],{"class":553},"sbssI","25.4",[290,556,380],{"class":304},[290,558,559],{"class":300},";",[290,561,563],{"class":562},"sHwdD"," \u002F\u002F 1440 (1 inch)\n",[290,565,567,570,572,575,577,579],{"class":292,"line":566},10,[290,568,569],{"class":547},"convertPixelsToEmu",[290,571,370],{"class":304},[290,573,574],{"class":553},"100",[290,576,380],{"class":304},[290,578,559],{"class":300},[290,580,581],{"class":562}," \u002F\u002F 952500\n",[290,583,585,588,590,593,595,597],{"class":292,"line":584},11,[290,586,587],{"class":547},"convertPointsToEmu",[290,589,370],{"class":304},[290,591,592],{"class":553},"12",[290,594,380],{"class":304},[290,596,559],{"class":300},[290,598,599],{"class":562}," \u002F\u002F 152400\n",[262,601,603],{"id":602},"charts-smartart","Charts & SmartArt",[243,605,606,607,610,611,610,614,610,617,610,620,623,624,249,626,628],{},"Shared chart components (",[247,608,609],{},"BarChart",", ",[247,612,613],{},"LineChart",[247,615,616],{},"PieChart",[247,618,619],{},"AreaChart",[247,621,622],{},"ScatterChart",") and SmartArt components used by both ",[247,625,98],{},[247,627,170],{},".",[262,630,632],{"id":631},"drawingml","DrawingML",[243,634,635],{},"Shared primitives for colors, fills, outlines, effects, and geometry.",[637,638,639],"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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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":286,"searchDepth":326,"depth":326,"links":641},[642],{"id":259,"depth":326,"text":260,"children":643},[644,645,646,647,648],{"id":264,"depth":333,"text":34},{"id":397,"depth":333,"text":398},{"id":474,"depth":333,"text":42},{"id":602,"depth":333,"text":603},{"id":631,"depth":333,"text":632},"Shared XML components, value validation, formatting, and unit converters","md",null,{},{"title":30,"description":649},"ppTn3l_fEirU3oB4gUmCcCf6TSByi1CEAF2TyRWL9rY",[656,658],{"title":19,"path":20,"stem":21,"description":657,"children":-1},"Use Office Open with AI agents via MCP, Skills, and LLMs.txt",{"title":34,"path":35,"stem":36,"description":659,"children":-1},"Base classes and helpers for building OOXML XML element trees",1778862988620]