document-content-model 7.6.1 → 7.7.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/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{content-PPcQWl8e.d.ts → content-BIM8bWWt.d.ts} +169 -23
- package/dist/{content-JIKLIrji.d.cts → content-DpsxyPMw.d.cts} +169 -23
- package/dist/content-json-schema-defs.cjs +32 -0
- package/dist/content-json-schema-defs.js +32 -0
- package/dist/content.cjs +37 -11
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +33 -12
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.cjs +1 -10
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/definitions.js +2 -11
- package/dist/factor-styles.cjs +1 -0
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +1 -0
- package/dist/flatten.cjs +1 -0
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/flatten.js +1 -0
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{package-node-B4CHgiVQ.d.ts → package-node-B8LBrCCD.d.ts} +40 -27
- package/dist/{package-node-duDMdOvH.d.cts → package-node-CENJl5PH.d.cts} +40 -27
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.cjs +1 -0
- package/dist/package.d.cts +6 -1
- package/dist/package.d.ts +6 -1
- package/dist/package.js +2 -1
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/package.json +1 -1
- package/schemas/content-document.schema.json +171 -13
- package/schemas/document-tree.schema.json +87 -3
package/dist/codec.d.cts
CHANGED
package/dist/codec.d.ts
CHANGED
|
@@ -9,8 +9,20 @@ import { z } from "zod";
|
|
|
9
9
|
type FusedNode<T> = T & {
|
|
10
10
|
frames?: LayoutFrame[];
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
13
|
-
|
|
12
|
+
declare const RUN_FONT_PROPERTY_SHAPE: {
|
|
13
|
+
readonly bold: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
readonly italic: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
readonly underline: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
readonly strike: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
readonly fontFamily: z.ZodOptional<z.ZodString>;
|
|
18
|
+
readonly sizePt: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
readonly color: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
r: z.ZodNumber;
|
|
21
|
+
g: z.ZodNumber;
|
|
22
|
+
b: z.ZodNumber;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
};
|
|
25
|
+
declare const ContentFontSchema: z.ZodObject<{
|
|
14
26
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
15
27
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
16
28
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22,6 +34,9 @@ declare const ContentRunSchema: z.ZodObject<{
|
|
|
22
34
|
g: z.ZodNumber;
|
|
23
35
|
b: z.ZodNumber;
|
|
24
36
|
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
type ContentFont = z.infer<typeof ContentFontSchema>;
|
|
39
|
+
declare const ContentRunSchema: z.ZodObject<{
|
|
25
40
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
26
41
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
27
42
|
superscript: "superscript";
|
|
@@ -59,6 +74,18 @@ declare const ContentRunSchema: z.ZodObject<{
|
|
|
59
74
|
widthPt: z.ZodNumber;
|
|
60
75
|
heightPt: z.ZodNumber;
|
|
61
76
|
}, z.core.$strip>>>;
|
|
77
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
82
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
r: z.ZodNumber;
|
|
85
|
+
g: z.ZodNumber;
|
|
86
|
+
b: z.ZodNumber;
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
|
+
text: z.ZodString;
|
|
62
89
|
}, z.core.$strip>;
|
|
63
90
|
type ContentRun = z.infer<typeof ContentRunSchema>;
|
|
64
91
|
declare const ContentListMembershipSchema: z.ZodObject<{
|
|
@@ -355,18 +382,6 @@ type ContentParagraphBorders = z.infer<typeof ContentParagraphBordersSchema>;
|
|
|
355
382
|
declare const ContentParagraphSchema: z.ZodObject<{
|
|
356
383
|
kind: z.ZodLiteral<"paragraph">;
|
|
357
384
|
runs: z.ZodArray<z.ZodObject<{
|
|
358
|
-
text: z.ZodString;
|
|
359
|
-
bold: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
-
underline: z.ZodOptional<z.ZodBoolean>;
|
|
362
|
-
strike: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
-
fontFamily: z.ZodOptional<z.ZodString>;
|
|
364
|
-
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
365
|
-
color: z.ZodOptional<z.ZodObject<{
|
|
366
|
-
r: z.ZodNumber;
|
|
367
|
-
g: z.ZodNumber;
|
|
368
|
-
b: z.ZodNumber;
|
|
369
|
-
}, z.core.$strip>>;
|
|
370
385
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
371
386
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
372
387
|
superscript: "superscript";
|
|
@@ -404,6 +419,18 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
404
419
|
widthPt: z.ZodNumber;
|
|
405
420
|
heightPt: z.ZodNumber;
|
|
406
421
|
}, z.core.$strip>>>;
|
|
422
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
426
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
427
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
428
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
r: z.ZodNumber;
|
|
430
|
+
g: z.ZodNumber;
|
|
431
|
+
b: z.ZodNumber;
|
|
432
|
+
}, z.core.$strip>>;
|
|
433
|
+
text: z.ZodString;
|
|
407
434
|
}, z.core.$strip>>;
|
|
408
435
|
constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
409
436
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -883,6 +910,17 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
883
910
|
}, z.core.$strict>]>;
|
|
884
911
|
}, z.core.$strip>;
|
|
885
912
|
type ContentFloatPosition = z.infer<typeof ContentFloatPositionSchema>;
|
|
913
|
+
declare const IMAGE_FORMATS: readonly ["png", "jpeg", "svg", "gif"];
|
|
914
|
+
type ImageFormat = (typeof IMAGE_FORMATS)[number];
|
|
915
|
+
declare const ContentImageOriginalSchema: z.ZodObject<{
|
|
916
|
+
filter: z.ZodEnum<{
|
|
917
|
+
jbig2: "jbig2";
|
|
918
|
+
jpeg2000: "jpeg2000";
|
|
919
|
+
}>;
|
|
920
|
+
base64: z.ZodString;
|
|
921
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
922
|
+
}, z.core.$strip>;
|
|
923
|
+
type ContentImageOriginal = z.infer<typeof ContentImageOriginalSchema>;
|
|
886
924
|
declare const ContentImageBlockSchema: z.ZodObject<{
|
|
887
925
|
kind: z.ZodLiteral<"image">;
|
|
888
926
|
format: z.ZodEnum<{
|
|
@@ -895,6 +933,14 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
895
933
|
widthPt: z.ZodNumber;
|
|
896
934
|
heightPt: z.ZodNumber;
|
|
897
935
|
altText: z.ZodOptional<z.ZodString>;
|
|
936
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
937
|
+
filter: z.ZodEnum<{
|
|
938
|
+
jbig2: "jbig2";
|
|
939
|
+
jpeg2000: "jpeg2000";
|
|
940
|
+
}>;
|
|
941
|
+
base64: z.ZodString;
|
|
942
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
943
|
+
}, z.core.$strip>>;
|
|
898
944
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
899
945
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
900
946
|
relativeTo: z.ZodEnum<{
|
|
@@ -1608,8 +1654,7 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
1608
1654
|
formula: z.ZodOptional<z.ZodString>;
|
|
1609
1655
|
displayText: z.ZodString;
|
|
1610
1656
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
1611
|
-
|
|
1612
|
-
text: z.ZodString;
|
|
1657
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
1613
1658
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1614
1659
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1615
1660
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1621,6 +1666,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
1621
1666
|
g: z.ZodNumber;
|
|
1622
1667
|
b: z.ZodNumber;
|
|
1623
1668
|
}, z.core.$strip>>;
|
|
1669
|
+
}, z.core.$strip>>;
|
|
1670
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1624
1671
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1625
1672
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
1626
1673
|
superscript: "superscript";
|
|
@@ -1658,6 +1705,18 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
1658
1705
|
widthPt: z.ZodNumber;
|
|
1659
1706
|
heightPt: z.ZodNumber;
|
|
1660
1707
|
}, z.core.$strip>>>;
|
|
1708
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1709
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1710
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1711
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1712
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
1714
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
1715
|
+
r: z.ZodNumber;
|
|
1716
|
+
g: z.ZodNumber;
|
|
1717
|
+
b: z.ZodNumber;
|
|
1718
|
+
}, z.core.$strip>>;
|
|
1719
|
+
text: z.ZodString;
|
|
1661
1720
|
}, z.core.$strip>>>;
|
|
1662
1721
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
1663
1722
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1892,6 +1951,14 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
1892
1951
|
widthPt: z.ZodNumber;
|
|
1893
1952
|
heightPt: z.ZodNumber;
|
|
1894
1953
|
altText: z.ZodOptional<z.ZodString>;
|
|
1954
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
1955
|
+
filter: z.ZodEnum<{
|
|
1956
|
+
jbig2: "jbig2";
|
|
1957
|
+
jpeg2000: "jpeg2000";
|
|
1958
|
+
}>;
|
|
1959
|
+
base64: z.ZodString;
|
|
1960
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
}, z.core.$strip>>;
|
|
1895
1962
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1896
1963
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1897
1964
|
relativeTo: z.ZodEnum<{
|
|
@@ -2706,6 +2773,11 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2706
2773
|
xml: z.ZodString;
|
|
2707
2774
|
}, z.core.$strict>>;
|
|
2708
2775
|
}, z.core.$strip>>;
|
|
2776
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2777
|
+
name: z.ZodString;
|
|
2778
|
+
refersTo: z.ZodString;
|
|
2779
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
2780
|
+
}, z.core.$strip>>>;
|
|
2709
2781
|
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
2710
2782
|
symbols: z.ZodArray<z.ZodObject<{
|
|
2711
2783
|
glyph: z.ZodString;
|
|
@@ -4619,8 +4691,7 @@ declare const ContentSheetCellSchema: z.ZodObject<{
|
|
|
4619
4691
|
formula: z.ZodOptional<z.ZodString>;
|
|
4620
4692
|
displayText: z.ZodString;
|
|
4621
4693
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
4622
|
-
|
|
4623
|
-
text: z.ZodString;
|
|
4694
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
4624
4695
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
4625
4696
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
4626
4697
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4632,6 +4703,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
|
|
|
4632
4703
|
g: z.ZodNumber;
|
|
4633
4704
|
b: z.ZodNumber;
|
|
4634
4705
|
}, z.core.$strip>>;
|
|
4706
|
+
}, z.core.$strip>>;
|
|
4707
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4635
4708
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
4636
4709
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4637
4710
|
superscript: "superscript";
|
|
@@ -4669,6 +4742,18 @@ declare const ContentSheetCellSchema: z.ZodObject<{
|
|
|
4669
4742
|
widthPt: z.ZodNumber;
|
|
4670
4743
|
heightPt: z.ZodNumber;
|
|
4671
4744
|
}, z.core.$strip>>>;
|
|
4745
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
4746
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
4747
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
4748
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
4749
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
4750
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
4751
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
4752
|
+
r: z.ZodNumber;
|
|
4753
|
+
g: z.ZodNumber;
|
|
4754
|
+
b: z.ZodNumber;
|
|
4755
|
+
}, z.core.$strip>>;
|
|
4756
|
+
text: z.ZodString;
|
|
4672
4757
|
}, z.core.$strip>>>;
|
|
4673
4758
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
4674
4759
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5665,6 +5750,14 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
5665
5750
|
widthPt: z.ZodNumber;
|
|
5666
5751
|
heightPt: z.ZodNumber;
|
|
5667
5752
|
altText: z.ZodOptional<z.ZodString>;
|
|
5753
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
5754
|
+
filter: z.ZodEnum<{
|
|
5755
|
+
jbig2: "jbig2";
|
|
5756
|
+
jpeg2000: "jpeg2000";
|
|
5757
|
+
}>;
|
|
5758
|
+
base64: z.ZodString;
|
|
5759
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
5760
|
+
}, z.core.$strip>>;
|
|
5668
5761
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
5669
5762
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
5670
5763
|
relativeTo: z.ZodEnum<{
|
|
@@ -5829,8 +5922,7 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
5829
5922
|
formula: z.ZodOptional<z.ZodString>;
|
|
5830
5923
|
displayText: z.ZodString;
|
|
5831
5924
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
5832
|
-
|
|
5833
|
-
text: z.ZodString;
|
|
5925
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
5834
5926
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
5835
5927
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
5836
5928
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5842,6 +5934,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
5842
5934
|
g: z.ZodNumber;
|
|
5843
5935
|
b: z.ZodNumber;
|
|
5844
5936
|
}, z.core.$strip>>;
|
|
5937
|
+
}, z.core.$strip>>;
|
|
5938
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5845
5939
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
5846
5940
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
5847
5941
|
superscript: "superscript";
|
|
@@ -5879,6 +5973,18 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
5879
5973
|
widthPt: z.ZodNumber;
|
|
5880
5974
|
heightPt: z.ZodNumber;
|
|
5881
5975
|
}, z.core.$strip>>>;
|
|
5976
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
5977
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
5978
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
5979
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
5980
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
5981
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
5982
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
5983
|
+
r: z.ZodNumber;
|
|
5984
|
+
g: z.ZodNumber;
|
|
5985
|
+
b: z.ZodNumber;
|
|
5986
|
+
}, z.core.$strip>>;
|
|
5987
|
+
text: z.ZodString;
|
|
5882
5988
|
}, z.core.$strip>>>;
|
|
5883
5989
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
5884
5990
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6113,6 +6219,14 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
6113
6219
|
widthPt: z.ZodNumber;
|
|
6114
6220
|
heightPt: z.ZodNumber;
|
|
6115
6221
|
altText: z.ZodOptional<z.ZodString>;
|
|
6222
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
6223
|
+
filter: z.ZodEnum<{
|
|
6224
|
+
jbig2: "jbig2";
|
|
6225
|
+
jpeg2000: "jpeg2000";
|
|
6226
|
+
}>;
|
|
6227
|
+
base64: z.ZodString;
|
|
6228
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
6229
|
+
}, z.core.$strip>>;
|
|
6116
6230
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
6117
6231
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
6118
6232
|
relativeTo: z.ZodEnum<{
|
|
@@ -8133,6 +8247,12 @@ declare const contentDocumentSharedFields: {
|
|
|
8133
8247
|
}, z.core.$strip>>>;
|
|
8134
8248
|
}, z.core.$strip>>;
|
|
8135
8249
|
};
|
|
8250
|
+
declare const ContentDefinedNameSchema: z.ZodObject<{
|
|
8251
|
+
name: z.ZodString;
|
|
8252
|
+
refersTo: z.ZodString;
|
|
8253
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
8254
|
+
}, z.core.$strip>;
|
|
8255
|
+
type ContentDefinedName = z.infer<typeof ContentDefinedNameSchema>;
|
|
8136
8256
|
declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8137
8257
|
sections: z.ZodArray<z.ZodObject<{
|
|
8138
8258
|
pageSize: z.ZodObject<{
|
|
@@ -8434,8 +8554,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8434
8554
|
formula: z.ZodOptional<z.ZodString>;
|
|
8435
8555
|
displayText: z.ZodString;
|
|
8436
8556
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
8437
|
-
|
|
8438
|
-
text: z.ZodString;
|
|
8557
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
8439
8558
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
8440
8559
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
8441
8560
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8447,6 +8566,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8447
8566
|
g: z.ZodNumber;
|
|
8448
8567
|
b: z.ZodNumber;
|
|
8449
8568
|
}, z.core.$strip>>;
|
|
8569
|
+
}, z.core.$strip>>;
|
|
8570
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8450
8571
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
8451
8572
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
8452
8573
|
superscript: "superscript";
|
|
@@ -8484,6 +8605,18 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8484
8605
|
widthPt: z.ZodNumber;
|
|
8485
8606
|
heightPt: z.ZodNumber;
|
|
8486
8607
|
}, z.core.$strip>>>;
|
|
8608
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
8609
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
8610
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
8611
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
8612
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
8613
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
8614
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
8615
|
+
r: z.ZodNumber;
|
|
8616
|
+
g: z.ZodNumber;
|
|
8617
|
+
b: z.ZodNumber;
|
|
8618
|
+
}, z.core.$strip>>;
|
|
8619
|
+
text: z.ZodString;
|
|
8487
8620
|
}, z.core.$strip>>>;
|
|
8488
8621
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
8489
8622
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8718,6 +8851,14 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8718
8851
|
widthPt: z.ZodNumber;
|
|
8719
8852
|
heightPt: z.ZodNumber;
|
|
8720
8853
|
altText: z.ZodOptional<z.ZodString>;
|
|
8854
|
+
original: z.ZodOptional<z.ZodObject<{
|
|
8855
|
+
filter: z.ZodEnum<{
|
|
8856
|
+
jbig2: "jbig2";
|
|
8857
|
+
jpeg2000: "jpeg2000";
|
|
8858
|
+
}>;
|
|
8859
|
+
base64: z.ZodString;
|
|
8860
|
+
jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
|
|
8861
|
+
}, z.core.$strip>>;
|
|
8721
8862
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
8722
8863
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
8723
8864
|
relativeTo: z.ZodEnum<{
|
|
@@ -9532,6 +9673,11 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9532
9673
|
xml: z.ZodString;
|
|
9533
9674
|
}, z.core.$strict>>;
|
|
9534
9675
|
}, z.core.$strip>>;
|
|
9676
|
+
names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9677
|
+
name: z.ZodString;
|
|
9678
|
+
refersTo: z.ZodString;
|
|
9679
|
+
scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
|
|
9680
|
+
}, z.core.$strip>>>;
|
|
9535
9681
|
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
9536
9682
|
symbols: z.ZodArray<z.ZodObject<{
|
|
9537
9683
|
glyph: z.ZodString;
|
|
@@ -10270,4 +10416,4 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10270
10416
|
}, z.core.$strip>], "kind">;
|
|
10271
10417
|
type ContentDocument = z.infer<typeof ContentDocumentSchema>;
|
|
10272
10418
|
//#endregion
|
|
10273
|
-
export {
|
|
10419
|
+
export { ContentImageBlock as $, ContentSlide as $t, ContentEmbeddedObjectSchema as A, findConstructMarkerImbalance as An, ContentSheetConditionalFormat as At, ContentFloatPositionSchema as B, ContentSheetImage as Bt, ContentDocumentSchema as C, RunConstructExtent as Cn, ContentSheet as Ct, ContentEmbeddedObjectBlock as D, SheetRuleOperatorSchema as Dn, ContentSheetCellSchema as Dt, ContentEmbeddedObject as E, SheetRuleOperator as En, ContentSheetCellCommentSchema as Et, ContentFloatAxis as F, isRunConstructExtent as Fn, ContentSheetConditionalFormatValueSchema as Ft, ContentGradientFill as G, ContentSheetPrintSettingsSchema as Gt, ContentFontSchema as H, ContentSheetPrintRange as Ht, ContentFloatAxisSchema as I, resolveCellFillColor as In, ContentSheetDataValidation as It, ContentGradientStyleSchema as J, ContentSheetRepeatRange as Jt, ContentGradientFillSchema as K, ContentSheetRange as Kt, ContentFloatOrigin as L, unrecognizedFillKind as Ln, ContentSheetDataValidationSchema as Lt, ContentFillPatternSchema as M, isContentBlock as Mn, ContentSheetConditionalFormatStyle as Mt, ContentFloatAlign as N, isContentConstructEnd as Nn, ContentSheetConditionalFormatStyleSchema as Nt, ContentEmbeddedObjectBlockSchema as O, clampHeadingLevel as On, ContentSheetColumn as Ot, ContentFloatAlignSchema as P, isContentConstructStart as Pn, ContentSheetConditionalFormatValue as Pt, ContentHatchStyleSchema as Q, ContentSheetSchema as Qt, ContentFloatOriginSchema as R, ContentSheetDataValidationType as Rt, ContentDocument as S, RUN_FONT_PROPERTY_SHAPE as Sn, ContentShapeSchema as St, ContentDrawPageSchema as T, RunConstructFault as Tn, ContentSheetCellComment as Tt, ContentFormula as U, ContentSheetPrintRangeSchema as Ut, ContentFont as V, ContentSheetImageSchema as Vt, ContentFormulaSchema as W, ContentSheetPrintSettings as Wt, ContentHatchFillSchema as X, ContentSheetRow as Xt, ContentHatchFill as Y, ContentSheetRepeatRangeSchema as Yt, ContentHatchStyle as Z, ContentSheetRowSchema as Zt, ContentConstructEndSchema as _, DecimalString as _n, ContentRun as _t, ContentBlockSchema as a, ContentStrokeStyle as an, ContentPageBreak as at, ContentDefinedName as b, IMAGE_FORMATS as bn, ContentSectionSchema as bt, ContentCellBorders as c, ContentSubpathSchema as cn, ContentPageFurnitureSchema as ct, ContentCellFillSchema as d, ContentTableCellSchema as dn, ContentParagraphBordersSchema as dt, ContentSlideSchema as en, ContentImageBlockSchema as et, ContentCellPatternType as f, ContentTableRow as fn, ContentParagraphSchema as ft, ContentConstructEnd as g, ContentVectorSchema as gn, ContentPathSegmentSchema as gt, ContentCellValueSchema as h, ContentVector as hn, ContentPathSegment as ht, ContentBlock as i, ContentStrokeSchema as in, ContentListMembershipSchema as it, ContentFillPattern as j, findRunConstructFault as jn, ContentSheetConditionalFormatSchema as jt, ContentEmbeddedObjectKind as k, contentDocumentSharedFields as kn, ContentSheetColumnSchema as kt, ContentCellBordersSchema as l, ContentTable as ln, ContentParagraph as lt, ContentCellValue as m, ContentTableSchema as mn, ContentPathPointSchema as mt, ContentBitmapFill as n, ContentStrokeDash as nn, ContentImageOriginalSchema as nt, ContentBorder as o, ContentStrokeStyleSchema as on, ContentPageBreakSchema as ot, ContentCellPatternTypeSchema as p, ContentTableRowSchema as pn, ContentPathPoint as pt, ContentGradientStyle as q, ContentSheetRangeSchema as qt, ContentBitmapFillSchema as r, ContentStrokeDashSchema as rn, ContentListMembership as rt, ContentBorderSchema as s, ContentSubpath as sn, ContentPageFurniture as st, ConstructMarkerImbalance as t, ContentStroke as tn, ContentImageOriginal as tt, ContentCellFill as u, ContentTableCell as un, ContentParagraphBorders as ut, ContentConstructStart as v, DecimalStringSchema as vn, ContentRunSchema as vt, ContentDrawPage as w, RunConstructExtentSchema as wn, ContentSheetCell as wt, ContentDefinedNameSchema as x, ImageFormat as xn, ContentShape as xt, ContentConstructStartSchema as y, FusedNode as yn, ContentSection as yt, ContentFloatPosition as z, ContentSheetDataValidationTypeSchema as zt };
|