@silurus/ooxml 0.77.0 → 0.77.1

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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/{canvas-viewer-mechanics-DTkBvITv.js → canvas-viewer-mechanics-D5zXbOrS.js} +1 -1
  3. package/dist/{document-pull-client-iWr8-S7P.js → document-pull-client-CC8pPuzi.js} +1799 -1769
  4. package/dist/{docx-B1gYS6eU.js → docx-Dg9N9OX4.js} +14 -14
  5. package/dist/docx.mjs +3 -3
  6. package/dist/docx_parser_bg.wasm +0 -0
  7. package/dist/index.mjs +3 -3
  8. package/dist/{line-distribute-C1r2zvji.js → line-distribute-BtfPlM2A.js} +133 -72
  9. package/dist/{line-metrics-BdCACYlq.js → line-metrics-B66x33iy.js} +1446 -1340
  10. package/dist/node.mjs +7 -7
  11. package/dist/{pptx-CQjtK_o7.js → pptx-BFP7Isgf.js} +38 -38
  12. package/dist/pptx.mjs +4 -4
  13. package/dist/pptx_parser_bg.wasm +0 -0
  14. package/dist/{render-Ca80nlG5.js → render-D-cOpMLV.js} +1 -1
  15. package/dist/render-worker-host-BzpMoFRr.js +27 -0
  16. package/dist/render-worker-host-CdZ5hW2X.js +27 -0
  17. package/dist/render-worker-host-quqYq02i.js +27 -0
  18. package/dist/{resource-measurement-E_S_iau4.js → resource-measurement-CVfVTQrt.js} +1 -1
  19. package/dist/{session-KvKxQAeL.js → session-DxAVpIP-.js} +2 -2
  20. package/dist/{slide-pull-client-BXb67StB.js → slide-pull-client-Lag44QA8.js} +1171 -878
  21. package/dist/types/docx.d.ts +46 -3
  22. package/dist/types/index.d.ts +104 -8
  23. package/dist/types/node.d.ts +99 -3
  24. package/dist/types/pptx.d.ts +32 -2
  25. package/dist/types/xlsx.d.ts +88 -3
  26. package/dist/{worksheet-pull-client-YzjJMOns.js → worksheet-pull-client-D74b_23i.js} +2 -2
  27. package/dist/{xlsx-RLCmd1Bm.js → xlsx-Bik59Raj.js} +1106 -1075
  28. package/dist/xlsx.mjs +4 -4
  29. package/dist/xlsx_parser_bg.wasm +0 -0
  30. package/package.json +1 -1
  31. package/dist/render-worker-host-BozYMmxO.js +0 -27
  32. package/dist/render-worker-host-C96AiK8e.js +0 -27
  33. package/dist/render-worker-host-EHG5j8FK.js +0 -27
@@ -10,7 +10,7 @@ interface MathRenderer {
10
10
  mathMLToSvg(mathml: string): Promise<MathSvg>;
11
11
  }
12
12
  //#endregion
13
- //#region dist/.types-work/hyperlink-BqgLAFOG.d.ts
13
+ //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
14
14
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
15
15
  interface MathRun {
16
16
  kind: 'run';
@@ -530,7 +530,7 @@ interface FindHighlightColors {
530
530
  active?: string;
531
531
  }
532
532
  //#endregion
533
- //#region dist/.types-work/docx-BkK3rbgp.d.ts
533
+ //#region dist/.types-work/docx-BEg7kh7t.d.ts
534
534
  interface DocxDocumentModel {
535
535
  section: SectionProps;
536
536
  body: BodyElement[];
@@ -842,6 +842,12 @@ type PathCmd = {
842
842
  y2: number;
843
843
  x: number;
844
844
  y: number;
845
+ } | {
846
+ cmd: 'quadBezTo';
847
+ x1: number;
848
+ y1: number;
849
+ x: number;
850
+ y: number;
845
851
  } | {
846
852
  cmd: 'arcTo';
847
853
  wr: number;
@@ -886,8 +892,17 @@ interface ShapeRun {
886
892
  fill: ShapeFill | null;
887
893
  stroke: string | null;
888
894
  strokeWidth?: number;
895
+ strokeFill?: ShapeStrokeFill | null;
889
896
  strokeDash?: string | null;
897
+ strokeCustomDash?: Array<{
898
+ dash: number;
899
+ space: number;
900
+ }>;
890
901
  strokeCap?: 'butt' | 'round' | 'square' | null;
902
+ strokeJoin?: 'round' | 'bevel' | 'miter' | null;
903
+ strokeMiterLimit?: number | null;
904
+ strokeAlignment?: 'ctr' | 'in' | null;
905
+ strokeCompound?: string | null;
891
906
  headEnd?: LineEnd | null;
892
907
  tailEnd?: LineEnd | null;
893
908
  rotation?: number;
@@ -968,6 +983,17 @@ type ShapeFill = {
968
983
  stops: GradientStop[];
969
984
  angle: number;
970
985
  gradType: string;
986
+ scaled?: boolean;
987
+ path?: string;
988
+ fillToRect?: FillRect;
989
+ tileRect?: FillRect;
990
+ flip?: string;
991
+ rotWithShape?: boolean;
992
+ } | {
993
+ fillType: 'pattern';
994
+ fg: string;
995
+ bg: string;
996
+ preset: string;
971
997
  } | {
972
998
  fillType: 'image';
973
999
  imagePath: string;
@@ -984,6 +1010,23 @@ type ShapeFill = {
984
1010
  alpha?: number;
985
1011
  duotone?: Duotone;
986
1012
  };
1013
+ type ShapeStrokeFill = {
1014
+ fillType: 'gradient';
1015
+ stops: GradientStop[];
1016
+ angle: number;
1017
+ gradType: string;
1018
+ scaled?: boolean;
1019
+ path?: string;
1020
+ fillToRect?: FillRect;
1021
+ tileRect?: FillRect;
1022
+ flip?: string;
1023
+ rotWithShape?: boolean;
1024
+ } | {
1025
+ fillType: 'pattern';
1026
+ fg: string;
1027
+ bg: string;
1028
+ preset: string;
1029
+ };
987
1030
  interface GradientStop {
988
1031
  position: number;
989
1032
  color: string;
@@ -1544,4 +1587,4 @@ interface DocxHighlightMatch {
1544
1587
  type DocxHighlightColors = FindHighlightColors;
1545
1588
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
1546
1589
  //#endregion
1547
- export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartErrBars, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartRun, type ChartSeries, type ChartSeriesDataLabels, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, type ColSpec, type CollectPageRunsOptions, type ColumnsSpec, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, DocxDocument, type DocxDocumentModel, type DocxElementContext, type DocxElementContextOptions, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxPagePoint, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxSelectionContext, type DocxSelectionContextOptions, type DocxSelectionRunLocator, type DocxSelectionSourceLocator, type DocxTextRun, type DocxTextRunInfo, type DocxTextSelectionContext, DocxViewer, type DocxViewerOptions, type Duotone, type EmbeddedFontRef, type FieldRun, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageRun, type LegendManualLayout, type LineEnd, type LineNumbering, type LineSpacing, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type NoteRef, type NumberingInfo, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type PTabRun, type PageBorderEdge, type PageBorders, type PageNumType, type ParaBorderEdge, type ParagraphBorders, type PathCmd, type RenderPageOptions, type RenderPageToBitmapOptions, type RubyAnnotation, type RunRevision, type SecondaryValueAxis, type SectionGeom, type SectionProps, type ShapeRun, type ShapeText, type ShapeTextRun, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
1590
+ export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartErrBars, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartRun, type ChartSeries, type ChartSeriesDataLabels, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, type ColSpec, type CollectPageRunsOptions, type ColumnsSpec, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, DocxDocument, type DocxDocumentModel, type DocxElementContext, type DocxElementContextOptions, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxPagePoint, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxSelectionContext, type DocxSelectionContextOptions, type DocxSelectionRunLocator, type DocxSelectionSourceLocator, type DocxTextRun, type DocxTextRunInfo, type DocxTextSelectionContext, DocxViewer, type DocxViewerOptions, type Duotone, type EmbeddedFontRef, type FieldRun, type FillRect, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageRun, type LegendManualLayout, type LineEnd, type LineNumbering, type LineSpacing, type LoadOptions, type MatchRunSlice, type MathAccent, type MathArray, type MathBar, type MathBorderBox, type MathBox, type MathDelimiter, type MathFraction, type MathFunc, type MathGroup, type MathGroupChr, type MathLimit, type MathNary, type MathNode, type MathPhant, type MathRadical, type MathRenderer, type MathRun, type MathSPre, type MathScript, type MathStyle, type MathSvg, type NoteRef, type NumberingInfo, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type OoxmlErrorStage, type OoxmlFormat, type OoxmlResourceLimit, OoxmlResourceLimitError, type OoxmlResourceLimitErrorDetails, type OoxmlResourceLimits, type OoxmlResourceMetric, type OoxmlResourceMetrics, type OoxmlResourceMetricsCheckpoint, type OoxmlResourceName, type OoxmlResourcePolicySnapshot, type OoxmlResourceUsageSnapshot, type OoxmlResourceViolation, type PTabRun, type PageBorderEdge, type PageBorders, type PageNumType, type ParaBorderEdge, type ParagraphBorders, type PathCmd, type RenderPageOptions, type RenderPageToBitmapOptions, type RubyAnnotation, type RunRevision, type SecondaryValueAxis, type SectionGeom, type SectionProps, type ShapeFill, type ShapeRun, type ShapeStrokeFill, type ShapeText, type ShapeTextRun, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
@@ -10,7 +10,7 @@ interface MathRenderer {
10
10
  mathMLToSvg(mathml: string): Promise<MathSvg>;
11
11
  }
12
12
  //#endregion
13
- //#region dist/.types-work/hyperlink-BqgLAFOG.d.ts
13
+ //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
14
14
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
15
15
  interface MathRun {
16
16
  kind: 'run';
@@ -135,6 +135,12 @@ type PathCmd$2 = {
135
135
  y2: number;
136
136
  x: number;
137
137
  y: number;
138
+ } | {
139
+ cmd: 'quadBezTo';
140
+ x1: number;
141
+ y1: number;
142
+ x: number;
143
+ y: number;
138
144
  } | {
139
145
  cmd: 'arcTo';
140
146
  wr: number;
@@ -161,6 +167,12 @@ interface GradientFill {
161
167
  stops: GradientStop$1[];
162
168
  angle: number;
163
169
  gradType: string;
170
+ scaled?: boolean;
171
+ path?: 'shape' | 'circle' | 'rect' | string;
172
+ fillToRect?: FillRect;
173
+ tileRect?: FillRect;
174
+ flip?: 'none' | 'x' | 'y' | 'xy' | string;
175
+ rotWithShape?: boolean;
164
176
  }
165
177
  interface PatternFill {
166
178
  fillType: 'pattern';
@@ -197,6 +209,12 @@ interface Shadow {
197
209
  blur: number;
198
210
  dist: number;
199
211
  dir: number;
212
+ sx?: number;
213
+ sy?: number;
214
+ kx?: number;
215
+ ky?: number;
216
+ algn?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';
217
+ rotWithShape?: boolean;
200
218
  }
201
219
  interface Glow {
202
220
  color: string;
@@ -231,7 +249,14 @@ interface Stroke {
231
249
  fillType: 'none';
232
250
  }>;
233
251
  dashStyle?: string;
252
+ customDash?: ReadonlyArray<{
253
+ dash: number;
254
+ space: number;
255
+ }>;
234
256
  lineCap?: 'butt' | 'round' | 'square';
257
+ lineJoin?: 'round' | 'bevel' | 'miter';
258
+ miterLimit?: number;
259
+ alignment?: 'ctr' | 'in';
235
260
  headEnd?: ArrowEnd;
236
261
  tailEnd?: ArrowEnd;
237
262
  cmpd?: string;
@@ -277,6 +302,9 @@ type Bullet$1 = {
277
302
  numType: string;
278
303
  startAt: number | null;
279
304
  color: string | null;
305
+ sizePct?: number | null;
306
+ sizePts?: number;
307
+ fontFamily?: string | null;
280
308
  };
281
309
  interface TabStop$1 {
282
310
  pos: number;
@@ -331,6 +359,7 @@ interface TextRunData {
331
359
  hyperlink?: string;
332
360
  hyperlinkAction?: string;
333
361
  shadow?: Shadow;
362
+ reflection?: Reflection;
334
363
  outline?: TextOutline;
335
364
  highlight?: string;
336
365
  }
@@ -749,7 +778,7 @@ interface FindHighlightColors {
749
778
  active?: string;
750
779
  }
751
780
  //#endregion
752
- //#region dist/.types-work/docx-BkK3rbgp.d.ts
781
+ //#region dist/.types-work/docx-BEg7kh7t.d.ts
753
782
  interface DocxDocumentModel {
754
783
  section: SectionProps;
755
784
  body: BodyElement[];
@@ -1061,6 +1090,12 @@ type PathCmd$1 = {
1061
1090
  y2: number;
1062
1091
  x: number;
1063
1092
  y: number;
1093
+ } | {
1094
+ cmd: 'quadBezTo';
1095
+ x1: number;
1096
+ y1: number;
1097
+ x: number;
1098
+ y: number;
1064
1099
  } | {
1065
1100
  cmd: 'arcTo';
1066
1101
  wr: number;
@@ -1102,11 +1137,20 @@ interface ShapeRun {
1102
1137
  subpaths: PathCmd$1[][];
1103
1138
  presetGeometry?: string | null;
1104
1139
  adjValues?: Array<number | null>;
1105
- fill: ShapeFill | null;
1140
+ fill: ShapeFill$1 | null;
1106
1141
  stroke: string | null;
1107
1142
  strokeWidth?: number;
1143
+ strokeFill?: ShapeStrokeFill | null;
1108
1144
  strokeDash?: string | null;
1145
+ strokeCustomDash?: Array<{
1146
+ dash: number;
1147
+ space: number;
1148
+ }>;
1109
1149
  strokeCap?: 'butt' | 'round' | 'square' | null;
1150
+ strokeJoin?: 'round' | 'bevel' | 'miter' | null;
1151
+ strokeMiterLimit?: number | null;
1152
+ strokeAlignment?: 'ctr' | 'in' | null;
1153
+ strokeCompound?: string | null;
1110
1154
  headEnd?: LineEnd | null;
1111
1155
  tailEnd?: LineEnd | null;
1112
1156
  rotation?: number;
@@ -1179,7 +1223,7 @@ interface ShapeText$1 {
1179
1223
  imageWidthPt?: number;
1180
1224
  imageHeightPt?: number;
1181
1225
  }
1182
- type ShapeFill = {
1226
+ type ShapeFill$1 = {
1183
1227
  fillType: 'solid';
1184
1228
  color: string;
1185
1229
  } | {
@@ -1187,6 +1231,17 @@ type ShapeFill = {
1187
1231
  stops: GradientStop[];
1188
1232
  angle: number;
1189
1233
  gradType: string;
1234
+ scaled?: boolean;
1235
+ path?: string;
1236
+ fillToRect?: FillRect;
1237
+ tileRect?: FillRect;
1238
+ flip?: string;
1239
+ rotWithShape?: boolean;
1240
+ } | {
1241
+ fillType: 'pattern';
1242
+ fg: string;
1243
+ bg: string;
1244
+ preset: string;
1190
1245
  } | {
1191
1246
  fillType: 'image';
1192
1247
  imagePath: string;
@@ -1203,6 +1258,23 @@ type ShapeFill = {
1203
1258
  alpha?: number;
1204
1259
  duotone?: Duotone$1;
1205
1260
  };
1261
+ type ShapeStrokeFill = {
1262
+ fillType: 'gradient';
1263
+ stops: GradientStop[];
1264
+ angle: number;
1265
+ gradType: string;
1266
+ scaled?: boolean;
1267
+ path?: string;
1268
+ fillToRect?: FillRect;
1269
+ tileRect?: FillRect;
1270
+ flip?: string;
1271
+ rotWithShape?: boolean;
1272
+ } | {
1273
+ fillType: 'pattern';
1274
+ fg: string;
1275
+ bg: string;
1276
+ preset: string;
1277
+ };
1206
1278
  interface GradientStop {
1207
1279
  position: number;
1208
1280
  color: string;
@@ -1763,10 +1835,10 @@ interface DocxHighlightMatch {
1763
1835
  type DocxHighlightColors = FindHighlightColors;
1764
1836
  declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
1765
1837
  declare namespace docx_d_exports {
1766
- export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeRun, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
1838
+ export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ColSpec, CollectPageRunsOptions, ColumnsSpec, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
1767
1839
  }
1768
1840
  //#endregion
1769
- //#region dist/.types-work/pptx-DcrJjm1-.d.ts
1841
+ //#region dist/.types-work/pptx-DjMlRXaq.d.ts
1770
1842
  interface BlipBullet {
1771
1843
  type: 'blip';
1772
1844
  imagePath: string;
@@ -1910,6 +1982,7 @@ interface Sp3d {
1910
1982
  extrusionH?: number;
1911
1983
  contourW?: number;
1912
1984
  contourClr?: string;
1985
+ extrusionClr?: string;
1913
1986
  prstMaterial: string;
1914
1987
  bevelT?: Bevel3d;
1915
1988
  bevelB?: Bevel3d;
@@ -2403,7 +2476,12 @@ declare namespace pptx_d_exports {
2403
2476
  export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartElement, ChartErrBars, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, DimOptions, Duotone$1 as Duotone, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
2404
2477
  }
2405
2478
  //#endregion
2406
- //#region dist/.types-work/xlsx-DrlamDaR.d.ts
2479
+ //#region dist/.types-work/xlsx-3u8ip-lC.d.ts
2480
+ type ShapeFill = Exclude<Fill, {
2481
+ fillType: 'image';
2482
+ } | {
2483
+ fillType: 'none';
2484
+ }>;
2407
2485
  interface Workbook {
2408
2486
  sheets: SheetMeta[];
2409
2487
  date1904?: boolean;
@@ -2698,8 +2776,26 @@ interface ShapeInfo {
2698
2776
  flipH?: boolean;
2699
2777
  flipV?: boolean;
2700
2778
  fillColor?: string;
2779
+ fill?: ShapeFill;
2701
2780
  strokeColor?: string;
2702
2781
  strokeWidth: number;
2782
+ strokeFill?: Exclude<Fill, {
2783
+ fillType: 'image';
2784
+ } | {
2785
+ fillType: 'none';
2786
+ }>;
2787
+ strokeDashStyle?: string;
2788
+ strokeCustomDash?: Array<{
2789
+ dash: number;
2790
+ space: number;
2791
+ }>;
2792
+ strokeLineCap?: 'butt' | 'round' | 'square';
2793
+ strokeLineJoin?: 'round' | 'bevel' | 'miter';
2794
+ strokeMiterLimit?: number;
2795
+ strokeAlignment?: 'ctr' | 'in';
2796
+ strokeCmpd?: string;
2797
+ strokeHeadEnd?: ArrowEnd;
2798
+ strokeTailEnd?: ArrowEnd;
2703
2799
  geom: ShapeGeom;
2704
2800
  text?: ShapeText;
2705
2801
  }
@@ -3592,7 +3688,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
3592
3688
  }
3593
3689
  declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
3594
3690
  declare namespace xlsx_d_exports {
3595
- export { AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFillSpec, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SpaceLine, Sparkline, SparklineGroup, Styles, TableColumnInfo, TableInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
3691
+ export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ConditionalFormat, DataValidation, DefinedName, Duotone, Dxf, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, GradientFill, GradientFillSpec, GradientStop$1 as GradientStop, HiddenSheetMode, Hyperlink, HyperlinkTarget, ImageAnchor, LegendManualLayout, LoadOptions, MAX_SELECTION_AREAS, MAX_SELECTION_CONTEXT_CELLS, MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MergeCell, NumFmt, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OutlinePr, ParsedWorkbook, PathCmd, PathInfo, PatternFill, PhoneticAlignment, PhoneticProperties, PhoneticRun, PhoneticType, PivotCacheSource, PivotDataField, PivotDiagnostic, PivotLocation, PivotMetadataStatus, PivotPageField, PivotPartialReason, PivotTableMetadata, RenderViewportToBitmapOptions, ResolvedList, Row, Run, RunFont, SecondaryValueAxis, ShapeAnchor, ShapeFill, ShapeGeom, ShapeInfo, ShapeParagraph, ShapeText, ShapeTextRun, SharedString, SheetMeta, SheetVisibility, SlicerAnchor, SlicerElementStyle, SlicerItem, SlicerStyle, SolidFill, SpaceLine, Sparkline, SparklineGroup, Styles, TableColumnInfo, TableInfo, ViewerContextMenuEvent, ViewportRange, Workbook, Worksheet, WorksheetCellRange, XlsxComment, XlsxCopyResult, XlsxElementAnchorMarker, XlsxElementContext, XlsxMatchLocation, XlsxRangeSelectionContext, XlsxRenderViewportOptions, XlsxScrollToCellOptions, XlsxSelectionArea, XlsxSelectionContext, XlsxSelectionContextCell, XlsxSelectionContextOptions, XlsxSelectionInput, XlsxSelectionState, XlsxSheetViewer, XlsxSheetViewerOptions, XlsxTextRunInfo, XlsxViewer, XlsxViewerOptions, XlsxViewportOffset, XlsxWorkbook, ZoomableViewer, autoResize, isOoxmlDecodedImageLimitError, openExternalHyperlink, resolveSharedStrings };
3596
3692
  }
3597
3693
  //#endregion
3598
3694
  export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/hyperlink-BqgLAFOG.d.ts
1
+ //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -123,6 +123,12 @@ type PathCmd$2 = {
123
123
  y2: number;
124
124
  x: number;
125
125
  y: number;
126
+ } | {
127
+ cmd: 'quadBezTo';
128
+ x1: number;
129
+ y1: number;
130
+ x: number;
131
+ y: number;
126
132
  } | {
127
133
  cmd: 'arcTo';
128
134
  wr: number;
@@ -149,6 +155,12 @@ interface GradientFill {
149
155
  stops: GradientStop$1[];
150
156
  angle: number;
151
157
  gradType: string;
158
+ scaled?: boolean;
159
+ path?: 'shape' | 'circle' | 'rect' | string;
160
+ fillToRect?: FillRect;
161
+ tileRect?: FillRect;
162
+ flip?: 'none' | 'x' | 'y' | 'xy' | string;
163
+ rotWithShape?: boolean;
152
164
  }
153
165
  interface PatternFill {
154
166
  fillType: 'pattern';
@@ -185,6 +197,12 @@ interface Shadow {
185
197
  blur: number;
186
198
  dist: number;
187
199
  dir: number;
200
+ sx?: number;
201
+ sy?: number;
202
+ kx?: number;
203
+ ky?: number;
204
+ algn?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';
205
+ rotWithShape?: boolean;
188
206
  }
189
207
  interface Glow {
190
208
  color: string;
@@ -219,7 +237,14 @@ interface Stroke {
219
237
  fillType: 'none';
220
238
  }>;
221
239
  dashStyle?: string;
240
+ customDash?: ReadonlyArray<{
241
+ dash: number;
242
+ space: number;
243
+ }>;
222
244
  lineCap?: 'butt' | 'round' | 'square';
245
+ lineJoin?: 'round' | 'bevel' | 'miter';
246
+ miterLimit?: number;
247
+ alignment?: 'ctr' | 'in';
223
248
  headEnd?: ArrowEnd;
224
249
  tailEnd?: ArrowEnd;
225
250
  cmpd?: string;
@@ -265,6 +290,9 @@ type Bullet = {
265
290
  numType: string;
266
291
  startAt: number | null;
267
292
  color: string | null;
293
+ sizePct?: number | null;
294
+ sizePts?: number;
295
+ fontFamily?: string | null;
268
296
  };
269
297
  interface TabStop$1 {
270
298
  pos: number;
@@ -319,6 +347,7 @@ interface TextRunData {
319
347
  hyperlink?: string;
320
348
  hyperlinkAction?: string;
321
349
  shadow?: Shadow;
350
+ reflection?: Reflection;
322
351
  outline?: TextOutline;
323
352
  highlight?: string;
324
353
  }
@@ -796,6 +825,7 @@ interface Sp3d {
796
825
  extrusionH?: number;
797
826
  contourW?: number;
798
827
  contourClr?: string;
828
+ extrusionClr?: string;
799
829
  prstMaterial: string;
800
830
  bevelT?: Bevel3d;
801
831
  bevelB?: Bevel3d;
@@ -1242,6 +1272,12 @@ type PathCmd$1 = {
1242
1272
  y2: number;
1243
1273
  x: number;
1244
1274
  y: number;
1275
+ } | {
1276
+ cmd: 'quadBezTo';
1277
+ x1: number;
1278
+ y1: number;
1279
+ x: number;
1280
+ y: number;
1245
1281
  } | {
1246
1282
  cmd: 'arcTo';
1247
1283
  wr: number;
@@ -1283,11 +1319,20 @@ interface ShapeRun {
1283
1319
  subpaths: PathCmd$1[][];
1284
1320
  presetGeometry?: string | null;
1285
1321
  adjValues?: Array<number | null>;
1286
- fill: ShapeFill | null;
1322
+ fill: ShapeFill$1 | null;
1287
1323
  stroke: string | null;
1288
1324
  strokeWidth?: number;
1325
+ strokeFill?: ShapeStrokeFill | null;
1289
1326
  strokeDash?: string | null;
1327
+ strokeCustomDash?: Array<{
1328
+ dash: number;
1329
+ space: number;
1330
+ }>;
1290
1331
  strokeCap?: 'butt' | 'round' | 'square' | null;
1332
+ strokeJoin?: 'round' | 'bevel' | 'miter' | null;
1333
+ strokeMiterLimit?: number | null;
1334
+ strokeAlignment?: 'ctr' | 'in' | null;
1335
+ strokeCompound?: string | null;
1291
1336
  headEnd?: LineEnd | null;
1292
1337
  tailEnd?: LineEnd | null;
1293
1338
  rotation?: number;
@@ -1360,7 +1405,7 @@ interface ShapeText$1 {
1360
1405
  imageWidthPt?: number;
1361
1406
  imageHeightPt?: number;
1362
1407
  }
1363
- type ShapeFill = {
1408
+ type ShapeFill$1 = {
1364
1409
  fillType: 'solid';
1365
1410
  color: string;
1366
1411
  } | {
@@ -1368,6 +1413,17 @@ type ShapeFill = {
1368
1413
  stops: GradientStop[];
1369
1414
  angle: number;
1370
1415
  gradType: string;
1416
+ scaled?: boolean;
1417
+ path?: string;
1418
+ fillToRect?: FillRect;
1419
+ tileRect?: FillRect;
1420
+ flip?: string;
1421
+ rotWithShape?: boolean;
1422
+ } | {
1423
+ fillType: 'pattern';
1424
+ fg: string;
1425
+ bg: string;
1426
+ preset: string;
1371
1427
  } | {
1372
1428
  fillType: 'image';
1373
1429
  imagePath: string;
@@ -1384,6 +1440,23 @@ type ShapeFill = {
1384
1440
  alpha?: number;
1385
1441
  duotone?: Duotone$1;
1386
1442
  };
1443
+ type ShapeStrokeFill = {
1444
+ fillType: 'gradient';
1445
+ stops: GradientStop[];
1446
+ angle: number;
1447
+ gradType: string;
1448
+ scaled?: boolean;
1449
+ path?: string;
1450
+ fillToRect?: FillRect;
1451
+ tileRect?: FillRect;
1452
+ flip?: string;
1453
+ rotWithShape?: boolean;
1454
+ } | {
1455
+ fillType: 'pattern';
1456
+ fg: string;
1457
+ bg: string;
1458
+ preset: string;
1459
+ };
1387
1460
  interface GradientStop {
1388
1461
  position: number;
1389
1462
  color: string;
@@ -1630,6 +1703,11 @@ interface DocxDocumentSession extends AsyncIterable<DocxRenderedPage> {
1630
1703
  }
1631
1704
  declare function openDocxDocument(buffer: ArrayBuffer | Uint8Array, options: OpenDocxDocumentOptions): Promise<DocxDocumentSession>;
1632
1705
  declare function materializeDocxDocument(buffer: ArrayBuffer | Uint8Array, options?: OoxmlNodeSessionOptions): Promise<DocxDocumentModel>;
1706
+ type ShapeFill = Exclude<Fill, {
1707
+ fillType: 'image';
1708
+ } | {
1709
+ fillType: 'none';
1710
+ }>;
1633
1711
  interface Workbook {
1634
1712
  sheets: SheetMeta[];
1635
1713
  date1904?: boolean;
@@ -1923,8 +2001,26 @@ interface ShapeInfo {
1923
2001
  flipH?: boolean;
1924
2002
  flipV?: boolean;
1925
2003
  fillColor?: string;
2004
+ fill?: ShapeFill;
1926
2005
  strokeColor?: string;
1927
2006
  strokeWidth: number;
2007
+ strokeFill?: Exclude<Fill, {
2008
+ fillType: 'image';
2009
+ } | {
2010
+ fillType: 'none';
2011
+ }>;
2012
+ strokeDashStyle?: string;
2013
+ strokeCustomDash?: Array<{
2014
+ dash: number;
2015
+ space: number;
2016
+ }>;
2017
+ strokeLineCap?: 'butt' | 'round' | 'square';
2018
+ strokeLineJoin?: 'round' | 'bevel' | 'miter';
2019
+ strokeMiterLimit?: number;
2020
+ strokeAlignment?: 'ctr' | 'in';
2021
+ strokeCmpd?: string;
2022
+ strokeHeadEnd?: ArrowEnd;
2023
+ strokeTailEnd?: ArrowEnd;
1928
2024
  geom: ShapeGeom;
1929
2025
  text?: ShapeText;
1930
2026
  }
@@ -10,7 +10,7 @@ interface MathRenderer {
10
10
  mathMLToSvg(mathml: string): Promise<MathSvg>;
11
11
  }
12
12
  //#endregion
13
- //#region dist/.types-work/hyperlink-BqgLAFOG.d.ts
13
+ //#region dist/.types-work/hyperlink-JmvHU-7y.d.ts
14
14
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
15
15
  interface MathRun {
16
16
  kind: 'run';
@@ -135,6 +135,12 @@ type PathCmd = {
135
135
  y2: number;
136
136
  x: number;
137
137
  y: number;
138
+ } | {
139
+ cmd: 'quadBezTo';
140
+ x1: number;
141
+ y1: number;
142
+ x: number;
143
+ y: number;
138
144
  } | {
139
145
  cmd: 'arcTo';
140
146
  wr: number;
@@ -161,6 +167,12 @@ interface GradientFill {
161
167
  stops: GradientStop[];
162
168
  angle: number;
163
169
  gradType: string;
170
+ scaled?: boolean;
171
+ path?: 'shape' | 'circle' | 'rect' | string;
172
+ fillToRect?: FillRect;
173
+ tileRect?: FillRect;
174
+ flip?: 'none' | 'x' | 'y' | 'xy' | string;
175
+ rotWithShape?: boolean;
164
176
  }
165
177
  interface PatternFill {
166
178
  fillType: 'pattern';
@@ -197,6 +209,12 @@ interface Shadow {
197
209
  blur: number;
198
210
  dist: number;
199
211
  dir: number;
212
+ sx?: number;
213
+ sy?: number;
214
+ kx?: number;
215
+ ky?: number;
216
+ algn?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';
217
+ rotWithShape?: boolean;
200
218
  }
201
219
  interface Glow {
202
220
  color: string;
@@ -231,7 +249,14 @@ interface Stroke {
231
249
  fillType: 'none';
232
250
  }>;
233
251
  dashStyle?: string;
252
+ customDash?: ReadonlyArray<{
253
+ dash: number;
254
+ space: number;
255
+ }>;
234
256
  lineCap?: 'butt' | 'round' | 'square';
257
+ lineJoin?: 'round' | 'bevel' | 'miter';
258
+ miterLimit?: number;
259
+ alignment?: 'ctr' | 'in';
235
260
  headEnd?: ArrowEnd;
236
261
  tailEnd?: ArrowEnd;
237
262
  cmpd?: string;
@@ -277,6 +302,9 @@ type Bullet$1 = {
277
302
  numType: string;
278
303
  startAt: number | null;
279
304
  color: string | null;
305
+ sizePct?: number | null;
306
+ sizePts?: number;
307
+ fontFamily?: string | null;
280
308
  };
281
309
  interface TabStop {
282
310
  pos: number;
@@ -331,6 +359,7 @@ interface TextRunData {
331
359
  hyperlink?: string;
332
360
  hyperlinkAction?: string;
333
361
  shadow?: Shadow;
362
+ reflection?: Reflection;
334
363
  outline?: TextOutline;
335
364
  highlight?: string;
336
365
  }
@@ -749,7 +778,7 @@ interface FindHighlightColors {
749
778
  active?: string;
750
779
  }
751
780
  //#endregion
752
- //#region dist/.types-work/pptx-DcrJjm1-.d.ts
781
+ //#region dist/.types-work/pptx-DjMlRXaq.d.ts
753
782
  interface BlipBullet {
754
783
  type: 'blip';
755
784
  imagePath: string;
@@ -893,6 +922,7 @@ interface Sp3d {
893
922
  extrusionH?: number;
894
923
  contourW?: number;
895
924
  contourClr?: string;
925
+ extrusionClr?: string;
896
926
  prstMaterial: string;
897
927
  bevelT?: Bevel3d;
898
928
  bevelB?: Bevel3d;