@silurus/ooxml 0.77.1 → 0.78.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/README.md +2 -2
- package/dist/{canvas-viewer-mechanics-D5zXbOrS.js → canvas-viewer-mechanics-ChxLdOJg.js} +1 -1
- package/dist/{document-pull-client-CC8pPuzi.js → document-pull-client-xsdVDuVD.js} +2 -2
- package/dist/{docx-Dg9N9OX4.js → docx-CZC3j4s4.js} +4 -4
- package/dist/docx.mjs +3 -3
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-BtfPlM2A.js → line-distribute-HuZyTARz.js} +1 -1
- package/dist/{line-metrics-B66x33iy.js → line-metrics-z9AdgPaZ.js} +2498 -1724
- package/dist/node.mjs +7 -7
- package/dist/{pptx-BFP7Isgf.js → pptx-c3UgGKIs.js} +5 -5
- package/dist/pptx.mjs +4 -4
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/render-worker-host-BzxTAscX.js +27 -0
- package/dist/render-worker-host-CBjWHxMb.js +27 -0
- package/dist/render-worker-host-Ivhx3KII.js +27 -0
- package/dist/{render-D-cOpMLV.js → render-yhFUeiYl.js} +1 -1
- package/dist/{resource-measurement-CVfVTQrt.js → resource-measurement-5g27Av6n.js} +1 -1
- package/dist/{session-DxAVpIP-.js → session-BOuXp10X.js} +2 -2
- package/dist/{slide-pull-client-Lag44QA8.js → slide-pull-client-DKckZrLx.js} +4 -4
- package/dist/types/docx.d.ts +98 -8
- package/dist/types/index.d.ts +80 -12
- package/dist/types/node.d.ts +73 -6
- package/dist/types/pptx.d.ts +72 -8
- package/dist/types/xlsx.d.ts +76 -8
- package/dist/{worksheet-pull-client-D74b_23i.js → worksheet-pull-client-CMDRPZ5E.js} +2 -2
- package/dist/{xlsx-Bik59Raj.js → xlsx-BAScjxlC.js} +965 -673
- package/dist/xlsx.mjs +4 -4
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/render-worker-host-BzpMoFRr.js +0 -27
- package/dist/render-worker-host-CdZ5hW2X.js +0 -27
- package/dist/render-worker-host-quqYq02i.js +0 -27
|
@@ -43,7 +43,7 @@ function a(e, t) {
|
|
|
43
43
|
return n = o.then(() => void 0, () => void 0), o;
|
|
44
44
|
}
|
|
45
45
|
async function o(e, t, n, r = {}) {
|
|
46
|
-
let { renderSlide: i } = await import("./session-
|
|
46
|
+
let { renderSlide: i } = await import("./session-BOuXp10X.js").then((e) => e.t), o = t.slides[n];
|
|
47
47
|
if (!o) throw Error(`Slide index ${n} out of range`);
|
|
48
48
|
let s = r.width ?? 960, c = r.dpr ?? 2, l = r.fetchImage ?? (async () => new Blob([])), u = async () => {
|
|
49
49
|
await i(e, o, t.slideWidth, t.slideHeight, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as e, Mt as t, wt as n, yt as r } from "./line-metrics-
|
|
1
|
+
import { At as e, Mt as t, wt as n, yt as r } from "./line-metrics-z9AdgPaZ.js";
|
|
2
2
|
//#region packages/core/src/image/duotone-bitmap-by-path.ts
|
|
3
3
|
function i(e, t) {
|
|
4
4
|
return t ? `${e}|duo:${t.clr1}:${t.clr2}` : e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./chunk-DmhlhrBa.js";
|
|
2
|
-
import { c as t, i as n } from "./slide-pull-client-
|
|
3
|
-
import { B as r, F as i, H as a, I as o, K as s, P as c, R as l, at as u, dt as d, ft as f, gn as p, it as m, lt as h, ot as g, rt as _, st as v, ut as y } from "./line-metrics-
|
|
2
|
+
import { c as t, i as n } from "./slide-pull-client-DKckZrLx.js";
|
|
3
|
+
import { B as r, F as i, H as a, I as o, K as s, P as c, R as l, at as u, dt as d, ft as f, gn as p, it as m, lt as h, ot as g, rt as _, st as v, ut as y } from "./line-metrics-z9AdgPaZ.js";
|
|
4
4
|
import { t as b } from "./transfer-DCu4c2BL.js";
|
|
5
5
|
//#region packages/pptx/src/slide-cursor-operation.ts
|
|
6
6
|
function x(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, At as t, Bt as n, C as r, D as i, Dt as a, Ft as o, Gt as s, Ht as c, K as l, Kt as u, Lt as d, M as f, N as p, Nt as m, O as h, Ot as g, Qt as _, Rt as v, S as y, St as b, Tt as x, Ut as S, Vt as C, Wt as w, Xt as T, Yt as E, _ as D, _t as O, bt as k, c as A, cn as j, ct as M, d as N, dn as P, en as F, f as I, fn as L, g as R, gt as z, h as B, ht as V, i as H, in as U, j as W, jt as G, ln as K, m as q, mn as ee, mt as J, n as te, p as ne, pt as re, qt as ie, r as ae, s as oe, sn as se, u as ce, un as le, vt as ue, w as de, xt as fe, y as pe } from "./line-metrics-
|
|
2
|
-
import { a as me, c as he, d as ge, i as _e, l as ve, n as ye, o as be, r as xe, s as Se, t as Ce, u as we } from "./line-distribute-
|
|
3
|
-
import { i as Te } from "./resource-measurement-
|
|
1
|
+
import { A as e, At as t, Bt as n, C as r, D as i, Dt as a, Ft as o, Gt as s, Ht as c, K as l, Kt as u, Lt as d, M as f, N as p, Nt as m, O as h, Ot as g, Qt as _, Rt as v, S as y, St as b, Tt as x, Ut as S, Vt as C, Wt as w, Xt as T, Yt as E, _ as D, _t as O, bt as k, c as A, cn as j, ct as M, d as N, dn as P, en as F, f as I, fn as L, g as R, gt as z, h as B, ht as V, i as H, in as U, j as W, jt as G, ln as K, m as q, mn as ee, mt as J, n as te, p as ne, pt as re, qt as ie, r as ae, s as oe, sn as se, u as ce, un as le, vt as ue, w as de, xt as fe, y as pe } from "./line-metrics-z9AdgPaZ.js";
|
|
2
|
+
import { a as me, c as he, d as ge, i as _e, l as ve, n as ye, o as be, r as xe, s as Se, t as Ce, u as we } from "./line-distribute-HuZyTARz.js";
|
|
3
|
+
import { i as Te } from "./resource-measurement-5g27Av6n.js";
|
|
4
4
|
import { t as Ee } from "./mathjax-CMjda8Ip.js";
|
|
5
5
|
//#region packages/pptx/src/types.ts
|
|
6
6
|
function De(e) {
|
|
@@ -5494,7 +5494,7 @@ async function Yr(e, n, r, i, o = {}, s, c) {
|
|
|
5494
5494
|
y: X(r.y, m),
|
|
5495
5495
|
w: X(r.width, m),
|
|
5496
5496
|
h: X(r.height, m)
|
|
5497
|
-
}, e), b.restore();
|
|
5497
|
+
}, e, r.rotation), b.restore();
|
|
5498
5498
|
}
|
|
5499
5499
|
}
|
|
5500
5500
|
return f() || o.dim && Wr(b, o.dim, h, g), e;
|
package/dist/types/docx.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ interface MathRenderer {
|
|
|
10
10
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region dist/.types-work/hyperlink-
|
|
13
|
+
//#region dist/.types-work/hyperlink-R5D7g--F.d.ts
|
|
14
14
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
15
15
|
interface MathRun {
|
|
16
16
|
kind: 'run';
|
|
@@ -119,6 +119,32 @@ interface Duotone {
|
|
|
119
119
|
clr1: string;
|
|
120
120
|
clr2: string;
|
|
121
121
|
}
|
|
122
|
+
interface SolidFill {
|
|
123
|
+
fillType: 'solid';
|
|
124
|
+
color: string;
|
|
125
|
+
}
|
|
126
|
+
interface GradientStop$1 {
|
|
127
|
+
position: number;
|
|
128
|
+
color: string;
|
|
129
|
+
}
|
|
130
|
+
interface GradientFill {
|
|
131
|
+
fillType: 'gradient';
|
|
132
|
+
stops: GradientStop$1[];
|
|
133
|
+
angle: number;
|
|
134
|
+
gradType: string;
|
|
135
|
+
scaled?: boolean;
|
|
136
|
+
path?: 'shape' | 'circle' | 'rect' | string;
|
|
137
|
+
fillToRect?: FillRect;
|
|
138
|
+
tileRect?: FillRect;
|
|
139
|
+
flip?: 'none' | 'x' | 'y' | 'xy' | string;
|
|
140
|
+
rotWithShape?: boolean;
|
|
141
|
+
}
|
|
142
|
+
interface PatternFill {
|
|
143
|
+
fillType: 'pattern';
|
|
144
|
+
fg: string;
|
|
145
|
+
bg: string;
|
|
146
|
+
preset: string;
|
|
147
|
+
}
|
|
122
148
|
interface FillRect {
|
|
123
149
|
l?: number;
|
|
124
150
|
t?: number;
|
|
@@ -136,6 +162,9 @@ interface TileInfo {
|
|
|
136
162
|
interface ChartSeries {
|
|
137
163
|
name: string;
|
|
138
164
|
color: string | null;
|
|
165
|
+
fillPattern?: PatternFill | null;
|
|
166
|
+
lineColor?: string | null;
|
|
167
|
+
lineWidthEmu?: number | null;
|
|
139
168
|
values: (number | null)[];
|
|
140
169
|
dataPointColors?: (string | null)[] | null;
|
|
141
170
|
dataLabelColors?: (string | null)[] | null;
|
|
@@ -145,6 +174,8 @@ interface ChartSeries {
|
|
|
145
174
|
categories?: string[] | null;
|
|
146
175
|
showMarker?: boolean | null;
|
|
147
176
|
valFormatCode?: string | null;
|
|
177
|
+
catFormatCode?: string | null;
|
|
178
|
+
catFormatCodes?: (string | null)[] | null;
|
|
148
179
|
markerSymbol?: string | null;
|
|
149
180
|
markerSize?: number | null;
|
|
150
181
|
markerFill?: string | null;
|
|
@@ -206,6 +237,7 @@ interface ChartSeriesDataLabels {
|
|
|
206
237
|
position?: string;
|
|
207
238
|
fontColor?: string;
|
|
208
239
|
formatCode?: string;
|
|
240
|
+
separator?: string;
|
|
209
241
|
fontBold?: boolean;
|
|
210
242
|
fontSizeHpt?: number;
|
|
211
243
|
labelBox?: ChartLabelBox;
|
|
@@ -223,12 +255,27 @@ interface ChartErrBars {
|
|
|
223
255
|
lineWidthEmu?: number;
|
|
224
256
|
dash?: string;
|
|
225
257
|
}
|
|
226
|
-
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | string;
|
|
258
|
+
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
259
|
+
interface ChartExElementStyle {
|
|
260
|
+
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
261
|
+
fillColors?: Array<string | null> | null;
|
|
262
|
+
fillHidden?: boolean | null;
|
|
263
|
+
lineColors?: Array<string | null> | null;
|
|
264
|
+
lineWidthEmu?: number | null;
|
|
265
|
+
lineHidden?: boolean | null;
|
|
266
|
+
lineDash?: string | null;
|
|
267
|
+
lineCap?: string | null;
|
|
268
|
+
lineJoin?: string | null;
|
|
269
|
+
fillColorIndex?: number | null;
|
|
270
|
+
lineColorIndex?: number | null;
|
|
271
|
+
}
|
|
227
272
|
interface ChartModel {
|
|
228
273
|
chartType: ChartType;
|
|
229
274
|
title: string | null;
|
|
275
|
+
titlePresent?: boolean;
|
|
230
276
|
categories: string[];
|
|
231
277
|
series: ChartSeries[];
|
|
278
|
+
chartTextBoxes?: ChartTextBox[] | null;
|
|
232
279
|
varyColors?: boolean | null;
|
|
233
280
|
showDataLabels: boolean;
|
|
234
281
|
valMin: number | null;
|
|
@@ -256,6 +303,7 @@ interface ChartModel {
|
|
|
256
303
|
catAxisFontColor?: string | null;
|
|
257
304
|
valAxisFontColor?: string | null;
|
|
258
305
|
dataLabelFontSizeHpt: number | null;
|
|
306
|
+
dataLabelFontBold?: boolean | null;
|
|
259
307
|
subtotalIndices: number[];
|
|
260
308
|
legendManualLayout?: LegendManualLayout | null;
|
|
261
309
|
valAxisFormatCode?: string | null;
|
|
@@ -300,8 +348,12 @@ interface ChartModel {
|
|
|
300
348
|
titleManualLayout?: ChartManualLayout | null;
|
|
301
349
|
plotAreaManualLayout?: ChartManualLayout | null;
|
|
302
350
|
scatterStyle?: string | null;
|
|
351
|
+
bubbleScale?: number | null;
|
|
352
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
353
|
+
showNegativeBubbles?: boolean | null;
|
|
303
354
|
radarStyle?: string | null;
|
|
304
355
|
secondaryValAxis?: SecondaryValueAxis | null;
|
|
356
|
+
secondaryCatAxis?: SecondaryValueAxis | null;
|
|
305
357
|
date1904?: boolean;
|
|
306
358
|
holeSize?: number | null;
|
|
307
359
|
firstSliceAngle?: number | null;
|
|
@@ -319,6 +371,8 @@ interface ChartModel {
|
|
|
319
371
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
320
372
|
catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
321
373
|
catAxisTickLabelPos?: string | null;
|
|
374
|
+
catAxisTickLabelSkip?: number | null;
|
|
375
|
+
catAxisTickMarkSkip?: number | null;
|
|
322
376
|
valAxisTickLabelPos?: string | null;
|
|
323
377
|
catAxisLabelRotation?: number | null;
|
|
324
378
|
stockHiLowLines?: boolean | null;
|
|
@@ -326,11 +380,39 @@ interface ChartModel {
|
|
|
326
380
|
stockUpDownBars?: boolean | null;
|
|
327
381
|
chartexBox?: ChartexBoxWhisker | null;
|
|
328
382
|
chartexSunburst?: ChartexSunburst | null;
|
|
383
|
+
chartexTreemap?: ChartexTreemap | null;
|
|
329
384
|
chartexAccents?: string[] | null;
|
|
385
|
+
chartexColorPalette?: Array<string | null> | null;
|
|
386
|
+
chartexColorStyleMethod?: string | null;
|
|
387
|
+
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
388
|
+
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
389
|
+
chartexDataPointMarkerStyle?: ChartExElementStyle | null;
|
|
390
|
+
}
|
|
391
|
+
interface ChartTextRun {
|
|
392
|
+
text: string;
|
|
393
|
+
fontSizeHpt?: number | null;
|
|
394
|
+
bold?: boolean | null;
|
|
395
|
+
color?: string | null;
|
|
396
|
+
fontFace?: string | null;
|
|
397
|
+
}
|
|
398
|
+
interface ChartTextParagraph {
|
|
399
|
+
runs: ChartTextRun[];
|
|
400
|
+
align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
401
|
+
}
|
|
402
|
+
interface ChartTextBox {
|
|
403
|
+
x: number;
|
|
404
|
+
y: number;
|
|
405
|
+
w: number;
|
|
406
|
+
h: number;
|
|
407
|
+
paragraphs: ChartTextParagraph[];
|
|
408
|
+
verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
|
|
409
|
+
wrap?: 'none' | 'square' | string | null;
|
|
330
410
|
}
|
|
331
411
|
interface ChartexBoxSeries {
|
|
332
412
|
name: string;
|
|
333
413
|
color?: string | null;
|
|
414
|
+
lineColor?: string | null;
|
|
415
|
+
lineWidthEmu?: number | null;
|
|
334
416
|
valuesByCategory: number[][];
|
|
335
417
|
meanMarker: boolean;
|
|
336
418
|
meanLine: boolean;
|
|
@@ -349,6 +431,10 @@ interface ChartexSunburstRow {
|
|
|
349
431
|
interface ChartexSunburst {
|
|
350
432
|
rows: ChartexSunburstRow[];
|
|
351
433
|
}
|
|
434
|
+
interface ChartexTreemap {
|
|
435
|
+
rows: ChartexSunburstRow[];
|
|
436
|
+
parentLabelLayout?: string | null;
|
|
437
|
+
}
|
|
352
438
|
interface SecondaryValueAxis {
|
|
353
439
|
min: number | null;
|
|
354
440
|
max: number | null;
|
|
@@ -367,8 +453,10 @@ interface SecondaryValueAxis {
|
|
|
367
453
|
titleFontColor?: string | null;
|
|
368
454
|
}
|
|
369
455
|
interface ChartManualLayout {
|
|
370
|
-
xMode
|
|
371
|
-
yMode
|
|
456
|
+
xMode?: string;
|
|
457
|
+
yMode?: string;
|
|
458
|
+
wMode?: string;
|
|
459
|
+
hMode?: string;
|
|
372
460
|
layoutTarget?: string;
|
|
373
461
|
x: number;
|
|
374
462
|
y: number;
|
|
@@ -376,8 +464,10 @@ interface ChartManualLayout {
|
|
|
376
464
|
h?: number;
|
|
377
465
|
}
|
|
378
466
|
interface LegendManualLayout {
|
|
379
|
-
xMode
|
|
380
|
-
yMode
|
|
467
|
+
xMode?: string;
|
|
468
|
+
yMode?: string;
|
|
469
|
+
wMode?: string;
|
|
470
|
+
hMode?: string;
|
|
381
471
|
x: number;
|
|
382
472
|
y: number;
|
|
383
473
|
w: number;
|
|
@@ -530,7 +620,7 @@ interface FindHighlightColors {
|
|
|
530
620
|
active?: string;
|
|
531
621
|
}
|
|
532
622
|
//#endregion
|
|
533
|
-
//#region dist/.types-work/docx-
|
|
623
|
+
//#region dist/.types-work/docx-BPe8ajoT.d.ts
|
|
534
624
|
interface DocxDocumentModel {
|
|
535
625
|
section: SectionProps;
|
|
536
626
|
body: BodyElement[];
|
|
@@ -1587,4 +1677,4 @@ interface DocxHighlightMatch {
|
|
|
1587
1677
|
type DocxHighlightColors = FindHighlightColors;
|
|
1588
1678
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1589
1679
|
//#endregion
|
|
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 };
|
|
1680
|
+
export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartDataLabelOverride, type ChartDataPointOverride, type ChartErrBars, type ChartExElementStyle, type ChartLabelBox, type ChartManualLayout, type ChartModel, type ChartRect, type ChartRun, type ChartSeries, type ChartSeriesDataLabels, type ChartTextBox, type ChartTextParagraph, type ChartTextRun, type ChartTrendline, type ChartType, type ChartexBoxSeries, type ChartexBoxWhisker, type ChartexSunburst, type ChartexSunburstRow, type ChartexTreemap, 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 GradientFill, 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 PatternFill, 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 SolidFill, type TabStop, type TableBorders, type TblpPr, type TextPath, type TextSelectionContextOptions, type TileInfo, type ViewerContextMenuEvent, type ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ interface MathRenderer {
|
|
|
10
10
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region dist/.types-work/hyperlink-
|
|
13
|
+
//#region dist/.types-work/hyperlink-R5D7g--F.d.ts
|
|
14
14
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
15
15
|
interface MathRun {
|
|
16
16
|
kind: 'run';
|
|
@@ -384,6 +384,9 @@ interface RenderOptions {
|
|
|
384
384
|
interface ChartSeries {
|
|
385
385
|
name: string;
|
|
386
386
|
color: string | null;
|
|
387
|
+
fillPattern?: PatternFill | null;
|
|
388
|
+
lineColor?: string | null;
|
|
389
|
+
lineWidthEmu?: number | null;
|
|
387
390
|
values: (number | null)[];
|
|
388
391
|
dataPointColors?: (string | null)[] | null;
|
|
389
392
|
dataLabelColors?: (string | null)[] | null;
|
|
@@ -393,6 +396,8 @@ interface ChartSeries {
|
|
|
393
396
|
categories?: string[] | null;
|
|
394
397
|
showMarker?: boolean | null;
|
|
395
398
|
valFormatCode?: string | null;
|
|
399
|
+
catFormatCode?: string | null;
|
|
400
|
+
catFormatCodes?: (string | null)[] | null;
|
|
396
401
|
markerSymbol?: string | null;
|
|
397
402
|
markerSize?: number | null;
|
|
398
403
|
markerFill?: string | null;
|
|
@@ -454,6 +459,7 @@ interface ChartSeriesDataLabels {
|
|
|
454
459
|
position?: string;
|
|
455
460
|
fontColor?: string;
|
|
456
461
|
formatCode?: string;
|
|
462
|
+
separator?: string;
|
|
457
463
|
fontBold?: boolean;
|
|
458
464
|
fontSizeHpt?: number;
|
|
459
465
|
labelBox?: ChartLabelBox;
|
|
@@ -471,12 +477,27 @@ interface ChartErrBars {
|
|
|
471
477
|
lineWidthEmu?: number;
|
|
472
478
|
dash?: string;
|
|
473
479
|
}
|
|
474
|
-
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | string;
|
|
480
|
+
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
481
|
+
interface ChartExElementStyle {
|
|
482
|
+
fillPaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
483
|
+
fillColors?: Array<string | null> | null;
|
|
484
|
+
fillHidden?: boolean | null;
|
|
485
|
+
lineColors?: Array<string | null> | null;
|
|
486
|
+
lineWidthEmu?: number | null;
|
|
487
|
+
lineHidden?: boolean | null;
|
|
488
|
+
lineDash?: string | null;
|
|
489
|
+
lineCap?: string | null;
|
|
490
|
+
lineJoin?: string | null;
|
|
491
|
+
fillColorIndex?: number | null;
|
|
492
|
+
lineColorIndex?: number | null;
|
|
493
|
+
}
|
|
475
494
|
interface ChartModel {
|
|
476
495
|
chartType: ChartType;
|
|
477
496
|
title: string | null;
|
|
497
|
+
titlePresent?: boolean;
|
|
478
498
|
categories: string[];
|
|
479
499
|
series: ChartSeries[];
|
|
500
|
+
chartTextBoxes?: ChartTextBox[] | null;
|
|
480
501
|
varyColors?: boolean | null;
|
|
481
502
|
showDataLabels: boolean;
|
|
482
503
|
valMin: number | null;
|
|
@@ -504,6 +525,7 @@ interface ChartModel {
|
|
|
504
525
|
catAxisFontColor?: string | null;
|
|
505
526
|
valAxisFontColor?: string | null;
|
|
506
527
|
dataLabelFontSizeHpt: number | null;
|
|
528
|
+
dataLabelFontBold?: boolean | null;
|
|
507
529
|
subtotalIndices: number[];
|
|
508
530
|
legendManualLayout?: LegendManualLayout | null;
|
|
509
531
|
valAxisFormatCode?: string | null;
|
|
@@ -548,8 +570,12 @@ interface ChartModel {
|
|
|
548
570
|
titleManualLayout?: ChartManualLayout | null;
|
|
549
571
|
plotAreaManualLayout?: ChartManualLayout | null;
|
|
550
572
|
scatterStyle?: string | null;
|
|
573
|
+
bubbleScale?: number | null;
|
|
574
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
575
|
+
showNegativeBubbles?: boolean | null;
|
|
551
576
|
radarStyle?: string | null;
|
|
552
577
|
secondaryValAxis?: SecondaryValueAxis | null;
|
|
578
|
+
secondaryCatAxis?: SecondaryValueAxis | null;
|
|
553
579
|
date1904?: boolean;
|
|
554
580
|
holeSize?: number | null;
|
|
555
581
|
firstSliceAngle?: number | null;
|
|
@@ -567,6 +593,8 @@ interface ChartModel {
|
|
|
567
593
|
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
568
594
|
catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
569
595
|
catAxisTickLabelPos?: string | null;
|
|
596
|
+
catAxisTickLabelSkip?: number | null;
|
|
597
|
+
catAxisTickMarkSkip?: number | null;
|
|
570
598
|
valAxisTickLabelPos?: string | null;
|
|
571
599
|
catAxisLabelRotation?: number | null;
|
|
572
600
|
stockHiLowLines?: boolean | null;
|
|
@@ -574,11 +602,39 @@ interface ChartModel {
|
|
|
574
602
|
stockUpDownBars?: boolean | null;
|
|
575
603
|
chartexBox?: ChartexBoxWhisker | null;
|
|
576
604
|
chartexSunburst?: ChartexSunburst | null;
|
|
605
|
+
chartexTreemap?: ChartexTreemap | null;
|
|
577
606
|
chartexAccents?: string[] | null;
|
|
607
|
+
chartexColorPalette?: Array<string | null> | null;
|
|
608
|
+
chartexColorStyleMethod?: string | null;
|
|
609
|
+
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
610
|
+
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
611
|
+
chartexDataPointMarkerStyle?: ChartExElementStyle | null;
|
|
612
|
+
}
|
|
613
|
+
interface ChartTextRun {
|
|
614
|
+
text: string;
|
|
615
|
+
fontSizeHpt?: number | null;
|
|
616
|
+
bold?: boolean | null;
|
|
617
|
+
color?: string | null;
|
|
618
|
+
fontFace?: string | null;
|
|
619
|
+
}
|
|
620
|
+
interface ChartTextParagraph {
|
|
621
|
+
runs: ChartTextRun[];
|
|
622
|
+
align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
623
|
+
}
|
|
624
|
+
interface ChartTextBox {
|
|
625
|
+
x: number;
|
|
626
|
+
y: number;
|
|
627
|
+
w: number;
|
|
628
|
+
h: number;
|
|
629
|
+
paragraphs: ChartTextParagraph[];
|
|
630
|
+
verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
|
|
631
|
+
wrap?: 'none' | 'square' | string | null;
|
|
578
632
|
}
|
|
579
633
|
interface ChartexBoxSeries {
|
|
580
634
|
name: string;
|
|
581
635
|
color?: string | null;
|
|
636
|
+
lineColor?: string | null;
|
|
637
|
+
lineWidthEmu?: number | null;
|
|
582
638
|
valuesByCategory: number[][];
|
|
583
639
|
meanMarker: boolean;
|
|
584
640
|
meanLine: boolean;
|
|
@@ -597,6 +653,10 @@ interface ChartexSunburstRow {
|
|
|
597
653
|
interface ChartexSunburst {
|
|
598
654
|
rows: ChartexSunburstRow[];
|
|
599
655
|
}
|
|
656
|
+
interface ChartexTreemap {
|
|
657
|
+
rows: ChartexSunburstRow[];
|
|
658
|
+
parentLabelLayout?: string | null;
|
|
659
|
+
}
|
|
600
660
|
interface SecondaryValueAxis {
|
|
601
661
|
min: number | null;
|
|
602
662
|
max: number | null;
|
|
@@ -615,8 +675,10 @@ interface SecondaryValueAxis {
|
|
|
615
675
|
titleFontColor?: string | null;
|
|
616
676
|
}
|
|
617
677
|
interface ChartManualLayout {
|
|
618
|
-
xMode
|
|
619
|
-
yMode
|
|
678
|
+
xMode?: string;
|
|
679
|
+
yMode?: string;
|
|
680
|
+
wMode?: string;
|
|
681
|
+
hMode?: string;
|
|
620
682
|
layoutTarget?: string;
|
|
621
683
|
x: number;
|
|
622
684
|
y: number;
|
|
@@ -624,8 +686,10 @@ interface ChartManualLayout {
|
|
|
624
686
|
h?: number;
|
|
625
687
|
}
|
|
626
688
|
interface LegendManualLayout {
|
|
627
|
-
xMode
|
|
628
|
-
yMode
|
|
689
|
+
xMode?: string;
|
|
690
|
+
yMode?: string;
|
|
691
|
+
wMode?: string;
|
|
692
|
+
hMode?: string;
|
|
629
693
|
x: number;
|
|
630
694
|
y: number;
|
|
631
695
|
w: number;
|
|
@@ -778,7 +842,7 @@ interface FindHighlightColors {
|
|
|
778
842
|
active?: string;
|
|
779
843
|
}
|
|
780
844
|
//#endregion
|
|
781
|
-
//#region dist/.types-work/docx-
|
|
845
|
+
//#region dist/.types-work/docx-BPe8ajoT.d.ts
|
|
782
846
|
interface DocxDocumentModel {
|
|
783
847
|
section: SectionProps;
|
|
784
848
|
body: BodyElement[];
|
|
@@ -1835,10 +1899,10 @@ interface DocxHighlightMatch {
|
|
|
1835
1899
|
type DocxHighlightColors = FindHighlightColors;
|
|
1836
1900
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1837
1901
|
declare namespace docx_d_exports {
|
|
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 };
|
|
1902
|
+
export { AnchorHostMetrics, AutoResizeOptions, BodyElement, BorderSpec, CellBorders, CellElement, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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, GradientFill, 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, PatternFill, RenderPageOptions, RenderPageToBitmapOptions, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SolidFill, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TileInfo, ViewerContextMenuEvent, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, noteText, openExternalHyperlink, readDocxTextSelectionContext };
|
|
1839
1903
|
}
|
|
1840
1904
|
//#endregion
|
|
1841
|
-
//#region dist/.types-work/pptx-
|
|
1905
|
+
//#region dist/.types-work/pptx-Bb8Ij3pP.d.ts
|
|
1842
1906
|
interface BlipBullet {
|
|
1843
1907
|
type: 'blip';
|
|
1844
1908
|
imagePath: string;
|
|
@@ -2473,10 +2537,10 @@ interface PptxHighlightMatch {
|
|
|
2473
2537
|
type PptxHighlightColors = FindHighlightColors;
|
|
2474
2538
|
declare function buildPptxHighlightLayer(layer: HTMLDivElement, runs: PptxTextRunInfo[], matches: PptxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: PptxHighlightColors): void;
|
|
2475
2539
|
declare namespace pptx_d_exports {
|
|
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 };
|
|
2540
|
+
export { ArrowEnd, AutoResizeOptions, Bevel3d, BlipBullet, Bullet, Camera3d, ChartDataLabelOverride, ChartDataPointOverride, ChartElement, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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 };
|
|
2477
2541
|
}
|
|
2478
2542
|
//#endregion
|
|
2479
|
-
//#region dist/.types-work/xlsx-
|
|
2543
|
+
//#region dist/.types-work/xlsx-C3uqud8R.d.ts
|
|
2480
2544
|
type ShapeFill = Exclude<Fill, {
|
|
2481
2545
|
fillType: 'image';
|
|
2482
2546
|
} | {
|
|
@@ -2743,6 +2807,7 @@ interface DataValidation {
|
|
|
2743
2807
|
errorMessage?: string;
|
|
2744
2808
|
}
|
|
2745
2809
|
interface ChartAnchor {
|
|
2810
|
+
zOrder?: number;
|
|
2746
2811
|
fromCol: number;
|
|
2747
2812
|
fromColOff: number;
|
|
2748
2813
|
fromRow: number;
|
|
@@ -2768,6 +2833,7 @@ interface ShapeAnchor {
|
|
|
2768
2833
|
shapes: ShapeInfo[];
|
|
2769
2834
|
}
|
|
2770
2835
|
interface ShapeInfo {
|
|
2836
|
+
zOrder?: number;
|
|
2771
2837
|
x: number;
|
|
2772
2838
|
y: number;
|
|
2773
2839
|
w: number;
|
|
@@ -2901,6 +2967,7 @@ type PathCmd = {
|
|
|
2901
2967
|
op: 'close';
|
|
2902
2968
|
};
|
|
2903
2969
|
interface ImageAnchor {
|
|
2970
|
+
zOrder?: number;
|
|
2904
2971
|
fromCol: number;
|
|
2905
2972
|
fromColOff: number;
|
|
2906
2973
|
fromRow: number;
|
|
@@ -3518,6 +3585,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
|
|
|
3518
3585
|
private paintCornerGutter;
|
|
3519
3586
|
private onGutterPointerDown;
|
|
3520
3587
|
private applyGroupToggle;
|
|
3588
|
+
private scrollOutlineSummaryToStart;
|
|
3521
3589
|
private applyLevelButton;
|
|
3522
3590
|
private setBandHidden;
|
|
3523
3591
|
private recordSizeOverride;
|
|
@@ -3688,7 +3756,7 @@ declare class XlsxSheetViewer implements ZoomableViewer {
|
|
|
3688
3756
|
}
|
|
3689
3757
|
declare function resolveSharedStrings(ws: Worksheet, sharedStrings: SharedString[]): Worksheet;
|
|
3690
3758
|
declare namespace xlsx_d_exports {
|
|
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 };
|
|
3759
|
+
export { ArrowEnd, AutoResizeOptions, Border, BorderEdge, Cell, CellAddress, CellFill, CellFont, CellValue, CellXf, CfIcon, CfRule, CfStop, CfValue, ChartAnchor, ChartDataLabelOverride, ChartDataPointOverride, ChartErrBars, ChartExElementStyle, ChartLabelBox, ChartManualLayout, ChartModel, ChartRect, ChartSeries, ChartSeriesDataLabels, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, 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 };
|
|
3692
3760
|
}
|
|
3693
3761
|
//#endregion
|
|
3694
3762
|
export { docx_d_exports as docx, pptx_d_exports as pptx, xlsx_d_exports as xlsx };
|