[{"data":1,"prerenderedAt":1342},["ShallowReactive",2],{"navigation_docs_en":3,"-en-core-xml-components":237,"-en-core-xml-components-surround":1337},[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":34,"body":239,"description":1331,"extension":1332,"links":1333,"meta":1334,"navigation":313,"path":35,"seo":1335,"stem":36,"__hash__":1336},"docs_en\u002Fen\u002F02.core\u002F02.xml-components.md",{"type":240,"value":241,"toc":1314},"minimark",[242,257,261,264,379,386,507,511,514,627,632,635,756,760,764,767,917,921,924,1011,1015,1018,1086,1090,1103,1194,1198,1202,1205,1262,1266,1310],[243,244,245,246,249,250,252,253,256],"p",{},"All OOXML elements in ",[247,248,98],"code",{}," and ",[247,251,170],{}," are built on ",[247,254,255],{},"XmlComponent",". This page covers the core building blocks.",[258,259,255],"h2",{"id":260},"xmlcomponent",[243,262,263],{},"The primary base class for OOXML elements. Each element wraps an XML tag name and manages child elements.",[265,266,271],"pre",{"className":267,"code":268,"language":269,"meta":270,"style":270},"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,272,273,308,315,334,345,367,373],{"__ignoreMap":270},[274,275,278,282,286,290,293,296,299,302,305],"span",{"class":276,"line":277},"line",1,[274,279,281],{"class":280},"s7zQu","import",[274,283,285],{"class":284},"sMK4o"," {",[274,287,289],{"class":288},"sTEyZ"," XmlComponent",[274,291,292],{"class":284}," }",[274,294,295],{"class":280}," from",[274,297,298],{"class":284}," \"",[274,300,30],{"class":301},"sfazB",[274,303,304],{"class":284},"\"",[274,306,307],{"class":284},";\n",[274,309,311],{"class":276,"line":310},2,[274,312,314],{"emptyLinePlaceholder":313},true,"\n",[274,316,318,322,326,329,331],{"class":276,"line":317},3,[274,319,321],{"class":320},"spNyl","class",[274,323,325],{"class":324},"sBMFI"," MyElement",[274,327,328],{"class":320}," extends",[274,330,289],{"class":324},[274,332,333],{"class":284}," {\n",[274,335,337,340,343],{"class":276,"line":336},4,[274,338,339],{"class":320},"    constructor",[274,341,342],{"class":284},"()",[274,344,333],{"class":284},[274,346,348,351,355,357,360,362,365],{"class":276,"line":347},5,[274,349,350],{"class":288},"        super",[274,352,354],{"class":353},"swJcz","(",[274,356,304],{"class":284},[274,358,359],{"class":301},"w:myElement",[274,361,304],{"class":284},[274,363,364],{"class":353},")",[274,366,307],{"class":284},[274,368,370],{"class":276,"line":369},6,[274,371,372],{"class":284},"    }\n",[274,374,376],{"class":276,"line":375},7,[274,377,378],{"class":284},"}\n",[243,380,381,382,385],{},"Use ",[247,383,384],{},"root"," to push child elements during construction:",[265,387,389],{"className":267,"code":388,"language":269,"meta":270,"style":270},"import { XmlComponent, onOffObj } from \"@office-open\u002Fcore\";\n\nclass BoldElement extends XmlComponent {\n    constructor() {\n        super(\"w:b\");\n        this.root.push(onOffObj(\"w:bCs\", true));\n    }\n}\n",[247,390,391,417,421,434,442,459,498,502],{"__ignoreMap":270},[274,392,393,395,397,399,402,405,407,409,411,413,415],{"class":276,"line":277},[274,394,281],{"class":280},[274,396,285],{"class":284},[274,398,289],{"class":288},[274,400,401],{"class":284},",",[274,403,404],{"class":288}," onOffObj",[274,406,292],{"class":284},[274,408,295],{"class":280},[274,410,298],{"class":284},[274,412,30],{"class":301},[274,414,304],{"class":284},[274,416,307],{"class":284},[274,418,419],{"class":276,"line":310},[274,420,314],{"emptyLinePlaceholder":313},[274,422,423,425,428,430,432],{"class":276,"line":317},[274,424,321],{"class":320},[274,426,427],{"class":324}," BoldElement",[274,429,328],{"class":320},[274,431,289],{"class":324},[274,433,333],{"class":284},[274,435,436,438,440],{"class":276,"line":336},[274,437,339],{"class":320},[274,439,342],{"class":284},[274,441,333],{"class":284},[274,443,444,446,448,450,453,455,457],{"class":276,"line":347},[274,445,350],{"class":288},[274,447,354],{"class":353},[274,449,304],{"class":284},[274,451,452],{"class":301},"w:b",[274,454,304],{"class":284},[274,456,364],{"class":353},[274,458,307],{"class":284},[274,460,461,464,466,469,473,475,478,480,482,485,487,489,493,496],{"class":276,"line":369},[274,462,463],{"class":284},"        this.",[274,465,384],{"class":288},[274,467,468],{"class":284},".",[274,470,472],{"class":471},"s2Zo4","push",[274,474,354],{"class":353},[274,476,477],{"class":471},"onOffObj",[274,479,354],{"class":353},[274,481,304],{"class":284},[274,483,484],{"class":301},"w:bCs",[274,486,304],{"class":284},[274,488,401],{"class":284},[274,490,492],{"class":491},"sfNiH"," true",[274,494,495],{"class":353},"))",[274,497,307],{"class":284},[274,499,500],{"class":276,"line":375},[274,501,372],{"class":284},[274,503,505],{"class":276,"line":504},8,[274,506,378],{"class":284},[258,508,510],{"id":509},"element-builders","Element Builders",[243,512,513],{},"Zero-allocation helper functions that return plain objects. Prefer these over the deprecated element classes.",[515,516,517,533],"table",{},[518,519,520],"thead",{},[521,522,523,527,530],"tr",{},[524,525,526],"th",{},"Function",[524,528,529],{},"Produces",[524,531,532],{},"Example",[534,535,536,552,567,582,597,612],"tbody",{},[521,537,538,544,547],{},[539,540,541],"td",{},[247,542,543],{},"onOffObj(name, val?)",[539,545,546],{},"Boolean on\u002Foff element",[539,548,549],{},[247,550,551],{},"onOffObj(\"w:b\", true)",[521,553,554,559,562],{},[539,555,556],{},[247,557,558],{},"hpsMeasureObj(name, val)",[539,560,561],{},"Half-point measurement",[539,563,564],{},[247,565,566],{},"hpsMeasureObj(\"w:sz\", 24)",[521,568,569,574,577],{},[539,570,571],{},[247,572,573],{},"stringValObj(name, val)",[539,575,576],{},"String value attribute",[539,578,579],{},[247,580,581],{},"stringValObj(\"w:val\", \"hello\")",[521,583,584,589,592],{},[539,585,586],{},[247,587,588],{},"numberValObj(name, val)",[539,590,591],{},"Numeric value attribute",[539,593,594],{},[247,595,596],{},"numberValObj(\"w:count\", 3)",[521,598,599,604,607],{},[539,600,601],{},[247,602,603],{},"stringEnumValObj(name, val)",[539,605,606],{},"String enum value",[539,608,609],{},[247,610,611],{},"stringEnumValObj(\"w:align\", \"center\")",[521,613,614,619,622],{},[539,615,616],{},[247,617,618],{},"stringContainerObj(name, val)",[539,620,621],{},"Element wrapping text",[539,623,624],{},[247,625,626],{},"stringContainerObj(\"w:t\", \"Hello\")",[628,629,631],"h3",{"id":630},"builderelement","BuilderElement",[243,633,634],{},"A flexible element with explicit attribute and child configuration:",[265,636,638],{"className":267,"code":637,"language":269,"meta":270,"style":270},"import { BuilderElement } from \"@office-open\u002Fcore\";\n\nconst el = new BuilderElement({\n    name: \"w:spacing\",\n    attributes: { before: 240, after: 120 },\n    children: [],\n});\n",[247,639,640,661,665,686,704,735,747],{"__ignoreMap":270},[274,641,642,644,646,649,651,653,655,657,659],{"class":276,"line":277},[274,643,281],{"class":280},[274,645,285],{"class":284},[274,647,648],{"class":288}," BuilderElement",[274,650,292],{"class":284},[274,652,295],{"class":280},[274,654,298],{"class":284},[274,656,30],{"class":301},[274,658,304],{"class":284},[274,660,307],{"class":284},[274,662,663],{"class":276,"line":310},[274,664,314],{"emptyLinePlaceholder":313},[274,666,667,670,673,676,679,681,683],{"class":276,"line":317},[274,668,669],{"class":320},"const",[274,671,672],{"class":288}," el ",[274,674,675],{"class":284},"=",[274,677,678],{"class":284}," new",[274,680,648],{"class":471},[274,682,354],{"class":288},[274,684,685],{"class":284},"{\n",[274,687,688,691,694,696,699,701],{"class":276,"line":336},[274,689,690],{"class":353},"    name",[274,692,693],{"class":284},":",[274,695,298],{"class":284},[274,697,698],{"class":301},"w:spacing",[274,700,304],{"class":284},[274,702,703],{"class":284},",\n",[274,705,706,709,711,713,716,718,722,724,727,729,732],{"class":276,"line":347},[274,707,708],{"class":353},"    attributes",[274,710,693],{"class":284},[274,712,285],{"class":284},[274,714,715],{"class":353}," before",[274,717,693],{"class":284},[274,719,721],{"class":720},"sbssI"," 240",[274,723,401],{"class":284},[274,725,726],{"class":353}," after",[274,728,693],{"class":284},[274,730,731],{"class":720}," 120",[274,733,734],{"class":284}," },\n",[274,736,737,740,742,745],{"class":276,"line":369},[274,738,739],{"class":353},"    children",[274,741,693],{"class":284},[274,743,744],{"class":288}," []",[274,746,703],{"class":284},[274,748,749,752,754],{"class":276,"line":375},[274,750,751],{"class":284},"}",[274,753,364],{"class":288},[274,755,307],{"class":284},[258,757,759],{"id":758},"attribute-components","Attribute Components",[628,761,763],{"id":762},"xmlattributecomponent","XmlAttributeComponent",[243,765,766],{},"Maps TypeScript properties to XML attribute names:",[265,768,770],{"className":267,"code":769,"language":269,"meta":270,"style":270},"import { XmlAttributeComponent, XmlComponent } from \"@office-open\u002Fcore\";\n\ninterface ISpacingAttributes {\n    readonly before?: number;\n    readonly after?: number;\n}\n\nclass SpacingAttributes extends XmlAttributeComponent\u003CISpacingAttributes> {\n    protected readonly xmlKeys = { before: \"w:before\", after: \"w:after\" };\n}\n",[247,771,772,797,801,811,826,838,842,846,868,912],{"__ignoreMap":270},[274,773,774,776,778,781,783,785,787,789,791,793,795],{"class":276,"line":277},[274,775,281],{"class":280},[274,777,285],{"class":284},[274,779,780],{"class":288}," XmlAttributeComponent",[274,782,401],{"class":284},[274,784,289],{"class":288},[274,786,292],{"class":284},[274,788,295],{"class":280},[274,790,298],{"class":284},[274,792,30],{"class":301},[274,794,304],{"class":284},[274,796,307],{"class":284},[274,798,799],{"class":276,"line":310},[274,800,314],{"emptyLinePlaceholder":313},[274,802,803,806,809],{"class":276,"line":317},[274,804,805],{"class":320},"interface",[274,807,808],{"class":324}," ISpacingAttributes",[274,810,333],{"class":284},[274,812,813,816,818,821,824],{"class":276,"line":336},[274,814,815],{"class":320},"    readonly",[274,817,715],{"class":353},[274,819,820],{"class":284},"?:",[274,822,823],{"class":324}," number",[274,825,307],{"class":284},[274,827,828,830,832,834,836],{"class":276,"line":347},[274,829,815],{"class":320},[274,831,726],{"class":353},[274,833,820],{"class":284},[274,835,823],{"class":324},[274,837,307],{"class":284},[274,839,840],{"class":276,"line":369},[274,841,378],{"class":284},[274,843,844],{"class":276,"line":375},[274,845,314],{"emptyLinePlaceholder":313},[274,847,848,850,853,855,857,860,863,866],{"class":276,"line":504},[274,849,321],{"class":320},[274,851,852],{"class":324}," SpacingAttributes",[274,854,328],{"class":320},[274,856,780],{"class":324},[274,858,859],{"class":284},"\u003C",[274,861,862],{"class":324},"ISpacingAttributes",[274,864,865],{"class":284},">",[274,867,333],{"class":284},[274,869,871,874,877,880,883,885,887,889,891,894,896,898,900,902,904,907,909],{"class":276,"line":870},9,[274,872,873],{"class":320},"    protected",[274,875,876],{"class":320}," readonly",[274,878,879],{"class":353}," xmlKeys",[274,881,882],{"class":284}," =",[274,884,285],{"class":284},[274,886,715],{"class":353},[274,888,693],{"class":284},[274,890,298],{"class":284},[274,892,893],{"class":301},"w:before",[274,895,304],{"class":284},[274,897,401],{"class":284},[274,899,726],{"class":353},[274,901,693],{"class":284},[274,903,298],{"class":284},[274,905,906],{"class":301},"w:after",[274,908,304],{"class":284},[274,910,911],{"class":284}," };\n",[274,913,915],{"class":276,"line":914},10,[274,916,378],{"class":284},[628,918,920],{"id":919},"nextattributecomponent","NextAttributeComponent",[243,922,923],{},"Uses explicit key-value pairs without name mapping:",[265,925,927],{"className":267,"code":926,"language":269,"meta":270,"style":270},"import { NextAttributeComponent } from \"@office-open\u002Fcore\";\n\nclass MyAttributes extends NextAttributeComponent({\n    size: \"w:sz\",\n    color: \"w:color\",\n}) {}\n",[247,928,929,950,954,969,985,1001],{"__ignoreMap":270},[274,930,931,933,935,938,940,942,944,946,948],{"class":276,"line":277},[274,932,281],{"class":280},[274,934,285],{"class":284},[274,936,937],{"class":288}," NextAttributeComponent",[274,939,292],{"class":284},[274,941,295],{"class":280},[274,943,298],{"class":284},[274,945,30],{"class":301},[274,947,304],{"class":284},[274,949,307],{"class":284},[274,951,952],{"class":276,"line":310},[274,953,314],{"emptyLinePlaceholder":313},[274,955,956,958,961,963,965,967],{"class":276,"line":317},[274,957,321],{"class":320},[274,959,960],{"class":324}," MyAttributes",[274,962,328],{"class":320},[274,964,937],{"class":471},[274,966,354],{"class":288},[274,968,685],{"class":284},[274,970,971,974,976,978,981,983],{"class":276,"line":336},[274,972,973],{"class":353},"    size",[274,975,693],{"class":284},[274,977,298],{"class":284},[274,979,980],{"class":301},"w:sz",[274,982,304],{"class":284},[274,984,703],{"class":284},[274,986,987,990,992,994,997,999],{"class":276,"line":347},[274,988,989],{"class":353},"    color",[274,991,693],{"class":284},[274,993,298],{"class":284},[274,995,996],{"class":301},"w:color",[274,998,304],{"class":284},[274,1000,703],{"class":284},[274,1002,1003,1005,1008],{"class":276,"line":369},[274,1004,751],{"class":284},[274,1006,1007],{"class":288},") ",[274,1009,1010],{"class":284},"{}\n",[258,1012,1014],{"id":1013},"importedxmlcomponent","ImportedXmlComponent",[243,1016,1017],{},"Wraps raw XML content for embedding into the document tree:",[265,1019,1021],{"className":267,"code":1020,"language":269,"meta":270,"style":270},"import { ImportedXmlComponent } from \"@office-open\u002Fcore\";\n\nconst imported = ImportedXmlComponent.fromXmlString(\n    '\u003Cw:pPr xmlns:w=\"...\">\u003Cw:jc w:val=\"center\"\u002F>\u003C\u002Fw:pPr>',\n);\n",[247,1022,1023,1044,1048,1067,1080],{"__ignoreMap":270},[274,1024,1025,1027,1029,1032,1034,1036,1038,1040,1042],{"class":276,"line":277},[274,1026,281],{"class":280},[274,1028,285],{"class":284},[274,1030,1031],{"class":288}," ImportedXmlComponent",[274,1033,292],{"class":284},[274,1035,295],{"class":280},[274,1037,298],{"class":284},[274,1039,30],{"class":301},[274,1041,304],{"class":284},[274,1043,307],{"class":284},[274,1045,1046],{"class":276,"line":310},[274,1047,314],{"emptyLinePlaceholder":313},[274,1049,1050,1052,1055,1057,1059,1061,1064],{"class":276,"line":317},[274,1051,669],{"class":320},[274,1053,1054],{"class":288}," imported ",[274,1056,675],{"class":284},[274,1058,1031],{"class":288},[274,1060,468],{"class":284},[274,1062,1063],{"class":471},"fromXmlString",[274,1065,1066],{"class":288},"(\n",[274,1068,1069,1072,1075,1078],{"class":276,"line":336},[274,1070,1071],{"class":284},"    '",[274,1073,1074],{"class":301},"\u003Cw:pPr xmlns:w=\"...\">\u003Cw:jc w:val=\"center\"\u002F>\u003C\u002Fw:pPr>",[274,1076,1077],{"class":284},"'",[274,1079,703],{"class":284},[274,1081,1082,1084],{"class":276,"line":347},[274,1083,364],{"class":288},[274,1085,307],{"class":284},[628,1087,1089],{"id":1088},"converttoxmlcomponent","convertToXmlComponent",[243,1091,1092,1093,1096,1097,1099,1100,1102],{},"Converts a parsed ",[247,1094,1095],{},"Element"," (from ",[247,1098,68],{},") into an ",[247,1101,255],{}," tree:",[265,1104,1106],{"className":267,"code":1105,"language":269,"meta":270,"style":270},"import { convertToXmlComponent } from \"@office-open\u002Fcore\";\nimport { parse } from \"@office-open\u002Fxml\";\n\nconst element = parse(\"\u003Cw:p>\u003Cw:r>\u003Cw:t>Hello\u003C\u002Fw:t>\u003C\u002Fw:r>\u003C\u002Fw:p>\");\nconst component = convertToXmlComponent(element);\n",[247,1107,1108,1129,1150,1154,1178],{"__ignoreMap":270},[274,1109,1110,1112,1114,1117,1119,1121,1123,1125,1127],{"class":276,"line":277},[274,1111,281],{"class":280},[274,1113,285],{"class":284},[274,1115,1116],{"class":288}," convertToXmlComponent",[274,1118,292],{"class":284},[274,1120,295],{"class":280},[274,1122,298],{"class":284},[274,1124,30],{"class":301},[274,1126,304],{"class":284},[274,1128,307],{"class":284},[274,1130,1131,1133,1135,1138,1140,1142,1144,1146,1148],{"class":276,"line":310},[274,1132,281],{"class":280},[274,1134,285],{"class":284},[274,1136,1137],{"class":288}," parse",[274,1139,292],{"class":284},[274,1141,295],{"class":280},[274,1143,298],{"class":284},[274,1145,68],{"class":301},[274,1147,304],{"class":284},[274,1149,307],{"class":284},[274,1151,1152],{"class":276,"line":317},[274,1153,314],{"emptyLinePlaceholder":313},[274,1155,1156,1158,1161,1163,1165,1167,1169,1172,1174,1176],{"class":276,"line":336},[274,1157,669],{"class":320},[274,1159,1160],{"class":288}," element ",[274,1162,675],{"class":284},[274,1164,1137],{"class":471},[274,1166,354],{"class":288},[274,1168,304],{"class":284},[274,1170,1171],{"class":301},"\u003Cw:p>\u003Cw:r>\u003Cw:t>Hello\u003C\u002Fw:t>\u003C\u002Fw:r>\u003C\u002Fw:p>",[274,1173,304],{"class":284},[274,1175,364],{"class":288},[274,1177,307],{"class":284},[274,1179,1180,1182,1185,1187,1189,1192],{"class":276,"line":347},[274,1181,669],{"class":320},[274,1183,1184],{"class":288}," component ",[274,1186,675],{"class":284},[274,1188,1116],{"class":471},[274,1190,1191],{"class":288},"(element)",[274,1193,307],{"class":284},[258,1195,1197],{"id":1196},"utility-functions","Utility Functions",[628,1199,1201],{"id":1200},"wrapel","wrapEl",[243,1203,1204],{},"Wraps a child component in a named element:",[265,1206,1208],{"className":267,"code":1207,"language":269,"meta":270,"style":270},"import { wrapEl } from \"@office-open\u002Fcore\";\n\nconst wrapped = wrapEl(\"w:rPr\", someChildComponent);\n",[247,1209,1210,1231,1235],{"__ignoreMap":270},[274,1211,1212,1214,1216,1219,1221,1223,1225,1227,1229],{"class":276,"line":277},[274,1213,281],{"class":280},[274,1215,285],{"class":284},[274,1217,1218],{"class":288}," wrapEl",[274,1220,292],{"class":284},[274,1222,295],{"class":280},[274,1224,298],{"class":284},[274,1226,30],{"class":301},[274,1228,304],{"class":284},[274,1230,307],{"class":284},[274,1232,1233],{"class":276,"line":310},[274,1234,314],{"emptyLinePlaceholder":313},[274,1236,1237,1239,1242,1244,1246,1248,1250,1253,1255,1257,1260],{"class":276,"line":317},[274,1238,669],{"class":320},[274,1240,1241],{"class":288}," wrapped ",[274,1243,675],{"class":284},[274,1245,1218],{"class":471},[274,1247,354],{"class":288},[274,1249,304],{"class":284},[274,1251,1252],{"class":301},"w:rPr",[274,1254,304],{"class":284},[274,1256,401],{"class":284},[274,1258,1259],{"class":288}," someChildComponent)",[274,1261,307],{"class":284},[258,1263,1265],{"id":1264},"other-components","Other Components",[515,1267,1268,1278],{},[518,1269,1270],{},[521,1271,1272,1275],{},[524,1273,1274],{},"Component",[524,1276,1277],{},"Description",[534,1279,1280,1290,1300],{},[521,1281,1282,1287],{},[539,1283,1284],{},[247,1285,1286],{},"IgnoreIfEmptyXmlComponent",[539,1288,1289],{},"Excluded from XML output when empty",[521,1291,1292,1297],{},[539,1293,1294],{},[247,1295,1296],{},"InitializableXmlComponent",[539,1298,1299],{},"Can be initialized from another component instance",[521,1301,1302,1307],{},[539,1303,1304],{},[247,1305,1306],{},"EmptyElement",[539,1308,1309],{},"Represents an empty XML element",[1311,1312,1313],"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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":270,"searchDepth":310,"depth":310,"links":1315},[1316,1317,1320,1324,1327,1330],{"id":260,"depth":310,"text":255},{"id":509,"depth":310,"text":510,"children":1318},[1319],{"id":630,"depth":317,"text":631},{"id":758,"depth":310,"text":759,"children":1321},[1322,1323],{"id":762,"depth":317,"text":763},{"id":919,"depth":317,"text":920},{"id":1013,"depth":310,"text":1014,"children":1325},[1326],{"id":1088,"depth":317,"text":1089},{"id":1196,"depth":310,"text":1197,"children":1328},[1329],{"id":1200,"depth":317,"text":1201},{"id":1264,"depth":310,"text":1265},"Base classes and helpers for building OOXML XML element trees","md",null,{},{"title":34,"description":1331},"Fwwy3Q13rBuGloDrxJm_6CPKqU2ebQ61q-UlK1ekIm0",[1338,1340],{"title":30,"path":31,"stem":32,"description":1339,"children":-1},"Shared XML components, value validation, formatting, and unit converters",{"title":38,"path":39,"stem":40,"description":1341,"children":-1},"Runtime validation and type conversion for OOXML specification value types",1778862994474]