pptx-kit 0.3.0 → 0.5.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.
- package/CHANGELOG.md +43 -0
- package/dist/index.d.ts +83 -28
- package/dist/index.js +2912 -2644
- package/dist/index.js.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +2912 -2644
- 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.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4a2ede1: Resolve scheme colors through the slide's color map so inverted-map templates render correctly
|
|
8
|
+
|
|
9
|
+
Templates whose slide master inverts the color map (`<p:clrMap bg1="dk1" tx1="lt1">`, common in Google Slides / Canva exports) previously rendered with swapped light/dark colors: slide backgrounds came out black in the preview while PowerPoint paints them white, and generated tables and charts came out with invisible text (the default `tx1` token resolved to the same color as the background).
|
|
10
|
+
|
|
11
|
+
- **`getEffectiveColorMap(slide)`** — new export returning the slide's effective color map (the master's `<p:clrMap>` overlaid by a per-slide `<p:clrMapOvr>`). Color resolution and renderers apply it to `schemeClr` tokens before indexing the theme.
|
|
12
|
+
- **`resolveDrawingColor(colorEl, theme, clrMap?)`** — accepts an optional color map; scheme tokens are remapped through it before the theme lookup. Omitting it preserves the previous behavior (correct for the standard map).
|
|
13
|
+
- **`addSlideTable` / `addSlideChart`** now bake the deck's resolved body-text color onto table cells and chart text (axis labels, legend, data labels) so generated tables and charts stay readable regardless of the template's color map. Authored colors still win; override table cells afterwards with `setTableCellTextFormat`.
|
|
14
|
+
- **`pptx-kit-preview`** resolves `schemeClr` tokens through the effective color map, so previews of inverted-map decks match what PowerPoint paints.
|
|
15
|
+
|
|
16
|
+
## 0.4.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 9809441: Chart label fonts, table cell merging, and aspect-ratio-preserving image placement
|
|
21
|
+
|
|
22
|
+
**`ChartTextStyle.font`** — chart titles, axis titles, axis tick labels,
|
|
23
|
+
legends, and data labels now accept a font face
|
|
24
|
+
(`titleStyle: { font: 'Yu Gothic' }`). The builder writes both
|
|
25
|
+
`<a:latin typeface>` and `<a:ea typeface>` so CJK families render
|
|
26
|
+
correctly in PowerPoint, and `getSlideCharts` / `getShapeChartSpec` read
|
|
27
|
+
the face back for round-trips. Works through both `addSlideChart` and
|
|
28
|
+
`setChartSpec`. (The SVG preview keeps its fixed substitution font set —
|
|
29
|
+
authored chart faces affect the emitted PPTX, not the preview raster.)
|
|
30
|
+
|
|
31
|
+
**`mergeTableCells(table, { row, col, rowSpan, colSpan })`** — the write
|
|
32
|
+
counterpart to `getTableCellSpan`. Merges a rectangular block into its
|
|
33
|
+
top-left anchor, emitting `gridSpan` / `rowSpan` on the anchor and
|
|
34
|
+
`hMerge` / `vMerge` on the covered cells per ECMA-376 §21.1.3.18.
|
|
35
|
+
Out-of-range blocks, 1×1 blocks, and overlaps with existing merges are
|
|
36
|
+
rejected with descriptive errors before anything is mutated.
|
|
37
|
+
|
|
38
|
+
**`fit: 'contain'` on `addSlideImage` / `setShapeImage`** — preserve the
|
|
39
|
+
image's aspect ratio instead of stretching to the target box. `'contain'`
|
|
40
|
+
inscribes and centers the image (natural size read from the PNG / JPEG
|
|
41
|
+
header); other formats fall back to the default `'fill'` (the existing
|
|
42
|
+
stretch behavior) rather than erroring. On `setShapeImage`,
|
|
43
|
+
`fit: 'contain'` re-fits the replacement image inside the picture's
|
|
44
|
+
current box.
|
|
45
|
+
|
|
3
46
|
## 0.3.0
|
|
4
47
|
|
|
5
48
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1847,14 +1847,29 @@ declare const getCommentPosition: (comment: SlideCommentData) => CommentPosition
|
|
|
1847
1847
|
*/
|
|
1848
1848
|
declare const getCommentSlide: (comment: SlideCommentData) => SlideData;
|
|
1849
1849
|
|
|
1850
|
+
/**
|
|
1851
|
+
* How an image fills its target box:
|
|
1852
|
+
*
|
|
1853
|
+
* - `'fill'` — stretch to the exact `w × h`, ignoring aspect ratio
|
|
1854
|
+
* (the historical behavior, and the default for back-compat).
|
|
1855
|
+
* - `'contain'` — scale to fit inside the box preserving aspect ratio,
|
|
1856
|
+
* then center the result. The box's empty margins stay transparent.
|
|
1857
|
+
*/
|
|
1858
|
+
type ImageFit = 'fill' | 'contain';
|
|
1850
1859
|
/**
|
|
1851
1860
|
* Replaces a picture's media with `bytes`. Same-format replacements
|
|
1852
1861
|
* write in place; cross-format replacements allocate a new media part
|
|
1853
|
-
* and repoint the rel. The
|
|
1854
|
-
*
|
|
1862
|
+
* and repoint the rel. The geometry — crop, transform — is preserved.
|
|
1863
|
+
*
|
|
1864
|
+
* Pass `options.fit: 'contain'` to re-fit the picture's extent to the
|
|
1865
|
+
* replacement image's aspect ratio, inscribed and centered in the shape's
|
|
1866
|
+
* current `(off, ext)` box. The default `'fill'` leaves the extent as-is
|
|
1867
|
+
* (the historical behavior). When the new image's natural size can't be
|
|
1868
|
+
* measured (non-PNG/JPEG), `'contain'` is a no-op rather than an error.
|
|
1855
1869
|
*/
|
|
1856
1870
|
declare const setShapeImage: (shape: SlideShapeData, bytes: Uint8Array, options?: {
|
|
1857
1871
|
format?: ImageFormat;
|
|
1872
|
+
fit?: ImageFit;
|
|
1858
1873
|
}) => void;
|
|
1859
1874
|
|
|
1860
1875
|
/** What clicking the shape should do. */
|
|
@@ -2153,6 +2168,14 @@ type ChartGrouping = 'clustered' | 'stacked' | 'percentStacked' | 'standard';
|
|
|
2153
2168
|
* renderer's default for this label position."
|
|
2154
2169
|
*/
|
|
2155
2170
|
interface ChartTextStyle {
|
|
2171
|
+
/**
|
|
2172
|
+
* Font face applied to both the latin and east-asian typeface slots —
|
|
2173
|
+
* `<a:rPr><a:latin typeface="…"/><a:ea typeface="…"/>`. East-asian is
|
|
2174
|
+
* set alongside latin so a Japanese / CJK family (e.g. `'Yu Gothic'`)
|
|
2175
|
+
* renders the labels instead of the renderer's latin-only fallback.
|
|
2176
|
+
* Mirrors the latin/ea pairing PowerPoint emits for CJK chart fonts.
|
|
2177
|
+
*/
|
|
2178
|
+
readonly font?: string;
|
|
2156
2179
|
/** Font size in points. From `<a:rPr sz="N"/>` where N is in 100ths of a pt. */
|
|
2157
2180
|
readonly sizePt?: number;
|
|
2158
2181
|
/** Bold flag from `<a:rPr b="1"/>`. */
|
|
@@ -2516,27 +2539,6 @@ interface ChartSpec {
|
|
|
2516
2539
|
readonly bubbleSizeRepresents?: 'area' | 'width';
|
|
2517
2540
|
}
|
|
2518
2541
|
|
|
2519
|
-
/**
|
|
2520
|
-
* Adds a chart to the slide. Returns the new shape handle (kind
|
|
2521
|
-
* `graphicFrame`). Supported chart kinds today: `bar`, `column`,
|
|
2522
|
-
* `line`, `pie` — see `ChartSpec.kind`.
|
|
2523
|
-
*
|
|
2524
|
-
* Side effects:
|
|
2525
|
-
*
|
|
2526
|
-
* - Allocates `/ppt/charts/chart{N}.xml` for the chart definition.
|
|
2527
|
-
* - Allocates `/ppt/embeddings/Microsoft_Excel_Worksheet{N}.xlsx` as
|
|
2528
|
-
* a placeholder workbook (single sheet, header row + one row per
|
|
2529
|
-
* category). PowerPoint reads the inline `<c:strCache>` /
|
|
2530
|
-
* `<c:numCache>` so the workbook is for "Edit data" only.
|
|
2531
|
-
* - Slide → chart and chart → workbook rels are wired with fresh rIds.
|
|
2532
|
-
* - `<a:graphicFrame>` is appended to the slide's `<p:spTree>`.
|
|
2533
|
-
*
|
|
2534
|
-
* Constraints:
|
|
2535
|
-
*
|
|
2536
|
-
* - `pie` charts require exactly one series.
|
|
2537
|
-
* - All series should have at most `categories.length` values; missing
|
|
2538
|
-
* values are treated as blanks (gaps in the visualization).
|
|
2539
|
-
*/
|
|
2540
2542
|
declare const addSlideChart: (slide: SlideData, opts: {
|
|
2541
2543
|
spec: ChartSpec;
|
|
2542
2544
|
x: Emu;
|
|
@@ -2830,6 +2832,34 @@ declare const getTableCellSpan: (cell: TableCellData) => {
|
|
|
2830
2832
|
hMerge: boolean;
|
|
2831
2833
|
vMerge: boolean;
|
|
2832
2834
|
};
|
|
2835
|
+
/**
|
|
2836
|
+
* Merges a rectangular block of table cells into a single visual cell.
|
|
2837
|
+
*
|
|
2838
|
+
* The block's top-left cell `(row, col)` becomes the anchor and carries
|
|
2839
|
+
* `gridSpan` (= `colSpan`) / `rowSpan`; the cells it covers are marked
|
|
2840
|
+
* `hMerge` / `vMerge` per ECMA-376 §21.1.3.18 (`CT_TableCell`) so the
|
|
2841
|
+
* grid stays rectangular while PowerPoint paints only the anchor. This
|
|
2842
|
+
* is the write counterpart to {@link getTableCellSpan}.
|
|
2843
|
+
*
|
|
2844
|
+
* Constraints, enforced loudly (these are authoring-boundary inputs):
|
|
2845
|
+
*
|
|
2846
|
+
* - `rowSpan` / `colSpan` must be ≥ 1, and at least one must be > 1
|
|
2847
|
+
* (a 1×1 "merge" is a no-op the caller didn't mean).
|
|
2848
|
+
* - The block must lie fully inside the table grid.
|
|
2849
|
+
* - No cell in the block may already participate in another merge —
|
|
2850
|
+
* overlapping merges corrupt the grid and trip PowerPoint's repair
|
|
2851
|
+
* dialog. Split the existing merge first.
|
|
2852
|
+
*
|
|
2853
|
+
* The anchor cell's text is preserved; covered cells keep their own
|
|
2854
|
+
* `<a:txBody>` in the XML (PowerPoint ignores it while the merge marker
|
|
2855
|
+
* is set) so the operation stays losslessly reversible.
|
|
2856
|
+
*/
|
|
2857
|
+
declare const mergeTableCells: (table: SlideShapeData, block: {
|
|
2858
|
+
readonly row: number;
|
|
2859
|
+
readonly col: number;
|
|
2860
|
+
readonly rowSpan: number;
|
|
2861
|
+
readonly colSpan: number;
|
|
2862
|
+
}) => void;
|
|
2833
2863
|
/**
|
|
2834
2864
|
* One side of a cell's border, as read from `<a:tcPr><a:ln{L|R|T|B}>`.
|
|
2835
2865
|
* `widthEmu` is the line width in EMU; `color` is `#RRGGBB` or `null`
|
|
@@ -3732,7 +3762,7 @@ declare const getPresentationFonts: (pres: PresentationData) => PresentationFont
|
|
|
3732
3762
|
* apply the same transform pipeline; keeping a single implementation
|
|
3733
3763
|
* means future spec-coverage additions only have to land in one place.
|
|
3734
3764
|
*/
|
|
3735
|
-
declare const resolveDrawingColor: (colorEl: XmlElement, theme: PresentationTheme | null) => string | null;
|
|
3765
|
+
declare const resolveDrawingColor: (colorEl: XmlElement, theme: PresentationTheme | null, clrMap?: Readonly<Record<string, string>> | null) => string | null;
|
|
3736
3766
|
/**
|
|
3737
3767
|
* Reads back the format of a single run. Returns `null` when the run
|
|
3738
3768
|
* has no `<a:rPr>` (it inherits its format from the paragraph /
|
|
@@ -3921,9 +3951,15 @@ declare const addSlideLine: (slide: SlideData, opts: {
|
|
|
3921
3951
|
name?: string;
|
|
3922
3952
|
}) => SlideShapeData;
|
|
3923
3953
|
/**
|
|
3924
|
-
* Adds a table to the slide. Cells render as plain text
|
|
3925
|
-
*
|
|
3926
|
-
*
|
|
3954
|
+
* Adds a table to the slide. Cells render as plain text; `firstRow` /
|
|
3955
|
+
* `bandRow` flags drive PowerPoint's banded-header look unless options say
|
|
3956
|
+
* otherwise.
|
|
3957
|
+
*
|
|
3958
|
+
* Cell text color is baked from the deck's resolved body-text color so the
|
|
3959
|
+
* table stays readable even on templates with an inverted color map
|
|
3960
|
+
* (`bg1="dk1" tx1="lt1"`), where the default `tx1` text token would otherwise
|
|
3961
|
+
* paint the text the same as the background. Override per cell afterwards with
|
|
3962
|
+
* `setTableCellTextFormat`.
|
|
3927
3963
|
*/
|
|
3928
3964
|
declare const addSlideTable: (slide: SlideData, opts: {
|
|
3929
3965
|
x: Emu;
|
|
@@ -3945,6 +3981,13 @@ declare const addSlideTable: (slide: SlideData, opts: {
|
|
|
3945
3981
|
* rel, and appends a `<p:pic>` element to the slide's `<p:spTree>`.
|
|
3946
3982
|
*
|
|
3947
3983
|
* Format is detected from magic bytes; pass `opts.format` to override.
|
|
3984
|
+
*
|
|
3985
|
+
* `opts.fit` controls how the image fills the `w × h` box. `'fill'` (the
|
|
3986
|
+
* default) stretches to the exact box, ignoring aspect ratio. `'contain'`
|
|
3987
|
+
* scales the image to fit inside the box preserving its aspect ratio and
|
|
3988
|
+
* centers it — measured from the PNG / JPEG header. For other formats (or
|
|
3989
|
+
* an unreadable header) `'contain'` falls back to `'fill'` rather than
|
|
3990
|
+
* erroring, since the natural size is unknown.
|
|
3948
3991
|
*/
|
|
3949
3992
|
declare const addSlideImage: (slide: SlideData, bytes: Uint8Array, opts: {
|
|
3950
3993
|
x: Emu;
|
|
@@ -3953,6 +3996,7 @@ declare const addSlideImage: (slide: SlideData, bytes: Uint8Array, opts: {
|
|
|
3953
3996
|
h: Emu;
|
|
3954
3997
|
format?: ImageFormat;
|
|
3955
3998
|
name?: string;
|
|
3999
|
+
fit?: ImageFit;
|
|
3956
4000
|
}) => SlideShapeData;
|
|
3957
4001
|
|
|
3958
4002
|
/** PowerPoint's user-visible layout name. */
|
|
@@ -4791,6 +4835,17 @@ declare const setSlideBackgroundImage: (slide: SlideData, bytes: Uint8Array, opt
|
|
|
4791
4835
|
/** Clears any explicit slide background, restoring layout inheritance. */
|
|
4792
4836
|
declare const clearSlideBackground: (slide: SlideData) => void;
|
|
4793
4837
|
|
|
4838
|
+
/**
|
|
4839
|
+
* The slide's effective color map: the master's `<p:clrMap>`, overlaid by a
|
|
4840
|
+
* per-slide `<p:clrMapOvr><a:overrideClrMapping>` when present. Falls back to
|
|
4841
|
+
* the standard map for decks that omit it.
|
|
4842
|
+
*
|
|
4843
|
+
* Pass the result to color resolution / renderers so `schemeClr` tokens map to
|
|
4844
|
+
* the theme slot PowerPoint actually paints — critical for decks with an
|
|
4845
|
+
* inverted map (`bg1="dk1" tx1="lt1"`).
|
|
4846
|
+
*/
|
|
4847
|
+
declare const getEffectiveColorMap: (slide: SlideData) => Record<string, string>;
|
|
4848
|
+
|
|
4794
4849
|
/**
|
|
4795
4850
|
* Reads back the slide's current transition (or `null` if no
|
|
4796
4851
|
* `<p:transition>` is present). The returned shape mirrors what
|
|
@@ -5115,4 +5170,4 @@ declare const SLIDE_SIZE_16_10: SlideSize;
|
|
|
5115
5170
|
|
|
5116
5171
|
declare const VERSION: string;
|
|
5117
5172
|
|
|
5118
|
-
export { type AllShapesEntry, type AnimationEffect, type AnimationOptions, type ArrowOptions, type BulletStyle, type ChartAxisScaling, type ChartDataLabelPosition, type ChartDataLabels, type ChartGrouping, type ChartKind, type ChartSeries, type ChartSpec, type ChartTextStyle, type ChartTrendline, type CommentAuthor, type CommentPosition, type CoreProperties, type CustomGeometry, type Emu, type ExtendedProperties, type GeomCommand, type GeomPath, type GeomPoint, type GlowOptions, type GradientFillOptions, type GradientStop, type ImageCrop, type ImageFormat, type IssueSeverity, type LineDash, type LineEndSize, type LineEndType, type MediaPart, type PackagePartInfo, type ParagraphAlignment, type ParagraphProperties, type PathFillMode, type PatternFillOptions, type PatternPreset, type PresentationChartEntry, type PresentationCommentEntry, type PresentationData, type PresentationFonts, type PresentationHyperlinkEntry, type PresentationImageEntry, type PresentationInput, type PresentationNotesEntry, type PresentationSize, type PresentationSummary, type PresentationTableEntry, type PresentationTheme, type PresentationThumbnail, type PresetShape, SLIDE_SIZE_16_10, SLIDE_SIZE_16_9, SLIDE_SIZE_4_3, type ShadowOptions, type ShapeBounds, type ShapeClickAction, type ShapeEffect, type ShapeEffectAny, type ShapeFill, type ShapeParagraphElement, type ShapeStroke, type SlideBackground, type SlideChartData, type SlideComment, type SlideCommentData, type SlideData, type SlideInfo, type SlideLayoutBackgroundShape, type SlideLayoutData, type SlideLayoutPlaceholder, type SlideOutlineEntry, type SlideSection, type SlideShapeData, type SlideSize, type TableCellBorder, type TableCellBorders, type TableCellData, type TableCellParagraph, type TextAnchor, type TextAutoFit, type TextFormat, type TextWrap, type TransitionEffect, type TransitionOptions, VERSION, type ValidationIssue, _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, 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, mm, moveSlide, pointInShape, pt, readPackagePart, removeShape, removeSlide, removeSlideComment, removeSlideNotes, removeTableColumn, removeTableRow, removeThumbnail, renameShape, replaceHyperlink, replaceTextInNotes, replaceTextInPresentation, replaceTextInSlide, replaceTextInSlideNotes, replaceTokensInPresentation, replaceTokensInSlide, 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 };
|
|
5173
|
+
export { type AllShapesEntry, type AnimationEffect, type AnimationOptions, type ArrowOptions, type BulletStyle, type ChartAxisScaling, type ChartDataLabelPosition, type ChartDataLabels, type ChartGrouping, type ChartKind, type ChartSeries, type ChartSpec, type ChartTextStyle, type ChartTrendline, type CommentAuthor, type CommentPosition, type CoreProperties, type CustomGeometry, type Emu, type ExtendedProperties, type GeomCommand, type GeomPath, type GeomPoint, type GlowOptions, type GradientFillOptions, type GradientStop, type ImageCrop, type ImageFit, type ImageFormat, type IssueSeverity, type LineDash, type LineEndSize, type LineEndType, type MediaPart, type PackagePartInfo, type ParagraphAlignment, type ParagraphProperties, type PathFillMode, type PatternFillOptions, type PatternPreset, type PresentationChartEntry, type PresentationCommentEntry, type PresentationData, type PresentationFonts, type PresentationHyperlinkEntry, type PresentationImageEntry, type PresentationInput, type PresentationNotesEntry, type PresentationSize, type PresentationSummary, type PresentationTableEntry, type PresentationTheme, type PresentationThumbnail, type PresetShape, SLIDE_SIZE_16_10, SLIDE_SIZE_16_9, SLIDE_SIZE_4_3, type ShadowOptions, type ShapeBounds, type ShapeClickAction, type ShapeEffect, type ShapeEffectAny, type ShapeFill, type ShapeParagraphElement, type ShapeStroke, type SlideBackground, type SlideChartData, type SlideComment, type SlideCommentData, type SlideData, type SlideInfo, type SlideLayoutBackgroundShape, type SlideLayoutData, type SlideLayoutPlaceholder, type SlideOutlineEntry, type SlideSection, type SlideShapeData, type SlideSize, type TableCellBorder, type TableCellBorders, type TableCellData, type TableCellParagraph, type TextAnchor, type TextAutoFit, type TextFormat, type TextWrap, type TransitionEffect, type TransitionOptions, VERSION, type ValidationIssue, _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, 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 };
|