@silurus/ooxml 0.76.2 → 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.
- package/README.md +144 -32
- package/dist/{canvas-viewer-mechanics-CwVSOYke.js → canvas-viewer-mechanics-D5zXbOrS.js} +319 -153
- package/dist/{document-pull-client-B-3_7_YS.js → document-pull-client-CC8pPuzi.js} +2361 -2253
- package/dist/{docx-C6B98B4-.js → docx-Dg9N9OX4.js} +623 -202
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-C1r2zvji.js → line-distribute-BtfPlM2A.js} +133 -72
- package/dist/{line-metrics-BdCACYlq.js → line-metrics-B66x33iy.js} +1446 -1340
- package/dist/node.mjs +7 -7
- package/dist/pptx-BFP7Isgf.js +2123 -0
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{render-CLcpSi0m.js → render-D-cOpMLV.js} +1 -1
- package/dist/render-worker-host-BzpMoFRr.js +27 -0
- package/dist/render-worker-host-CdZ5hW2X.js +27 -0
- package/dist/render-worker-host-quqYq02i.js +27 -0
- package/dist/{resource-measurement-E_S_iau4.js → resource-measurement-CVfVTQrt.js} +1 -1
- package/dist/{session-B4Y54cbT.js → session-DxAVpIP-.js} +2 -2
- package/dist/{slide-pull-client-WCuYCjio.js → slide-pull-client-Lag44QA8.js} +1173 -876
- package/dist/types/docx.d.ts +172 -28
- package/dist/types/index.d.ts +498 -88
- package/dist/types/node.d.ts +133 -22
- package/dist/types/pptx.d.ts +166 -10
- package/dist/types/xlsx.d.ts +248 -54
- package/dist/{worksheet-pull-client-YzjJMOns.js → worksheet-pull-client-D74b_23i.js} +2 -2
- package/dist/{xlsx-EykJ9tPV.js → xlsx-Bik59Raj.js} +2090 -1224
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/pptx-CKAk5e-J.js +0 -1735
- package/dist/render-worker-host-Bkf1jUcW.js +0 -27
- package/dist/render-worker-host-CKOmXdyr.js +0 -27
- package/dist/render-worker-host-Dpv-nKHY.js +0 -27
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-JmvHU-7y.d.ts
|
|
14
14
|
type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
|
|
15
15
|
interface MathRun {
|
|
16
16
|
kind: 'run';
|
|
@@ -383,9 +383,14 @@ interface LegendManualLayout {
|
|
|
383
383
|
w: number;
|
|
384
384
|
h: number;
|
|
385
385
|
}
|
|
386
|
+
interface ChartRect {
|
|
387
|
+
x: number;
|
|
388
|
+
y: number;
|
|
389
|
+
w: number;
|
|
390
|
+
h: number;
|
|
391
|
+
}
|
|
386
392
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml';
|
|
387
393
|
type OoxmlErrorStage = 'container' | 'decompression' | 'parsing' | 'serialization' | 'layout' | 'rendering' | 'worker';
|
|
388
|
-
type OoxmlErrorSource = 'container' | 'zip-part' | 'parser' | 'serializer' | 'layout' | 'renderer' | 'worker';
|
|
389
394
|
declare class OoxmlError extends Error {
|
|
390
395
|
readonly code: OoxmlErrorCode;
|
|
391
396
|
constructor(code: OoxmlErrorCode, message: string);
|
|
@@ -486,7 +491,15 @@ type HyperlinkTarget = {
|
|
|
486
491
|
};
|
|
487
492
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
488
493
|
//#endregion
|
|
489
|
-
//#region dist/.types-work/find-highlight-
|
|
494
|
+
//#region dist/.types-work/find-highlight-DcNlrW8O.d.ts
|
|
495
|
+
interface TextSelectionContextOptions {
|
|
496
|
+
readonly maxTextCharacters?: number;
|
|
497
|
+
readonly maxRunLocators?: number;
|
|
498
|
+
}
|
|
499
|
+
interface ViewerContextMenuEvent<TContext> {
|
|
500
|
+
readonly originalEvent: MouseEvent;
|
|
501
|
+
getContext(): Promise<TContext | null>;
|
|
502
|
+
}
|
|
490
503
|
interface AutoResizeOptions {
|
|
491
504
|
pauseWhenHidden?: boolean;
|
|
492
505
|
}
|
|
@@ -517,7 +530,7 @@ interface FindHighlightColors {
|
|
|
517
530
|
active?: string;
|
|
518
531
|
}
|
|
519
532
|
//#endregion
|
|
520
|
-
//#region dist/.types-work/docx-
|
|
533
|
+
//#region dist/.types-work/docx-BEg7kh7t.d.ts
|
|
521
534
|
interface DocxDocumentModel {
|
|
522
535
|
section: SectionProps;
|
|
523
536
|
body: BodyElement[];
|
|
@@ -829,6 +842,12 @@ type PathCmd = {
|
|
|
829
842
|
y2: number;
|
|
830
843
|
x: number;
|
|
831
844
|
y: number;
|
|
845
|
+
} | {
|
|
846
|
+
cmd: 'quadBezTo';
|
|
847
|
+
x1: number;
|
|
848
|
+
y1: number;
|
|
849
|
+
x: number;
|
|
850
|
+
y: number;
|
|
832
851
|
} | {
|
|
833
852
|
cmd: 'arcTo';
|
|
834
853
|
wr: number;
|
|
@@ -873,8 +892,17 @@ interface ShapeRun {
|
|
|
873
892
|
fill: ShapeFill | null;
|
|
874
893
|
stroke: string | null;
|
|
875
894
|
strokeWidth?: number;
|
|
895
|
+
strokeFill?: ShapeStrokeFill | null;
|
|
876
896
|
strokeDash?: string | null;
|
|
877
|
-
|
|
897
|
+
strokeCustomDash?: Array<{
|
|
898
|
+
dash: number;
|
|
899
|
+
space: number;
|
|
900
|
+
}>;
|
|
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;
|
|
878
906
|
headEnd?: LineEnd | null;
|
|
879
907
|
tailEnd?: LineEnd | null;
|
|
880
908
|
rotation?: number;
|
|
@@ -955,6 +983,17 @@ type ShapeFill = {
|
|
|
955
983
|
stops: GradientStop[];
|
|
956
984
|
angle: number;
|
|
957
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;
|
|
958
997
|
} | {
|
|
959
998
|
fillType: 'image';
|
|
960
999
|
imagePath: string;
|
|
@@ -971,6 +1010,23 @@ type ShapeFill = {
|
|
|
971
1010
|
alpha?: number;
|
|
972
1011
|
duotone?: Duotone;
|
|
973
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
|
+
};
|
|
974
1030
|
interface GradientStop {
|
|
975
1031
|
position: number;
|
|
976
1032
|
color: string;
|
|
@@ -1169,24 +1225,12 @@ interface CellBorders {
|
|
|
1169
1225
|
insideH: BorderSpec | null;
|
|
1170
1226
|
insideV: BorderSpec | null;
|
|
1171
1227
|
}
|
|
1172
|
-
interface RenderPageOptions {
|
|
1173
|
-
width?: number;
|
|
1174
|
-
dpr?: number;
|
|
1175
|
-
defaultTextColor?: string;
|
|
1176
|
-
onTextRun?: (run: {
|
|
1177
|
-
text: string;
|
|
1178
|
-
x: number;
|
|
1179
|
-
y: number;
|
|
1180
|
-
w: number;
|
|
1181
|
-
h: number;
|
|
1182
|
-
fontSize: number;
|
|
1183
|
-
font: string;
|
|
1184
|
-
transform?: string;
|
|
1185
|
-
}) => void;
|
|
1186
|
-
showTrackChanges?: boolean;
|
|
1187
|
-
currentDate?: Date | number;
|
|
1188
|
-
}
|
|
1189
1228
|
interface DocxTextRunInfo {
|
|
1229
|
+
source?: Readonly<{
|
|
1230
|
+
story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
|
|
1231
|
+
storyInstance: string;
|
|
1232
|
+
path: readonly number[];
|
|
1233
|
+
}>;
|
|
1190
1234
|
paragraphId?: string;
|
|
1191
1235
|
text: string;
|
|
1192
1236
|
x: number;
|
|
@@ -1200,12 +1244,74 @@ interface DocxTextRunInfo {
|
|
|
1200
1244
|
hyperlink?: HyperlinkTarget;
|
|
1201
1245
|
eastAsianVert?: boolean;
|
|
1202
1246
|
}
|
|
1203
|
-
|
|
1247
|
+
interface RenderPageOptions {
|
|
1248
|
+
width?: number;
|
|
1249
|
+
dpr?: number;
|
|
1250
|
+
defaultTextColor?: string;
|
|
1251
|
+
onTextRun?: (run: DocxTextRunInfo) => void;
|
|
1252
|
+
currentDate?: Date | number;
|
|
1253
|
+
}
|
|
1254
|
+
type DocxSelectionContextOptions = TextSelectionContextOptions;
|
|
1255
|
+
interface DocxSelectionSourceLocator {
|
|
1256
|
+
readonly story: 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'textbox';
|
|
1257
|
+
readonly storyInstance: string;
|
|
1258
|
+
readonly path: readonly number[];
|
|
1259
|
+
}
|
|
1260
|
+
interface DocxSelectionRunLocator {
|
|
1261
|
+
readonly pageIndex: number;
|
|
1262
|
+
readonly runIndex: number;
|
|
1263
|
+
readonly paragraphId?: string;
|
|
1264
|
+
readonly source?: DocxSelectionSourceLocator;
|
|
1265
|
+
}
|
|
1266
|
+
interface DocxTextSelectionContext {
|
|
1267
|
+
readonly format: 'docx';
|
|
1268
|
+
readonly kind: 'text';
|
|
1269
|
+
readonly text: string;
|
|
1270
|
+
readonly pageIndexes: readonly number[];
|
|
1271
|
+
readonly paragraphIds: readonly string[];
|
|
1272
|
+
readonly runs: readonly DocxSelectionRunLocator[];
|
|
1273
|
+
readonly truncated: boolean;
|
|
1274
|
+
readonly truncationReasons: readonly ('text' | 'runs')[];
|
|
1275
|
+
readonly textCharacters: number;
|
|
1276
|
+
readonly maxTextCharacters: number;
|
|
1277
|
+
readonly maxRunLocators: number;
|
|
1278
|
+
}
|
|
1279
|
+
interface DocxPagePoint {
|
|
1280
|
+
readonly xPt: number;
|
|
1281
|
+
readonly yPt: number;
|
|
1282
|
+
}
|
|
1283
|
+
interface DocxElementContext {
|
|
1284
|
+
readonly format: 'docx';
|
|
1285
|
+
readonly kind: 'element';
|
|
1286
|
+
readonly pageIndex: number;
|
|
1287
|
+
readonly elementIndex: number;
|
|
1288
|
+
readonly elementType: 'chart' | 'image' | 'shape';
|
|
1289
|
+
readonly point: DocxPagePoint;
|
|
1290
|
+
readonly bounds: Readonly<DocxPagePoint & {
|
|
1291
|
+
widthPt: number;
|
|
1292
|
+
heightPt: number;
|
|
1293
|
+
}>;
|
|
1294
|
+
readonly source: DocxSelectionSourceLocator;
|
|
1295
|
+
readonly text?: string;
|
|
1296
|
+
readonly mimeType?: string;
|
|
1297
|
+
readonly seriesCount?: number;
|
|
1298
|
+
readonly truncated: boolean;
|
|
1299
|
+
readonly truncationReasons: readonly ('text')[];
|
|
1300
|
+
readonly textCharacters: number;
|
|
1301
|
+
readonly maxTextCharacters: number;
|
|
1302
|
+
}
|
|
1303
|
+
type DocxSelectionContext = DocxTextSelectionContext | DocxElementContext;
|
|
1304
|
+
declare function readDocxTextSelectionContext(root: HTMLElement, selection: Selection | null, options?: DocxSelectionContextOptions): DocxTextSelectionContext | null;
|
|
1305
|
+
interface DocxElementContextOptions {
|
|
1306
|
+
readonly maxTextCharacters?: number;
|
|
1307
|
+
readonly currentDate?: Date | number;
|
|
1308
|
+
}
|
|
1204
1309
|
interface LoadOptions extends LoadOptions$1 {
|
|
1205
1310
|
math?: MathRenderer;
|
|
1206
1311
|
mode?: 'main' | 'worker';
|
|
1207
1312
|
}
|
|
1208
|
-
type
|
|
1313
|
+
type CollectPageRunsOptions = Pick<RenderPageOptions, 'width' | 'currentDate'>;
|
|
1314
|
+
type RenderPageToBitmapOptions = Omit<RenderPageOptions, 'onTextRun'> & {
|
|
1209
1315
|
onTextRun?: (run: DocxTextRunInfo) => void;
|
|
1210
1316
|
};
|
|
1211
1317
|
declare class DocxDocument {
|
|
@@ -1246,14 +1352,18 @@ declare class DocxDocument {
|
|
|
1246
1352
|
};
|
|
1247
1353
|
renderPage(target: HTMLCanvasElement | OffscreenCanvas, pageIndex: number, opts?: RenderPageOptions): Promise<void>;
|
|
1248
1354
|
renderPageToBitmap(pageIndex: number, opts?: RenderPageToBitmapOptions): Promise<ImageBitmap>;
|
|
1249
|
-
collectPageRuns(pageIndex: number, opts?:
|
|
1355
|
+
collectPageRuns(pageIndex: number, opts?: CollectPageRunsOptions): Promise<DocxTextRunInfo[]>;
|
|
1356
|
+
getElementContextAt(pageIndex: number, point: DocxPagePoint, opts?: DocxElementContextOptions): Promise<DocxElementContext | null>;
|
|
1250
1357
|
}
|
|
1251
1358
|
interface DocxMatchLocation {
|
|
1252
1359
|
page: number;
|
|
1253
1360
|
}
|
|
1254
|
-
interface DocxViewerOptions extends RenderPageOptions, LoadOptions {
|
|
1361
|
+
interface DocxViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>, LoadOptions {
|
|
1255
1362
|
container?: HTMLElement;
|
|
1256
1363
|
enableTextSelection?: boolean;
|
|
1364
|
+
enableElementSelection?: boolean;
|
|
1365
|
+
onSelectionContextChange?: (context: DocxSelectionContext | null) => void;
|
|
1366
|
+
onContextMenu?: (event: ViewerContextMenuEvent<DocxSelectionContext>) => void;
|
|
1257
1367
|
findHighlightColors?: FindHighlightColors;
|
|
1258
1368
|
onPageChange?: (index: number, total: number) => void;
|
|
1259
1369
|
zoomMin?: number;
|
|
@@ -1275,6 +1385,7 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
1275
1385
|
private readonly _canvasMount;
|
|
1276
1386
|
private _textLayer;
|
|
1277
1387
|
private _highlightLayer;
|
|
1388
|
+
private _elementLayer;
|
|
1278
1389
|
private _find;
|
|
1279
1390
|
private _measureCtx;
|
|
1280
1391
|
private _opts;
|
|
@@ -1282,6 +1393,12 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
1282
1393
|
private readonly _renderDispatcher;
|
|
1283
1394
|
private readonly _errorRouter;
|
|
1284
1395
|
private _destroyed;
|
|
1396
|
+
private _selectionChangeListener;
|
|
1397
|
+
private _selectionContextKey;
|
|
1398
|
+
private _elementContext;
|
|
1399
|
+
private _elementHitGeneration;
|
|
1400
|
+
private _elementClickListener;
|
|
1401
|
+
private _contextMenuListener;
|
|
1285
1402
|
static fromDocument(canvas: HTMLCanvasElement, document: DocxDocument, opts?: Omit<DocxViewerOptions, keyof LoadOptions>): Omit<DocxViewer, 'load'>;
|
|
1286
1403
|
constructor(canvas: HTMLCanvasElement, opts?: DocxViewerOptions);
|
|
1287
1404
|
load(source: string | ArrayBuffer): Promise<void>;
|
|
@@ -1310,6 +1427,14 @@ declare class DocxViewer implements ZoomableViewer {
|
|
|
1310
1427
|
private _activateMatch;
|
|
1311
1428
|
private _redrawHighlights;
|
|
1312
1429
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
1430
|
+
getSelectionContext(options?: DocxSelectionContextOptions): DocxSelectionContext | null;
|
|
1431
|
+
private _emitSelectionContextChange;
|
|
1432
|
+
private _setElementContext;
|
|
1433
|
+
private _invalidateElementContext;
|
|
1434
|
+
private _redrawElementOutline;
|
|
1435
|
+
private _onElementClick;
|
|
1436
|
+
private _onContextMenu;
|
|
1437
|
+
private _resolveContextAt;
|
|
1313
1438
|
destroy(): void;
|
|
1314
1439
|
private _render;
|
|
1315
1440
|
private _reportRenderError;
|
|
@@ -1330,6 +1455,9 @@ interface DocxScrollViewerOptions extends Omit<RenderPageOptions, 'onTextRun'>,
|
|
|
1330
1455
|
paddingRight?: number;
|
|
1331
1456
|
overscan?: number;
|
|
1332
1457
|
enableTextSelection?: boolean;
|
|
1458
|
+
enableElementSelection?: boolean;
|
|
1459
|
+
onSelectionContextChange?: (context: DocxSelectionContext | null) => void;
|
|
1460
|
+
onContextMenu?: (event: ViewerContextMenuEvent<DocxSelectionContext>) => void;
|
|
1333
1461
|
findHighlightColors?: FindHighlightColors;
|
|
1334
1462
|
zoomMin?: number;
|
|
1335
1463
|
zoomMax?: number;
|
|
@@ -1362,6 +1490,12 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
1362
1490
|
private _lastRange;
|
|
1363
1491
|
private _lastTopIndex;
|
|
1364
1492
|
private _scrollListener;
|
|
1493
|
+
private _selectionChangeListener;
|
|
1494
|
+
private _selectionContextKey;
|
|
1495
|
+
private _elementClickListener;
|
|
1496
|
+
private _contextMenuListener;
|
|
1497
|
+
private _elementContext;
|
|
1498
|
+
private _elementHitGeneration;
|
|
1365
1499
|
private _destroyed;
|
|
1366
1500
|
private _measureCtx;
|
|
1367
1501
|
private readonly _bitmapInFlight;
|
|
@@ -1384,6 +1518,7 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
1384
1518
|
private _fitWidthPx;
|
|
1385
1519
|
private _baseScale;
|
|
1386
1520
|
relayout(): void;
|
|
1521
|
+
private _relayout;
|
|
1387
1522
|
private _recomputeHeights;
|
|
1388
1523
|
private _gap;
|
|
1389
1524
|
private _overscan;
|
|
@@ -1433,9 +1568,18 @@ declare class DocxScrollViewer implements ZoomableViewer {
|
|
|
1433
1568
|
private _onResize;
|
|
1434
1569
|
get topVisiblePage(): number;
|
|
1435
1570
|
getResourceMetrics(): Promise<OoxmlResourceMetrics>;
|
|
1571
|
+
getSelectionContext(options?: DocxSelectionContextOptions): DocxSelectionContext | null;
|
|
1572
|
+
private _emitSelectionContextChange;
|
|
1573
|
+
private _setElementContext;
|
|
1574
|
+
private _invalidateElementContext;
|
|
1575
|
+
private _redrawElementOutlines;
|
|
1576
|
+
private _redrawElementOutlineForSlot;
|
|
1577
|
+
private _onElementClick;
|
|
1578
|
+
private _onContextMenu;
|
|
1579
|
+
private _resolveContextAt;
|
|
1436
1580
|
destroy(): void;
|
|
1437
1581
|
}
|
|
1438
|
-
declare function buildDocxTextLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, measureForFont?: (font: string) => (s: string) => number): void;
|
|
1582
|
+
declare function buildDocxTextLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], cssWidth: number, cssHeight: number, onHyperlinkClick?: (target: HyperlinkTarget) => void, measureForFont?: (font: string) => (s: string) => number, pageIndex?: number): void;
|
|
1439
1583
|
interface DocxHighlightMatch {
|
|
1440
1584
|
slices: MatchRunSlice[];
|
|
1441
1585
|
active: boolean;
|
|
@@ -1443,4 +1587,4 @@ interface DocxHighlightMatch {
|
|
|
1443
1587
|
type DocxHighlightColors = FindHighlightColors;
|
|
1444
1588
|
declare function buildDocxHighlightLayer(layer: HTMLDivElement, runs: DocxTextRunInfo[], matches: DocxHighlightMatch[], cssWidth: number, cssHeight: number, measureForFont: (font: string) => (s: string) => number, colors?: DocxHighlightColors): void;
|
|
1445
1589
|
//#endregion
|
|
1446
|
-
export { type AnchorHostMetrics, type AutoResizeOptions, type BodyElement, type BorderSpec, type CellBorders, type CellElement, type ChartRun, type ColSpec, type ColumnsSpec, type DocComment, type DocNote, type DocParagraph, type DocRevision, type DocRun, type DocSettings, type DocTable, type DocTableCell, type DocTableRow, DocxDocument, type DocxDocumentModel, type DocxHighlightColors, type DocxHighlightMatch, type DocxMatchLocation, type DocxRunBorder, DocxScrollViewer, type DocxScrollViewerOptions, type DocxTextRun, type DocxTextRunInfo, DocxViewer, type DocxViewerOptions, type EmbeddedFontRef, type FieldRun, type FindHighlightColors, type FindMatch, type FindMatchesOptions, type FramePr, type GradientStop, type HeaderFooter, type HeadersFooters, type HyperlinkTarget, type ImageRun, type LineEnd, type LineNumbering, type LineSpacing, type LoadOptions, type NoteRef, type NumberingInfo, OoxmlDecodedImageLimitError, type OoxmlDecodedImageLimitMetric, OoxmlError, type OoxmlErrorCode, type
|
|
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 };
|