pptx-kit 0.6.0 → 0.6.2
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.
- package/CHANGELOG.md +43 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +54 -5
- package/dist/index.js.map +1 -1
- package/dist/node.js +54 -5
- package/dist/node.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# pptx-kit
|
|
2
2
|
|
|
3
|
+
## 0.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c41d8f9: Fix jammed bullet lists and unreadable chart categories
|
|
8
|
+
|
|
9
|
+
- **Bulleted text boxes now indent correctly.** `setShapeBullets` /
|
|
10
|
+
`setParagraphBullet` added the bullet glyph but no hanging indent, so a bullet
|
|
11
|
+
authored on a text box (which inherits the master's `otherStyle`, marL=0, not
|
|
12
|
+
the body style) rendered with the glyph jammed against the text. They now
|
|
13
|
+
write PowerPoint's per-level default `marL` / `indent` (unless the caller set
|
|
14
|
+
their own), matching PowerPoint and PptxGenJS.
|
|
15
|
+
- **Charts with multi-level category references now read back.** The chart
|
|
16
|
+
reader handled `<c:strRef>` / `<c:strLit>` categories but not
|
|
17
|
+
`<c:multiLvlStrRef>`, which is what PowerPoint and PptxGenJS emit — so
|
|
18
|
+
`getShapeChartCategories` (and the full `getShapeChartSpec`) returned an empty
|
|
19
|
+
category list for those charts. It now reads the level's points.
|
|
20
|
+
|
|
21
|
+
## 0.6.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 333b19f: fix: line-chart series colors now paint the line. The color was written only
|
|
26
|
+
as a bare `<a:solidFill>`, which doesn't color a line series' stroke, so
|
|
27
|
+
PowerPoint ignored it and fell back to its automatic palette (a 4-series line
|
|
28
|
+
chart authored as accent1–4 rendered blue/red/green/purple instead of the
|
|
29
|
+
requested colors). The color is now also emitted on `<a:ln>`.
|
|
30
|
+
- 665d4c2: Fix unstyled, broken-looking tables from `addSlideTable`
|
|
31
|
+
|
|
32
|
+
`addSlideTable` set the `firstRow` / `bandRow` flags but never wrote a
|
|
33
|
+
`<a:tableStyleId>`, and `createPresentation` shipped no `tableStyles.xml` part.
|
|
34
|
+
With no style to resolve against, PowerPoint painted the table as a borderless,
|
|
35
|
+
unstyled block — a "broken" grid with no rules.
|
|
36
|
+
|
|
37
|
+
- **Tables now reference PowerPoint's "No Style, Table Grid" built-in**
|
|
38
|
+
(`{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}`) via `<a:tableStyleId>`, the same
|
|
39
|
+
default PptxGenJS and PowerPoint itself emit, so a table resolves to a clean
|
|
40
|
+
ruled grid. Callers can override with the internal `styleId` option (or the
|
|
41
|
+
existing `setTableStyleId`).
|
|
42
|
+
- **`createPresentation` now ships `/ppt/tableStyles.xml`** (referenced from
|
|
43
|
+
`presentation.xml.rels`), matching every PowerPoint-authored deck, so the
|
|
44
|
+
`tableStyleId` always has a backing part.
|
|
45
|
+
|
|
3
46
|
## 0.6.0
|
|
4
47
|
|
|
5
48
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -2438,6 +2438,13 @@ interface ChartSpec {
|
|
|
2438
2438
|
* charts and side-by-side line charts.
|
|
2439
2439
|
*/
|
|
2440
2440
|
readonly hiLowLines?: boolean;
|
|
2441
|
+
/**
|
|
2442
|
+
* Whether a line chart draws point markers (`<c:lineChart><c:marker
|
|
2443
|
+
* val="1"/>`). `true` is PowerPoint's "Line with Markers" subtype;
|
|
2444
|
+
* absent / `false` is the plain "Line" subtype (no markers). Only
|
|
2445
|
+
* meaningful for `kind: 'line'`.
|
|
2446
|
+
*/
|
|
2447
|
+
readonly lineMarkers?: boolean;
|
|
2441
2448
|
/**
|
|
2442
2449
|
* Gap between adjacent bar groups in `<c:gapWidth val="N"/>` units
|
|
2443
2450
|
* (0..500, percent of bar width). Default 150 (= 1.5×) in PowerPoint.
|
package/dist/index.js
CHANGED
|
@@ -1124,6 +1124,7 @@ var VIEW_PROPS_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.pre
|
|
|
1124
1124
|
var SLIDE_MASTER_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml";
|
|
1125
1125
|
var SLIDE_LAYOUT_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml";
|
|
1126
1126
|
var THEME_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.theme+xml";
|
|
1127
|
+
var TABLE_STYLES_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml";
|
|
1127
1128
|
var CORE_PROPS_CONTENT_TYPE = "application/vnd.openxmlformats-package.core-properties+xml";
|
|
1128
1129
|
var EXTENDED_PROPS_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.extended-properties+xml";
|
|
1129
1130
|
var XML_DECL = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';
|
|
@@ -1137,10 +1138,11 @@ var LAYOUT_OBJ_XML = `${XML_DECL}<p:sldLayout xmlns:a="http://schemas.openxmlfor
|
|
|
1137
1138
|
var buildPresentationXml = (size) => `${XML_DECL}<p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" saveSubsetFonts="1"><p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst><p:sldSz cx="${size.cx}" cy="${size.cy}" type="${size.type}"/><p:notesSz cx="6858000" cy="9144000"/></p:presentation>`;
|
|
1138
1139
|
var PRES_PROPS_XML = `${XML_DECL}<p:presentationPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>`;
|
|
1139
1140
|
var VIEW_PROPS_XML = `${XML_DECL}<p:viewPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>`;
|
|
1141
|
+
var TABLE_STYLES_XML = `${XML_DECL}<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>`;
|
|
1140
1142
|
var CORE_PROPS_XML = `${XML_DECL}<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:title></dc:title><dc:creator>pptx-kit</dc:creator><cp:lastModifiedBy>pptx-kit</cp:lastModifiedBy></cp:coreProperties>`;
|
|
1141
1143
|
var EXTENDED_PROPS_XML = `${XML_DECL}<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>pptx-kit</Application></Properties>`;
|
|
1142
1144
|
var ROOT_RELS_XML = `${XML_DECL}<Relationships xmlns="${RT_PACKAGE}"><Relationship Id="rId1" Type="${RT}/officeDocument" Target="ppt/presentation.xml"/><Relationship Id="rId2" Type="${RT_PACKAGE}/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId3" Type="${RT}/extended-properties" Target="docProps/app.xml"/></Relationships>`;
|
|
1143
|
-
var PRES_RELS_XML = `${XML_DECL}<Relationships xmlns="${RT_PACKAGE}"><Relationship Id="rId1" Type="${RT}/slideMaster" Target="slideMasters/slideMaster1.xml"/><Relationship Id="rId2" Type="${RT}/theme" Target="theme/theme1.xml"/><Relationship Id="rId3" Type="${RT}/presProps" Target="presProps.xml"/><Relationship Id="rId4" Type="${RT}/viewProps" Target="viewProps.xml"/></Relationships>`;
|
|
1145
|
+
var PRES_RELS_XML = `${XML_DECL}<Relationships xmlns="${RT_PACKAGE}"><Relationship Id="rId1" Type="${RT}/slideMaster" Target="slideMasters/slideMaster1.xml"/><Relationship Id="rId2" Type="${RT}/theme" Target="theme/theme1.xml"/><Relationship Id="rId3" Type="${RT}/presProps" Target="presProps.xml"/><Relationship Id="rId4" Type="${RT}/viewProps" Target="viewProps.xml"/><Relationship Id="rId5" Type="${RT}/tableStyles" Target="tableStyles.xml"/></Relationships>`;
|
|
1144
1146
|
var MASTER_RELS_XML = `${XML_DECL}<Relationships xmlns="${RT_PACKAGE}"><Relationship Id="rId1" Type="${RT}/slideLayout" Target="../slideLayouts/slideLayout1.xml"/><Relationship Id="rId2" Type="${RT}/slideLayout" Target="../slideLayouts/slideLayout2.xml"/><Relationship Id="rId3" Type="${RT}/slideLayout" Target="../slideLayouts/slideLayout3.xml"/><Relationship Id="rId4" Type="${RT}/theme" Target="../theme/theme1.xml"/></Relationships>`;
|
|
1145
1147
|
var LAYOUT_RELS_XML = `${XML_DECL}<Relationships xmlns="${RT_PACKAGE}"><Relationship Id="rId1" Type="${RT}/slideMaster" Target="../slideMasters/slideMaster1.xml"/></Relationships>`;
|
|
1146
1148
|
var TEXT_ENCODER2 = new TextEncoder();
|
|
@@ -1158,6 +1160,7 @@ var buildBlankDeck = (aspect) => {
|
|
|
1158
1160
|
add("/ppt/presProps.xml", PRES_PROPS_CONTENT_TYPE, PRES_PROPS_XML);
|
|
1159
1161
|
add("/ppt/viewProps.xml", VIEW_PROPS_CONTENT_TYPE, VIEW_PROPS_XML);
|
|
1160
1162
|
add("/ppt/theme/theme1.xml", THEME_CONTENT_TYPE, THEME_XML);
|
|
1163
|
+
add("/ppt/tableStyles.xml", TABLE_STYLES_CONTENT_TYPE, TABLE_STYLES_XML);
|
|
1161
1164
|
add("/ppt/slideMasters/slideMaster1.xml", SLIDE_MASTER_CONTENT_TYPE, SLIDE_MASTER_XML);
|
|
1162
1165
|
add("/ppt/slideLayouts/slideLayout1.xml", SLIDE_LAYOUT_CONTENT_TYPE, LAYOUT_BLANK_XML);
|
|
1163
1166
|
add("/ppt/slideLayouts/slideLayout2.xml", SLIDE_LAYOUT_CONTENT_TYPE, LAYOUT_TITLE_XML);
|
|
@@ -1503,6 +1506,17 @@ var applyAlignmentToAllParagraphs = (txBody, align) => {
|
|
|
1503
1506
|
pPr.attrs.push(attr(ATTR_ALGN, token));
|
|
1504
1507
|
}
|
|
1505
1508
|
};
|
|
1509
|
+
var BULLET_INDENT_BY_LEVEL = [
|
|
1510
|
+
{ marL: 342900, indent: -342900 },
|
|
1511
|
+
{ marL: 742950, indent: -285750 },
|
|
1512
|
+
{ marL: 1143e3, indent: -228600 },
|
|
1513
|
+
{ marL: 1600200, indent: -228600 },
|
|
1514
|
+
{ marL: 2057400, indent: -228600 }
|
|
1515
|
+
];
|
|
1516
|
+
var bulletIndentForLevel = (lvl) => BULLET_INDENT_BY_LEVEL[Math.min(lvl, BULLET_INDENT_BY_LEVEL.length - 1)];
|
|
1517
|
+
var ATTR_MAR_L = qname("", "marL", "");
|
|
1518
|
+
var ATTR_INDENT = qname("", "indent", "");
|
|
1519
|
+
var hasAttr = (el, local) => el.attrs.some((a2) => a2.name.namespaceURI === "" && a2.name.localName === local);
|
|
1506
1520
|
var applyBulletToParagraph = (paragraph, style) => {
|
|
1507
1521
|
let pPr = firstChildElement(paragraph, NAME_PPR_FOR_BULLET);
|
|
1508
1522
|
if (pPr === null) {
|
|
@@ -1512,6 +1526,15 @@ var applyBulletToParagraph = (paragraph, style) => {
|
|
|
1512
1526
|
pPr.children = pPr.children.filter(
|
|
1513
1527
|
(c2) => !(c2.kind === "element" && c2.name.namespaceURI === NS.dml && (c2.name.localName === "buChar" || c2.name.localName === "buAutoNum" || c2.name.localName === "buNone"))
|
|
1514
1528
|
);
|
|
1529
|
+
if (style !== "none") {
|
|
1530
|
+
const lvl = Number.parseInt(
|
|
1531
|
+
pPr.attrs.find((a2) => a2.name.localName === "lvl")?.value ?? "0",
|
|
1532
|
+
10
|
|
1533
|
+
);
|
|
1534
|
+
const { marL, indent } = bulletIndentForLevel(Number.isFinite(lvl) ? lvl : 0);
|
|
1535
|
+
if (!hasAttr(pPr, "marL")) pPr.attrs.push(attr(ATTR_MAR_L, String(marL)));
|
|
1536
|
+
if (!hasAttr(pPr, "indent")) pPr.attrs.push(attr(ATTR_INDENT, String(indent)));
|
|
1537
|
+
}
|
|
1515
1538
|
pPr.children.push(buildBulletElement(style));
|
|
1516
1539
|
};
|
|
1517
1540
|
var applyBulletToAllParagraphs = (txBody, style) => {
|
|
@@ -2926,6 +2949,7 @@ var buildPicture = (opts) => {
|
|
|
2926
2949
|
|
|
2927
2950
|
// src/internal/presentationml/table-builder.ts
|
|
2928
2951
|
var TABLE_URI = "http://schemas.openxmlformats.org/drawingml/2006/table";
|
|
2952
|
+
var DEFAULT_TABLE_STYLE_ID = "{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}";
|
|
2929
2953
|
var NAME_GRAPHIC_FRAME = qname("p", "graphicFrame", NS.pml);
|
|
2930
2954
|
var NAME_NV_GRAPHIC_FRAME_PR2 = qname("p", "nvGraphicFramePr", NS.pml);
|
|
2931
2955
|
var NAME_C_NV_PR7 = qname("p", "cNvPr", NS.pml);
|
|
@@ -2939,6 +2963,7 @@ var NAME_GRAPHIC = qname("a", "graphic", NS.dml);
|
|
|
2939
2963
|
var NAME_GRAPHIC_DATA = qname("a", "graphicData", NS.dml);
|
|
2940
2964
|
var NAME_TBL = qname("a", "tbl", NS.dml);
|
|
2941
2965
|
var NAME_TBL_PR = qname("a", "tblPr", NS.dml);
|
|
2966
|
+
var NAME_TABLE_STYLE_ID = qname("a", "tableStyleId", NS.dml);
|
|
2942
2967
|
var NAME_TBL_GRID = qname("a", "tblGrid", NS.dml);
|
|
2943
2968
|
var NAME_GRID_COL = qname("a", "gridCol", NS.dml);
|
|
2944
2969
|
var NAME_TR = qname("a", "tr", NS.dml);
|
|
@@ -3047,11 +3072,15 @@ var buildTable = (opts) => {
|
|
|
3047
3072
|
attrs: [attr(ATTR_CX8, String(Math.round(opts.w))), attr(ATTR_CY8, String(Math.round(opts.h)))]
|
|
3048
3073
|
});
|
|
3049
3074
|
const xfrm = elem(NAME_P_XFRM3, { children: [off, ext] });
|
|
3075
|
+
const tableStyleId = elem(NAME_TABLE_STYLE_ID, {
|
|
3076
|
+
children: [text(opts.styleId ?? DEFAULT_TABLE_STYLE_ID)]
|
|
3077
|
+
});
|
|
3050
3078
|
const tblPr = elem(NAME_TBL_PR, {
|
|
3051
3079
|
attrs: [
|
|
3052
3080
|
attr(ATTR_FIRST_ROW, opts.firstRow ?? true ? "1" : "0"),
|
|
3053
3081
|
attr(ATTR_BAND_ROW, opts.bandRow ?? true ? "1" : "0")
|
|
3054
|
-
]
|
|
3082
|
+
],
|
|
3083
|
+
children: [tableStyleId]
|
|
3055
3084
|
});
|
|
3056
3085
|
const tblGrid = elem(NAME_TBL_GRID, {
|
|
3057
3086
|
children: colWidths.map(
|
|
@@ -4447,7 +4476,7 @@ var seriesElement = (spec, seriesIdx, sheet) => {
|
|
|
4447
4476
|
valNode(c("order"), seriesIdx),
|
|
4448
4477
|
elem(c("tx"), { children: [strRef(headerCellFormula, [series.name])] })
|
|
4449
4478
|
];
|
|
4450
|
-
if (series.lineWidthEmu !== void 0 || series.lineDash !== void 0) {
|
|
4479
|
+
if (spec.kind === "line" || series.lineWidthEmu !== void 0 || series.lineDash !== void 0) {
|
|
4451
4480
|
children.push(seriesSpPr(color, series.lineWidthEmu, series.lineDash));
|
|
4452
4481
|
} else {
|
|
4453
4482
|
children.push(solidFillSpPr(color));
|
|
@@ -4690,7 +4719,7 @@ var buildLineChart = (spec, sheet) => {
|
|
|
4690
4719
|
if (spec.dropLines) children.push(elem(c("dropLines")));
|
|
4691
4720
|
if (spec.hiLowLines) children.push(elem(c("hiLowLines")));
|
|
4692
4721
|
children.push(
|
|
4693
|
-
valNode(c("marker"), "1"),
|
|
4722
|
+
valNode(c("marker"), spec.lineMarkers === false ? "0" : "1"),
|
|
4694
4723
|
valNode(c("axId"), CAT_AX_ID),
|
|
4695
4724
|
valNode(c("axId"), VAL_AX_ID)
|
|
4696
4725
|
);
|
|
@@ -4920,6 +4949,9 @@ var NAME_STR_CACHE = qname("c", "strCache", NS_C2);
|
|
|
4920
4949
|
var NAME_NUM_CACHE = qname("c", "numCache", NS_C2);
|
|
4921
4950
|
var NAME_STR_LIT = qname("c", "strLit", NS_C2);
|
|
4922
4951
|
var NAME_NUM_LIT = qname("c", "numLit", NS_C2);
|
|
4952
|
+
var NAME_MULTI_LVL_STR_REF = qname("c", "multiLvlStrRef", NS_C2);
|
|
4953
|
+
var NAME_MULTI_LVL_STR_CACHE = qname("c", "multiLvlStrCache", NS_C2);
|
|
4954
|
+
var NAME_LVL = qname("c", "lvl", NS_C2);
|
|
4923
4955
|
var NAME_PT = qname("c", "pt", NS_C2);
|
|
4924
4956
|
var NAME_V = qname("c", "v", NS_C2);
|
|
4925
4957
|
var NAME_TITLE = qname("c", "title", NS_C2);
|
|
@@ -4994,6 +5026,12 @@ var readStringChannel = (parent) => {
|
|
|
4994
5026
|
}
|
|
4995
5027
|
const lit = firstChildElement(parent, NAME_STR_LIT);
|
|
4996
5028
|
if (lit) return readPtArray(lit);
|
|
5029
|
+
const multi = firstChildElement(parent, NAME_MULTI_LVL_STR_REF);
|
|
5030
|
+
if (multi) {
|
|
5031
|
+
const cache = firstChildElement(multi, NAME_MULTI_LVL_STR_CACHE);
|
|
5032
|
+
const lvl = cache ? firstChildElement(cache, NAME_LVL) : null;
|
|
5033
|
+
if (lvl) return readPtArray(lvl);
|
|
5034
|
+
}
|
|
4997
5035
|
return null;
|
|
4998
5036
|
};
|
|
4999
5037
|
var readStringRef = (parent) => readStringChannel(parent);
|
|
@@ -5574,6 +5612,16 @@ var readChartSpec = (root) => {
|
|
|
5574
5612
|
const hiLowLinesEl = firstChildElement(plotted, qname("c", "hiLowLines", NS_C2));
|
|
5575
5613
|
const dropLines = dropLinesEl !== null ? true : void 0;
|
|
5576
5614
|
const hiLowLines = hiLowLinesEl !== null ? true : void 0;
|
|
5615
|
+
let lineMarkers;
|
|
5616
|
+
if (kind === "line") {
|
|
5617
|
+
const markerEl = firstChildElement(plotted, qname("c", "marker", NS_C2));
|
|
5618
|
+
if (markerEl === null) {
|
|
5619
|
+
lineMarkers = false;
|
|
5620
|
+
} else {
|
|
5621
|
+
const v = getAttrValue(markerEl, ATTR_VAL8);
|
|
5622
|
+
lineMarkers = v === null ? true : v === "1" || v === "true";
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5577
5625
|
let gapWidthPct;
|
|
5578
5626
|
let overlapPct;
|
|
5579
5627
|
if (kind === "column" || kind === "bar") {
|
|
@@ -5986,6 +6034,7 @@ var readChartSpec = (root) => {
|
|
|
5986
6034
|
...grouping !== void 0 ? { grouping } : {},
|
|
5987
6035
|
...dropLines !== void 0 ? { dropLines } : {},
|
|
5988
6036
|
...hiLowLines !== void 0 ? { hiLowLines } : {},
|
|
6037
|
+
...lineMarkers !== void 0 ? { lineMarkers } : {},
|
|
5989
6038
|
...gapWidthPct !== void 0 ? { gapWidthPct } : {},
|
|
5990
6039
|
...overlapPct !== void 0 ? { overlapPct } : {},
|
|
5991
6040
|
...legend !== void 0 ? { legend } : {},
|
|
@@ -13650,7 +13699,7 @@ var mergePresentations = (targetPres, sourcePres, targetLayout) => {
|
|
|
13650
13699
|
};
|
|
13651
13700
|
|
|
13652
13701
|
// src/api/index.ts
|
|
13653
|
-
var VERSION = "0.6.
|
|
13702
|
+
var VERSION = "0.6.2" ;
|
|
13654
13703
|
|
|
13655
13704
|
export { SLIDE_SIZE_16_10, SLIDE_SIZE_16_9, SLIDE_SIZE_4_3, VERSION, _internalPackageOf, addBlankSlide, addContentSlide, addSectionHeaderSlide, addSlide, addSlideAt, addSlideChart, addSlideComment, addSlideImage, addSlideLine, addSlideShape, addSlideTable, addSlideTextBox, addTitleSlide, appendShapeText, appendSlideNotes, bringShapeForward, bringShapeToFront, centerShapeOnSlide, clearAllHyperlinks, clearAllSlideComments, clearAllSlideNotes, clearShapeEffects, clearShapeFill, clearShapeStroke, clearSlideAnimations, clearSlideBackground, clearSlideComments, clearSlideHyperlinks, clearSlideShapes, clearSlideTransition, clearTableCellFill, cm, compactPackage, copyShape, createPresentation, duplicateSlide, duplicateSlideAt, emu, findChartByKind, findChartsBySeriesName, findChartsWithDataLabels, findChartsWithTrendlines, findCommentAuthorByName, findCommentsAfter, findCommentsBefore, findCommentsByAuthor, findCommentsByText, findEmptyPlaceholders, findFlippedShapes, findLayoutsWithPlaceholderType, findOverlappingShapePairs, findShapeById, findShapeByName, findShapeByText, findShapeInPresentation, findShapesAtPoint, findShapesByEffect, findShapesByHyperlink, findShapesByKind, findShapesByName, findShapesByPreset, findShapesByText, findShapesInRect, findShapesOutsideCanvas, findShapesWithAnimation, findShapesWithHyperlinks, findSlideByPartName, findSlideByText, findSlideByTitle, findSlideLayout, findSlideLayoutByPartName, findSlideLayoutByType, findSlidePlaceholder, findSlidePlaceholderByIdx, findSlidePlaceholders, findSlidesByHyperlink, findSlidesByLayoutName, findSlidesByLayoutPartName, findSlidesByLayoutType, findSlidesByNotes, findSlidesByText, findSlidesWithChartKind, findSlidesWithChartTrendlines, findSlidesWithCommentsByAuthor, getAllCharts, getAllComments, getAllHyperlinks, getAllImages, getAllNotes, getAllShapes, getAllTables, getCommentAuthor, getCommentAuthors, getCommentDate, getCommentPosition, getCommentSlide, getCommentText, getCommentsSortedByDate, getCoreProperties, getDistinctHyperlinkUrls, getEffectiveColorMap, getEmptySlides, getExtendedProperties, getGroupChildren, getGroupTransform, getHiddenSlides, getMaxShapeId, getMaxShapeIdInPresentation, getMediaParts, getOrphanMediaPartNames, getOutlineText, getPackageSize, getParagraphAlignment, getParagraphBullet, getParagraphBulletImageBytes, getParagraphBulletStyle, getParagraphIndent, getParagraphLevel, getParagraphLineSpacing, getParagraphPropertiesEffective, getParagraphSpacing, getPresentationChartCountsBySlide, getPresentationChartKindCounts, getPresentationCommentCountsByAuthor, getPresentationCommentCountsBySlide, getPresentationCommenters, getPresentationCreated, getPresentationFonts, getPresentationHyperlinkCountsBySlide, getPresentationImageCountsBySlide, getPresentationModified, getPresentationNotesLength, getPresentationNotesLengthsBySlide, getPresentationNotesText, getPresentationShapeCountsBySlide, getPresentationSummary, getPresentationTableCountsBySlide, getPresentationText, getPresentationTextLength, getPresentationTextLengthsBySlide, getPresentationTheme, getShapeAdjustValues, getShapeAltTitle, getShapeAnimation, getShapeAt, getShapeBodyPrEffective, getShapeBounds, getShapeBoundsResolved, getShapeCenter, getShapeChartCategories, getShapeChartKind, getShapeChartSeriesNames, getShapeChartSeriesValues, getShapeChartSpec, getShapeClickAction, getShapeCustomGeometry, getShapeDescription, getShapeEffect, getShapeEffects, getShapeEffectsEffective, getShapeFill, getShapeFillColor, getShapeFillColorResolved, getShapeFillEffective, getShapeFlip, getShapeGradientFill, getShapeGradientFillEffective, getShapeHyperlink, getShapeHyperlinkTooltip, getShapeId, getShapeImageBiLevelThreshold, getShapeImageBrightness, getShapeImageBytes, getShapeImageContrast, getShapeImageCrop, getShapeImageDuotone, getShapeImageFillBytes, getShapeImageFormat, getShapeImageLinkUrl, getShapeImageOpacity, getShapeImagePartName, getShapeIndex, getShapeKind, getShapeName, getShapeParagraphCount, getShapeParagraphElements, getShapePatternFill, getShapePlaceholderIdx, getShapePlaceholderType, getShapePosition, getShapePreset, getShapeRotation, getShapeRunClickAction, getShapeRunCount, getShapeRunFormat, getShapeRunFormatEffective, getShapeRunHyperlink, getShapeRunHyperlinkTooltip, getShapeRunText, getShapeSize, getShapeSlide, getShapeStroke, getShapeStrokeArrow, getShapeStrokeCap, getShapeStrokeColor, getShapeStrokeColorResolved, getShapeStrokeCompound, getShapeStrokeDash, getShapeStrokeEffective, getShapeStrokeJoin, getShapeStrokeWidth, getShapeText, getShapeTextAnchor, getShapeTextAutoFit, getShapeTextAutoFitParams, getShapeTextBodyRotationDeg, getShapeTextColumns, getShapeTextDirection, getShapeTextMargins, getShapeTextWrap, getShapeXmlString, getShapeZIndex, getShapesBounds, getSlideAt, getSlideBackground, getSlideBackgroundGradientFill, getSlideBackgroundImageBytes, getSlideBackgroundPatternFill, getSlideBody, getSlideCharts, getSlideColorMapOverride, getSlideCommentAuthors, getSlideComments, getSlideCount, getSlideIndex, getSlideInfo, getSlideLayout, getSlideLayoutBackground, getSlideLayoutBackgroundGradientFill, getSlideLayoutBackgroundImageBytes, getSlideLayoutBackgroundPatternFill, getSlideLayoutBackgroundShapes, getSlideLayoutCount, getSlideLayoutName, getSlideLayoutPartName, getSlideLayoutPlaceholders, getSlideLayoutShapes, getSlideLayoutType, getSlideLayoutUsageCounts, getSlideLayoutUsageCountsByType, getSlideLayouts, getSlideMasterBackground, getSlideMasterBackgroundGradientFill, getSlideMasterBackgroundImageBytes, getSlideMasterBackgroundPatternFill, getSlideMasterCount, getSlideMasterPartName, getSlideMasterPartNames, getSlideMasterShapes, getSlideMasterUsageCounts, getSlideMediaPartNames, getSlideNotes, getSlideNotesLength, getSlideOutline, getSlidePartName, getSlideSections, getSlideShapes, getSlideSize, getSlideTables, getSlideText, getSlideTextLength, getSlideTitle, getSlideTransition, getSlideXmlString, getSlides, getSlidesByLayout, getSlidesWithCharts, getSlidesWithComments, getSlidesWithEmptyPlaceholders, getSlidesWithHyperlinks, getSlidesWithImages, getSlidesWithNotes, getSlidesWithOverlap, getSlidesWithTables, getTableCell, getTableCellAlignment, getTableCellAnchor, getTableCellBorders, getTableCellFill, getTableCellMargins, getTableCellParagraphs, getTableCellPosition, getTableCellSpan, getTableCellText, getTableCellTextDirection, getTableCells, getTableColumnWidths, getTableDimensions, getTableRowHeights, getTableSize, getTableStyleFlags, getTableStyleId, getThumbnail, getUnusedSlideLayouts, getUnusedSlideMasters, getVisibleSlides, hasShapeImage, hasShapeText, hasSlideNotes, importSlide, inches, incrementRevision, insertTableColumn, insertTableRow, isChartShape, isParagraphBulletPicture, isShapeHidden, isShapeImageGrayscale, isShapePlaceholder, isShapeTextBox, isSlideHidden, isTableShape, listPackageParts, loadPresentation, mergePresentations, mergeTableCells, mm, moveSlide, pointInShape, pt, readPackagePart, removeShape, removeSlide, removeSlideComment, removeSlideNotes, removeTableColumn, removeTableRow, removeThumbnail, renameShape, replaceHyperlink, replaceTextInNotes, replaceTextInPresentation, replaceTextInSlide, replaceTextInSlideNotes, replaceTokensInPresentation, replaceTokensInSlide, resolveDeckBodyTextColor, resolveDrawingColor, reverseSlides, savePresentation, searchSlides, sendShapeBackward, sendShapeToBack, setChartSpec, setCoreProperties, setExtendedProperties, setMediaPartBytes, setParagraphAlignment, setParagraphBullet, setParagraphLevel, setParagraphSpacing, setShapeAlignment, setShapeAltTitle, setShapeAnimation, setShapeBounds, setShapeBullets, setShapeClickAction, setShapeDescription, setShapeFill, setShapeFlip, setShapeGlow, setShapeGradientFill, setShapeHidden, setShapeHyperlink, setShapeImage, setShapeImageBrightness, setShapeImageContrast, setShapeImageCrop, setShapeImageFill, setShapeImageOpacity, setShapeNoFill, setShapeNoStroke, setShapePatternFill, setShapePosition, setShapeRotation, setShapeRunFormat, setShapeRunHyperlink, setShapeRunText, setShapeShadow, setShapeSize, setShapeStroke, setShapeStrokeArrow, setShapeStrokeCap, setShapeStrokeCompound, setShapeStrokeDash, setShapeStrokeJoin, setShapeText, setShapeTextAnchor, setShapeTextAutoFit, setShapeTextBodyRotationDeg, setShapeTextColumns, setShapeTextDirection, setShapeTextFormat, setShapeTextMargins, setShapeTextWrap, setShapeZIndex, setSlideBackground, setSlideBackgroundImage, setSlideBody, setSlideHidden, setSlideLayout, setSlideNotes, setSlidePlaceholders, setSlideSections, setSlideSize, setSlideTitle, setSlideTransition, setTableCellAlignment, setTableCellAnchor, setTableCellBorders, setTableCellFill, setTableCellMargins, setTableCellText, setTableCellTextDirection, setTableCellTextFormat, setTableColumnWidth, setTableRowHeight, setTableStyleFlags, setTableStyleId, setThumbnail, shapesOverlap, slideHasAnimations, slidesUsingMediaPart, sortSlides, swapSlides, touchModified, translateShapes, validatePresentation };
|
|
13656
13705
|
//# sourceMappingURL=index.js.map
|