ooxml-core 1.19.2 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +12 -1
  2. package/dist/{PptxHandler-2V4PQL6O.mjs → PptxHandler-FYD7IYXT.mjs} +2 -2
  3. package/dist/PptxHandler-SITN3K3F.mjs +4 -0
  4. package/dist/{PptxHandler-6TNIQ7S5.cjs → PptxHandler-TEKISCJO.cjs} +3 -3
  5. package/dist/{PresentationBuilder-HQ6C7L4V.mjs → PresentationBuilder-EYI6Z2JP.mjs} +2 -2
  6. package/dist/{PresentationBuilder-G7MPEGXJ.mjs → PresentationBuilder-IMB4DVRN.mjs} +2 -2
  7. package/dist/{PresentationBuilder-RM52LCVN.cjs → PresentationBuilder-NCKASKXU.cjs} +5 -5
  8. package/dist/automation/index.cjs +257 -30
  9. package/dist/automation/index.mjs +256 -31
  10. package/dist/automation/xlsx-read.d.ts +56 -0
  11. package/dist/automation/xlsx-read.d.ts.map +1 -0
  12. package/dist/automation/xlsx.d.ts +105 -4
  13. package/dist/automation/xlsx.d.ts.map +1 -1
  14. package/dist/{chunk-M6GDBVQ7.mjs → chunk-GQYQQ3GA.mjs} +1 -1
  15. package/dist/{chunk-SLNQNVQM.mjs → chunk-LEV2SVMK.mjs} +1 -1
  16. package/dist/{chunk-JUABSM7C.mjs → chunk-LVM3IZJ2.mjs} +1 -1
  17. package/dist/{chunk-TJPUAUWL.mjs → chunk-MN27HKHM.mjs} +8 -194
  18. package/dist/{chunk-4FTUAD2B.mjs → chunk-MNXKRXFB.mjs} +715 -200
  19. package/dist/{chunk-R5FIHHGB.cjs → chunk-NXKATFM5.cjs} +1598 -1204
  20. package/dist/{chunk-ZJ2OKIJN.mjs → chunk-WXY5EDGT.mjs} +592 -198
  21. package/dist/index.cjs +25 -0
  22. package/dist/index.mjs +25 -0
  23. package/dist/pptx/automation/index.cjs +887 -453
  24. package/dist/pptx/automation/index.d.ts +2 -2
  25. package/dist/pptx/automation/index.mjs +5 -5
  26. package/dist/pptx/chunks/{index-Bqm-jFG-.d.ts → index-CgFX0T7b.d.ts} +7573 -7508
  27. package/dist/pptx/chunks/index-CgFX0T7b.d.ts.map +1 -0
  28. package/dist/pptx/chunks/{index-B9x557hr.d.ts → index-qwVYoFn6.d.ts} +2 -2
  29. package/dist/pptx/chunks/{index-B9x557hr.d.ts.map → index-qwVYoFn6.d.ts.map} +1 -1
  30. package/dist/pptx/cli/index.cjs +654 -221
  31. package/dist/pptx/cli/index.mjs +4 -4
  32. package/dist/pptx/converter/index.d.ts +1 -1
  33. package/dist/pptx/converter/index.mjs +2 -2
  34. package/dist/pptx/editor/render/find-replace.cjs +14 -14
  35. package/dist/pptx/editor/render/find-replace.d.ts +1 -1
  36. package/dist/pptx/editor/render/find-replace.mjs +1 -1
  37. package/dist/pptx/editor/render/slide-operations.cjs +8 -8
  38. package/dist/pptx/editor/render/slide-operations.mjs +2 -2
  39. package/dist/pptx/index.cjs +991 -619
  40. package/dist/pptx/index.d.ts +3 -3
  41. package/dist/pptx/index.mjs +5 -5
  42. package/dist/visio/index.cjs +61 -7
  43. package/dist/visio/index.mjs +61 -7
  44. package/dist/visio/ui/contract.d.ts +2 -1
  45. package/dist/visio/ui/contract.d.ts.map +1 -1
  46. package/dist/visio/ui/index.cjs +62 -7
  47. package/dist/visio/ui/index.mjs +62 -7
  48. package/dist/xlsx/edit/dimensions.d.ts.map +1 -1
  49. package/dist/xlsx/edit/history-rows.d.ts +7 -0
  50. package/dist/xlsx/edit/history-rows.d.ts.map +1 -0
  51. package/dist/xlsx/edit/history.d.ts +11 -1
  52. package/dist/xlsx/edit/history.d.ts.map +1 -1
  53. package/dist/xlsx/edit/outline.d.ts.map +1 -1
  54. package/dist/xlsx/edit/row-autofit.d.ts.map +1 -1
  55. package/dist/xlsx/index.cjs +90 -16
  56. package/dist/xlsx/index.mjs +90 -16
  57. package/dist/xlsx/load/index.cjs +61 -7
  58. package/dist/xlsx/load/index.mjs +61 -7
  59. package/dist/xlsx/numfmt/format.d.ts +8 -0
  60. package/dist/xlsx/numfmt/format.d.ts.map +1 -1
  61. package/dist/xlsx/read/sheet-data-source.d.ts.map +1 -1
  62. package/dist/xlsx/ui/index.cjs +138 -16
  63. package/dist/xlsx/ui/index.d.ts +1 -0
  64. package/dist/xlsx/ui/index.d.ts.map +1 -1
  65. package/dist/xlsx/ui/index.mjs +138 -17
  66. package/dist/xlsx/ui/selection-format.d.ts +13 -0
  67. package/dist/xlsx/ui/selection-format.d.ts.map +1 -0
  68. package/dist/xml/index.cjs +25 -0
  69. package/dist/xml/index.mjs +25 -0
  70. package/dist/xml/lite.d.ts.map +1 -1
  71. package/package.json +1 -1
  72. package/dist/PptxHandler-HSPKEP5E.mjs +0 -4
  73. package/dist/pptx/chunks/index-Bqm-jFG-.d.ts.map +0 -1
  74. /package/dist/{chunk-NYTR4UZ5.cjs → chunk-3IENHIFD.cjs} +0 -0
  75. /package/dist/{chunk-XTSHZGSM.mjs → chunk-CC5UNZOO.mjs} +0 -0
@@ -1,6 +1,6 @@
1
- import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-JUABSM7C.mjs';
2
- import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, isLineDrawnChartType, chartFormatTargetKey, applyChartGroupOptionsInput, STANDARD_LAYOUTS, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, relationshipsPartFor, parseRelationships, resolvePartPath, clonePartGraph, buildRelationshipsXml, buildBlankPresentationArchive, nextRelationshipId, relativePartTarget, PptxXmlBuilder } from './chunk-4FTUAD2B.mjs';
3
- import { escAttr, EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, elements, buildXml, bytesToBase64, base64ToBytes, hasTextProperties } from './chunk-SLNQNVQM.mjs';
1
+ import { findText, replaceText, replaceTextInSlide, mergePresentation } from './chunk-LVM3IZJ2.mjs';
2
+ import { PresentationBuilder, PptxHandler, SlideBuilder, validateSeriesIndex, removeEmptyDataPoint, ensureDataPoint, ensureChartData, assertChartGradientSupported, toChartGradientFill, isLineDrawnChartType, chartFormatTargetKey, applyChartGroupOptionsInput, countExistingLayouts, addLayoutToSlideMaster, addLayoutContentType, createLayout, STANDARD_LAYOUTS, generateLayoutXml, layoutRelsXml, createTextElement, createShapeElement, createImageElement, createTableElement, createChartElement, createConnectorElement, createMediaElement, createGroupElement, relationshipsPartFor, parseRelationships, resolvePartPath, clonePartGraph, buildRelationshipsXml, buildBlankPresentationArchive, nextRelationshipId, relativePartTarget, PptxXmlBuilder } from './chunk-MNXKRXFB.mjs';
3
+ import { EMU_PER_PIXEL, EMU_PER_INCH, parseXml, first, elements, buildXml, bytesToBase64, base64ToBytes, hasTextProperties, escAttr } from './chunk-LEV2SVMK.mjs';
4
4
  import { openPptxZip } from './chunk-M4XLF4R7.mjs';
5
5
  import { cloneSlide, cloneElement } from './chunk-54S5A5PZ.mjs';
6
6
 
@@ -1293,7 +1293,9 @@ var Presentation = class _Presentation {
1293
1293
  data,
1294
1294
  createSlide: (layoutName) => {
1295
1295
  const slideNum = data.slides.length + 1;
1296
- return new SlideBuilder(slideNum, void 0, layoutName);
1296
+ const layouts = handler.getLayoutOptions();
1297
+ const layout = layouts.find((item) => item.name === layoutName) ?? layouts.find((item) => item.name === "Blank") ?? layouts[0];
1298
+ return new SlideBuilder(slideNum, layout?.path, layout?.name ?? layoutName, handler);
1297
1299
  }
1298
1300
  });
1299
1301
  }
@@ -2397,194 +2399,6 @@ function addChartUserShapeGroupChild(element, groupPath, child) {
2397
2399
  });
2398
2400
  }
2399
2401
 
2400
- // pptx/core/builders/sdk/layout-operations.ts
2401
- var EMU_PER_PIXEL2 = 9525;
2402
- function pxToEmu(px) {
2403
- return Math.round(px * EMU_PER_PIXEL2);
2404
- }
2405
- function placeholderSpXml(ph, shapeId) {
2406
- const name = ph.name ?? `${ph.type.charAt(0).toUpperCase() + ph.type.slice(1)} Placeholder ${shapeId - 1}`;
2407
- const x = pxToEmu(ph.x);
2408
- const y = pxToEmu(ph.y);
2409
- const cx = pxToEmu(ph.width);
2410
- const cy = pxToEmu(ph.height);
2411
- const idxAttr = ph.idx !== void 0 ? ` idx="${Math.max(0, Math.round(ph.idx))}"` : "";
2412
- return ` <p:sp>
2413
- <p:nvSpPr>
2414
- <p:cNvPr id="${shapeId}" name="${escAttr(name)}"/>
2415
- <p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr>
2416
- <p:nvPr><p:ph type="${escAttr(ph.type)}"${idxAttr}/></p:nvPr>
2417
- </p:nvSpPr>
2418
- <p:spPr>
2419
- <a:xfrm><a:off x="${x}" y="${y}"/><a:ext cx="${cx}" cy="${cy}"/></a:xfrm>
2420
- </p:spPr>
2421
- <p:txBody>
2422
- <a:bodyPr/>
2423
- <a:lstStyle/>
2424
- <a:p><a:endParaRPr lang="en-US"/></a:p>
2425
- </p:txBody>
2426
- </p:sp>`;
2427
- }
2428
- function normalizeSrgbHex(color) {
2429
- if (!color) {
2430
- return void 0;
2431
- }
2432
- const raw = color.trim().replace(/^#/, "").toUpperCase();
2433
- if (/^[0-9A-F]{6}$/.test(raw)) {
2434
- return raw;
2435
- }
2436
- if (/^[0-9A-F]{3}$/.test(raw)) {
2437
- return raw.replace(/./g, (ch) => ch + ch);
2438
- }
2439
- return void 0;
2440
- }
2441
- function generateLayoutXml(definition) {
2442
- const layoutType = definition.type ?? "obj";
2443
- const placeholders = definition.placeholders ?? [];
2444
- const phShapes = placeholders.map((ph, i) => placeholderSpXml(ph, i + 2)).join("\n");
2445
- let bgXml = "";
2446
- const hex = normalizeSrgbHex(definition.backgroundColor);
2447
- if (hex) {
2448
- bgXml = ` <p:bg><p:bgPr><a:solidFill><a:srgbClr val="${hex}"/></a:solidFill><a:effectLst/></p:bgPr></p:bg>
2449
- `;
2450
- }
2451
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2452
- <p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
2453
- xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
2454
- xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
2455
- type="${escAttr(layoutType)}" preserve="1">
2456
- <p:cSld name="${escAttr(definition.name)}">
2457
- ${bgXml} <p:spTree>
2458
- <p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>
2459
- <p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>
2460
- ${phShapes}
2461
- </p:spTree>
2462
- </p:cSld>
2463
- <p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr>
2464
- </p:sldLayout>`;
2465
- }
2466
- function layoutRelsXml(masterIndex = 1) {
2467
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2468
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
2469
- <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="../slideMasters/slideMaster${masterIndex}.xml"/>
2470
- </Relationships>`;
2471
- }
2472
- function countExistingLayouts(zip) {
2473
- let count = 0;
2474
- zip.forEach((relativePath) => {
2475
- if (/^ppt\/slideLayouts\/slideLayout\d+\.xml$/.test(relativePath)) {
2476
- count++;
2477
- }
2478
- });
2479
- return count;
2480
- }
2481
- async function addLayoutToSlideMaster(zip, layoutIndex, masterIndex = 1) {
2482
- const masterRelsPath = `ppt/slideMasters/_rels/slideMaster${masterIndex}.xml.rels`;
2483
- const masterRelsContent = await zip.file(masterRelsPath)?.async("string");
2484
- if (!masterRelsContent) {
2485
- throw new Error(`Slide master rels not found at ${masterRelsPath}`);
2486
- }
2487
- const rIdMatches = [...masterRelsContent.matchAll(/rId(\d+)/g)];
2488
- const maxRId = rIdMatches.reduce((max, m) => Math.max(max, parseInt(m[1], 10)), 0);
2489
- const newRId = `rId${maxRId + 1}`;
2490
- const newRel = ` <Relationship Id="${newRId}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" Target="../slideLayouts/slideLayout${layoutIndex}.xml"/>`;
2491
- const updatedRels = masterRelsContent.replace("</Relationships>", `${newRel}
2492
- </Relationships>`);
2493
- zip.file(masterRelsPath, updatedRels);
2494
- const masterPath = `ppt/slideMasters/slideMaster${masterIndex}.xml`;
2495
- const masterContent = await zip.file(masterPath)?.async("string");
2496
- if (!masterContent) {
2497
- throw new Error(`Slide master not found at ${masterPath}`);
2498
- }
2499
- const idMatches = [...masterContent.matchAll(/sldLayoutId\s+id="(\d+)"/g)];
2500
- const maxLayoutId = idMatches.reduce((max, m) => Math.max(max, parseInt(m[1], 10)), 2147483648);
2501
- const newLayoutId = maxLayoutId + 1;
2502
- const newLayoutIdEntry = ` <p:sldLayoutId id="${newLayoutId}" r:id="${newRId}"/>`;
2503
- const updatedMaster = masterContent.replace(
2504
- "</p:sldLayoutIdLst>",
2505
- `${newLayoutIdEntry}
2506
- </p:sldLayoutIdLst>`
2507
- );
2508
- zip.file(masterPath, updatedMaster);
2509
- }
2510
- async function addLayoutContentType(zip, layoutIndex) {
2511
- const ctPath = "[Content_Types].xml";
2512
- const ctContent = await zip.file(ctPath)?.async("string");
2513
- if (!ctContent) {
2514
- throw new Error("Content types file not found");
2515
- }
2516
- const override = ` <Override PartName="/ppt/slideLayouts/slideLayout${layoutIndex}.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>`;
2517
- const updatedCt = ctContent.replace("</Types>", `${override}
2518
- </Types>`);
2519
- zip.file(ctPath, updatedCt);
2520
- }
2521
- async function createLayout(handler, data, definition, masterIndex = 1) {
2522
- const bytes = await handler.save(data.slides);
2523
- const zip = await openPptxZip(bytes);
2524
- const existingCount = countExistingLayouts(zip);
2525
- const newIndex = existingCount + 1;
2526
- const layoutPath = `ppt/slideLayouts/slideLayout${newIndex}.xml`;
2527
- zip.file(layoutPath, generateLayoutXml(definition));
2528
- zip.file(`ppt/slideLayouts/_rels/slideLayout${newIndex}.xml.rels`, layoutRelsXml(masterIndex));
2529
- await addLayoutToSlideMaster(zip, newIndex, masterIndex);
2530
- await addLayoutContentType(zip, newIndex);
2531
- const updatedBuffer = await zip.generateAsync({ type: "arraybuffer" });
2532
- const newHandler = new PptxHandler();
2533
- const newData = await newHandler.load(updatedBuffer);
2534
- return {
2535
- layoutPath,
2536
- layoutName: definition.name,
2537
- handler: newHandler,
2538
- data: newData
2539
- };
2540
- }
2541
- async function createLayouts(handler, data, definitions, masterIndex = 1) {
2542
- if (definitions.length === 0) {
2543
- return { layoutPaths: [], handler, data };
2544
- }
2545
- const bytes = await handler.save(data.slides);
2546
- const zip = await openPptxZip(bytes);
2547
- const existingCount = countExistingLayouts(zip);
2548
- const layoutPaths = [];
2549
- for (let i = 0; i < definitions.length; i++) {
2550
- const def = definitions[i];
2551
- const newIndex = existingCount + i + 1;
2552
- const layoutPath = `ppt/slideLayouts/slideLayout${newIndex}.xml`;
2553
- zip.file(layoutPath, generateLayoutXml(def));
2554
- zip.file(`ppt/slideLayouts/_rels/slideLayout${newIndex}.xml.rels`, layoutRelsXml(masterIndex));
2555
- await addLayoutToSlideMaster(zip, newIndex, masterIndex);
2556
- await addLayoutContentType(zip, newIndex);
2557
- layoutPaths.push(layoutPath);
2558
- }
2559
- const updatedBuffer = await zip.generateAsync({ type: "arraybuffer" });
2560
- const newHandler = new PptxHandler();
2561
- const newData = await newHandler.load(updatedBuffer);
2562
- return { layoutPaths, handler: newHandler, data: newData };
2563
- }
2564
- function findLayoutByName(data, name) {
2565
- const lowerName = name.toLowerCase();
2566
- const fromOptions = data.layoutOptions?.find((l) => l.name.toLowerCase() === lowerName);
2567
- if (fromOptions) {
2568
- return fromOptions;
2569
- }
2570
- if (data.slideMasters) {
2571
- for (const master of data.slideMasters) {
2572
- const layout = master.layouts?.find((l) => l.name?.toLowerCase() === lowerName);
2573
- if (layout) {
2574
- return { path: layout.path, name: layout.name ?? name };
2575
- }
2576
- }
2577
- }
2578
- return void 0;
2579
- }
2580
- function findLayoutByType(data, type) {
2581
- const fromOptions = data.layoutOptions?.find((l) => l.type === type);
2582
- if (fromOptions) {
2583
- return fromOptions;
2584
- }
2585
- return void 0;
2586
- }
2587
-
2588
2402
  // pptx/core/builders/sdk/master-layout-crud-lookup.ts
2589
2403
  var NOT_FOUND = { ok: false, reason: "notFound" };
2590
2404
  function findMaster(data, masterId) {
@@ -14957,7 +14771,7 @@ async function setPresentationRunText(bytes, slideIndex, elementId, runIndex, te
14957
14771
  async function createPresentationFromOutline(slides, options = {}) {
14958
14772
  if (!(slides instanceof Array) || !slides.length || slides.length > 200)
14959
14773
  throw new Error("A presentation outline has 1 to 200 slides");
14960
- const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-HQ6C7L4V.mjs');
14774
+ const { PresentationBuilder: PresentationBuilder2 } = await import('./PresentationBuilder-EYI6Z2JP.mjs');
14961
14775
  const { handler, data, createSlide } = await PresentationBuilder2.create({
14962
14776
  ...options.title ? { title: options.title } : {}
14963
14777
  });
@@ -14993,4 +14807,4 @@ async function createPresentationFromOutline(slides, options = {}) {
14993
14807
  return handler.save(data.slides);
14994
14808
  }
14995
14809
 
14996
- export { ChartBuilder, ConnectorBuilder, GroupBuilder, ImageBuilder, MediaBuilder, OPENXML_COVERAGE, OPENXML_SCHEMA_CONSTRUCT_IDS, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS, Presentation, SLIDE_PACKAGE_CLIPBOARD_MIME, ShapeBuilder, SlideSizes, THEME_PRESETS, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, ThemePresets, addChartUserShape, addChartUserShapeGroupChild, addSection, applyTemplate, chartFormatTargetSupports, chartSupportsSecondaryAxis, cm, cmToEmu, collectLayoutNames, collectMasterNames, createLayout, createLayouts, createPresentationFromOutline, createSlideClipboardPackage, deleteLayout, deleteSlideMaster, deserializeSlidePackageClipboard, diffPresentations, diffSlides, duplicateElement, duplicateLayout, duplicateSlide, duplicateSlideMaster, emuToPixels, findLayoutByName, findLayoutByType, findOpenXmlCoverage, findPlaceholders, generateLayoutXml, getChartUserShapeAtPath, getSectionForSlide, getThemePreset, importSlidePackage, inches, inchesToEmu, insertLayout, insertSlideMaster, inspectPresentationText, interpolateShapeGeometry, isChartSeriesOnSecondaryAxis, listChartUserShapes, listUnassessedOpenXmlCoverage, mailMerge, mm, moveSlidesToSection, parseSvgPath, pixelsToEmu, pt, readChartElementFormat, removeChartUserShape, removeChartUserShapeAtPath, removeSection, renameLayout, renameSlideMaster, reorderSections, replaceShapeGeometry, replaceWithCustomGeometry, resetChartElementFormat, resetCloneIdCounter, resetSectionIdCounter, serializeSlidePackageClipboard, serializeSvgPath, setChartColorMapOverride, setChartDataPointGradient, setChartDataPointStyle, setChartHelperLine, setChartSeriesGradient, setElementLocked, setPresentationRunText, summarizeOpenXmlCoverage, summarizeOpenXmlCoverageByVocabulary, uniqueDisplayName, uniquePrefixedName, updateChartUserShape, updateChartUserShapeAtPath, withChartAxisOptions, withChartDataLabelOptions, withChartElementFormat, withChartLegendOptions, withChartSeriesOnSecondaryAxis, withChartSeriesOptions };
14810
+ export { ChartBuilder, ConnectorBuilder, GroupBuilder, ImageBuilder, MediaBuilder, OPENXML_COVERAGE, OPENXML_SCHEMA_CONSTRUCT_IDS, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS, Presentation, SLIDE_PACKAGE_CLIPBOARD_MIME, ShapeBuilder, SlideSizes, THEME_PRESETS, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, ThemePresets, addChartUserShape, addChartUserShapeGroupChild, addSection, applyTemplate, chartFormatTargetSupports, chartSupportsSecondaryAxis, cm, cmToEmu, collectLayoutNames, collectMasterNames, createPresentationFromOutline, createSlideClipboardPackage, deleteLayout, deleteSlideMaster, deserializeSlidePackageClipboard, diffPresentations, diffSlides, duplicateElement, duplicateLayout, duplicateSlide, duplicateSlideMaster, emuToPixels, findOpenXmlCoverage, findPlaceholders, getChartUserShapeAtPath, getSectionForSlide, getThemePreset, importSlidePackage, inches, inchesToEmu, insertLayout, insertSlideMaster, inspectPresentationText, interpolateShapeGeometry, isChartSeriesOnSecondaryAxis, listChartUserShapes, listUnassessedOpenXmlCoverage, mailMerge, mm, moveSlidesToSection, parseSvgPath, pixelsToEmu, pt, readChartElementFormat, removeChartUserShape, removeChartUserShapeAtPath, removeSection, renameLayout, renameSlideMaster, reorderSections, replaceShapeGeometry, replaceWithCustomGeometry, resetChartElementFormat, resetCloneIdCounter, resetSectionIdCounter, serializeSlidePackageClipboard, serializeSvgPath, setChartColorMapOverride, setChartDataPointGradient, setChartDataPointStyle, setChartHelperLine, setChartSeriesGradient, setElementLocked, setPresentationRunText, summarizeOpenXmlCoverage, summarizeOpenXmlCoverageByVocabulary, uniqueDisplayName, uniquePrefixedName, updateChartUserShape, updateChartUserShapeAtPath, withChartAxisOptions, withChartDataLabelOptions, withChartElementFormat, withChartLegendOptions, withChartSeriesOnSecondaryAxis, withChartSeriesOptions };