document-model.js 3.1.0 → 3.3.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 +3 -3
- package/dist/content-json-schema-defs.cjs +289 -1
- package/dist/content-json-schema-defs.js +289 -1
- package/dist/content.cjs +12 -2
- package/dist/content.d.cts +256 -22
- package/dist/content.d.ts +256 -22
- package/dist/content.js +12 -2
- package/dist/index.cjs +21 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/math-B7gZJeND.d.cts +210 -0
- package/dist/math-B7gZJeND.d.ts +210 -0
- package/dist/math.cjs +152 -0
- package/dist/math.d.cts +2 -0
- package/dist/math.d.ts +2 -0
- package/dist/math.js +132 -0
- package/dist/package.d.cts +245 -20
- package/dist/package.d.ts +245 -20
- package/dist/schema-io.cjs +1 -1
- package/dist/schema-io.js +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +473 -20
- package/schemas/document-package.schema.json +2 -2
- package/schemas/layout-document.schema.json +1 -1
package/dist/content.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-B1oTCtzc.js";
|
|
2
|
+
import { s as MathExpression } from "./math-B7gZJeND.js";
|
|
2
3
|
import { n as Color } from "./color-AELCDH_b.js";
|
|
3
4
|
import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.js";
|
|
4
5
|
import { z } from "zod";
|
|
@@ -31,7 +32,7 @@ declare const ContentRunSchema: z.ZodObject<{
|
|
|
31
32
|
}, z.core.$strip>;
|
|
32
33
|
type ContentRun = z.infer<typeof ContentRunSchema>;
|
|
33
34
|
declare const ContentListMembershipSchema: z.ZodObject<{
|
|
34
|
-
numId: z.ZodString
|
|
35
|
+
numId: z.ZodOptional<z.ZodString>;
|
|
35
36
|
level: z.ZodNumber;
|
|
36
37
|
}, z.core.$strip>;
|
|
37
38
|
type ContentListMembership = z.infer<typeof ContentListMembershipSchema>;
|
|
@@ -69,7 +70,7 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
69
70
|
justify: "justify";
|
|
70
71
|
}>>;
|
|
71
72
|
list: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
numId: z.ZodString
|
|
73
|
+
numId: z.ZodOptional<z.ZodString>;
|
|
73
74
|
level: z.ZodNumber;
|
|
74
75
|
}, z.core.$strip>>;
|
|
75
76
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1553,22 +1554,19 @@ type ContentDrawPage = z.infer<typeof ContentDrawPageSchema>;
|
|
|
1553
1554
|
declare const ContentFormulaSchema: z.ZodObject<{
|
|
1554
1555
|
mathml: z.ZodArray<z.ZodCustom<MathMlNode, MathMlNode>>;
|
|
1555
1556
|
starMath: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
1558
|
+
latex: z.ZodString;
|
|
1559
|
+
}, z.core.$strip>>;
|
|
1560
|
+
content: z.ZodOptional<z.ZodCustom<MathExpression, MathExpression>>;
|
|
1561
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
1562
|
+
source: z.ZodString;
|
|
1563
|
+
pageRef: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
editTrail: z.ZodArray<z.ZodString>;
|
|
1565
|
+
}, z.core.$strip>>;
|
|
1556
1566
|
}, z.core.$strip>;
|
|
1557
1567
|
type ContentFormula = z.infer<typeof ContentFormulaSchema>;
|
|
1558
1568
|
declare const CONTENT_FORMAT_VERSION = 3;
|
|
1559
1569
|
declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1560
|
-
kind: z.ZodLiteral<"wordprocessing">;
|
|
1561
|
-
formatVersion: z.ZodLiteral<3>;
|
|
1562
|
-
metadata: z.ZodObject<{
|
|
1563
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1564
|
-
author: z.ZodOptional<z.ZodString>;
|
|
1565
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
1566
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1567
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
1568
|
-
producer: z.ZodOptional<z.ZodString>;
|
|
1569
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
1570
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
1571
|
-
}, z.core.$strip>;
|
|
1572
1570
|
sections: z.ZodArray<z.ZodObject<{
|
|
1573
1571
|
pageSize: z.ZodObject<{
|
|
1574
1572
|
widthPt: z.ZodNumber;
|
|
@@ -1582,8 +1580,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1582
1580
|
}, z.core.$strip>;
|
|
1583
1581
|
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
1584
1582
|
}, z.core.$strip>>;
|
|
1585
|
-
|
|
1586
|
-
|
|
1583
|
+
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
1584
|
+
symbols: z.ZodArray<z.ZodObject<{
|
|
1585
|
+
glyph: z.ZodString;
|
|
1586
|
+
scope: z.ZodString;
|
|
1587
|
+
id: z.ZodString;
|
|
1588
|
+
quantityKind: z.ZodOptional<z.ZodString>;
|
|
1589
|
+
preferredUnit: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
definitionSource: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1592
|
+
units: z.ZodArray<z.ZodObject<{
|
|
1593
|
+
id: z.ZodString;
|
|
1594
|
+
symbol: z.ZodString;
|
|
1595
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1597
|
+
time: "time";
|
|
1598
|
+
length: "length";
|
|
1599
|
+
mass: "mass";
|
|
1600
|
+
electricCurrent: "electricCurrent";
|
|
1601
|
+
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1602
|
+
amountOfSubstance: "amountOfSubstance";
|
|
1603
|
+
luminousIntensity: "luminousIntensity";
|
|
1604
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
1605
|
+
factorToSi: z.ZodObject<{
|
|
1606
|
+
numerator: z.ZodString;
|
|
1607
|
+
denominator: z.ZodString;
|
|
1608
|
+
}, z.core.$strip>;
|
|
1609
|
+
offsetToSi: z.ZodOptional<z.ZodObject<{
|
|
1610
|
+
numerator: z.ZodString;
|
|
1611
|
+
denominator: z.ZodString;
|
|
1612
|
+
}, z.core.$strip>>;
|
|
1613
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
}, z.core.$strip>>;
|
|
1615
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1616
|
+
id: z.ZodString;
|
|
1617
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
1618
|
+
unit: z.ZodString;
|
|
1619
|
+
value: z.ZodObject<{
|
|
1620
|
+
numerator: z.ZodString;
|
|
1621
|
+
denominator: z.ZodString;
|
|
1622
|
+
}, z.core.$strip>;
|
|
1623
|
+
}, z.core.$strip>>;
|
|
1624
|
+
}, z.core.$strip>>>;
|
|
1625
|
+
}, z.core.$strip>>;
|
|
1626
|
+
kind: z.ZodLiteral<"wordprocessing">;
|
|
1587
1627
|
formatVersion: z.ZodLiteral<3>;
|
|
1588
1628
|
metadata: z.ZodObject<{
|
|
1589
1629
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1595,6 +1635,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1595
1635
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
1596
1636
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
1597
1637
|
}, z.core.$strip>;
|
|
1638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1598
1639
|
slides: z.ZodArray<z.ZodObject<{
|
|
1599
1640
|
size: z.ZodObject<{
|
|
1600
1641
|
widthPt: z.ZodNumber;
|
|
@@ -1628,8 +1669,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1628
1669
|
}, z.core.$strip>>;
|
|
1629
1670
|
notes: z.ZodString;
|
|
1630
1671
|
}, z.core.$strip>>;
|
|
1631
|
-
|
|
1632
|
-
|
|
1672
|
+
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
1673
|
+
symbols: z.ZodArray<z.ZodObject<{
|
|
1674
|
+
glyph: z.ZodString;
|
|
1675
|
+
scope: z.ZodString;
|
|
1676
|
+
id: z.ZodString;
|
|
1677
|
+
quantityKind: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
preferredUnit: z.ZodOptional<z.ZodString>;
|
|
1679
|
+
definitionSource: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
}, z.core.$strip>>;
|
|
1681
|
+
units: z.ZodArray<z.ZodObject<{
|
|
1682
|
+
id: z.ZodString;
|
|
1683
|
+
symbol: z.ZodString;
|
|
1684
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1685
|
+
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1686
|
+
time: "time";
|
|
1687
|
+
length: "length";
|
|
1688
|
+
mass: "mass";
|
|
1689
|
+
electricCurrent: "electricCurrent";
|
|
1690
|
+
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1691
|
+
amountOfSubstance: "amountOfSubstance";
|
|
1692
|
+
luminousIntensity: "luminousIntensity";
|
|
1693
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
1694
|
+
factorToSi: z.ZodObject<{
|
|
1695
|
+
numerator: z.ZodString;
|
|
1696
|
+
denominator: z.ZodString;
|
|
1697
|
+
}, z.core.$strip>;
|
|
1698
|
+
offsetToSi: z.ZodOptional<z.ZodObject<{
|
|
1699
|
+
numerator: z.ZodString;
|
|
1700
|
+
denominator: z.ZodString;
|
|
1701
|
+
}, z.core.$strip>>;
|
|
1702
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
}, z.core.$strip>>;
|
|
1704
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1705
|
+
id: z.ZodString;
|
|
1706
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
1707
|
+
unit: z.ZodString;
|
|
1708
|
+
value: z.ZodObject<{
|
|
1709
|
+
numerator: z.ZodString;
|
|
1710
|
+
denominator: z.ZodString;
|
|
1711
|
+
}, z.core.$strip>;
|
|
1712
|
+
}, z.core.$strip>>;
|
|
1713
|
+
}, z.core.$strip>>>;
|
|
1714
|
+
}, z.core.$strip>>;
|
|
1715
|
+
kind: z.ZodLiteral<"presentation">;
|
|
1633
1716
|
formatVersion: z.ZodLiteral<3>;
|
|
1634
1717
|
metadata: z.ZodObject<{
|
|
1635
1718
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1641,6 +1724,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1641
1724
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
1642
1725
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
1643
1726
|
}, z.core.$strip>;
|
|
1727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1644
1728
|
sheets: z.ZodArray<z.ZodObject<{
|
|
1645
1729
|
name: z.ZodString;
|
|
1646
1730
|
cells: z.ZodArray<z.ZodObject<{
|
|
@@ -1875,8 +1959,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1875
1959
|
}, z.core.$strip>;
|
|
1876
1960
|
embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>>>;
|
|
1877
1961
|
}, z.core.$strip>>;
|
|
1878
|
-
|
|
1879
|
-
|
|
1962
|
+
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
1963
|
+
symbols: z.ZodArray<z.ZodObject<{
|
|
1964
|
+
glyph: z.ZodString;
|
|
1965
|
+
scope: z.ZodString;
|
|
1966
|
+
id: z.ZodString;
|
|
1967
|
+
quantityKind: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
preferredUnit: z.ZodOptional<z.ZodString>;
|
|
1969
|
+
definitionSource: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
}, z.core.$strip>>;
|
|
1971
|
+
units: z.ZodArray<z.ZodObject<{
|
|
1972
|
+
id: z.ZodString;
|
|
1973
|
+
symbol: z.ZodString;
|
|
1974
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1976
|
+
time: "time";
|
|
1977
|
+
length: "length";
|
|
1978
|
+
mass: "mass";
|
|
1979
|
+
electricCurrent: "electricCurrent";
|
|
1980
|
+
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1981
|
+
amountOfSubstance: "amountOfSubstance";
|
|
1982
|
+
luminousIntensity: "luminousIntensity";
|
|
1983
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
1984
|
+
factorToSi: z.ZodObject<{
|
|
1985
|
+
numerator: z.ZodString;
|
|
1986
|
+
denominator: z.ZodString;
|
|
1987
|
+
}, z.core.$strip>;
|
|
1988
|
+
offsetToSi: z.ZodOptional<z.ZodObject<{
|
|
1989
|
+
numerator: z.ZodString;
|
|
1990
|
+
denominator: z.ZodString;
|
|
1991
|
+
}, z.core.$strip>>;
|
|
1992
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
}, z.core.$strip>>;
|
|
1994
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1995
|
+
id: z.ZodString;
|
|
1996
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
1997
|
+
unit: z.ZodString;
|
|
1998
|
+
value: z.ZodObject<{
|
|
1999
|
+
numerator: z.ZodString;
|
|
2000
|
+
denominator: z.ZodString;
|
|
2001
|
+
}, z.core.$strip>;
|
|
2002
|
+
}, z.core.$strip>>;
|
|
2003
|
+
}, z.core.$strip>>>;
|
|
2004
|
+
}, z.core.$strip>>;
|
|
2005
|
+
kind: z.ZodLiteral<"spreadsheet">;
|
|
1880
2006
|
formatVersion: z.ZodLiteral<3>;
|
|
1881
2007
|
metadata: z.ZodObject<{
|
|
1882
2008
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1888,6 +2014,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1888
2014
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
1889
2015
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
1890
2016
|
}, z.core.$strip>;
|
|
2017
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1891
2018
|
pages: z.ZodArray<z.ZodObject<{
|
|
1892
2019
|
size: z.ZodObject<{
|
|
1893
2020
|
widthPt: z.ZodNumber;
|
|
@@ -2097,8 +2224,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2097
2224
|
}, z.core.$strip>>>;
|
|
2098
2225
|
}, z.core.$strip>], "kind">>;
|
|
2099
2226
|
}, z.core.$strip>>;
|
|
2100
|
-
|
|
2101
|
-
|
|
2227
|
+
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
2228
|
+
symbols: z.ZodArray<z.ZodObject<{
|
|
2229
|
+
glyph: z.ZodString;
|
|
2230
|
+
scope: z.ZodString;
|
|
2231
|
+
id: z.ZodString;
|
|
2232
|
+
quantityKind: z.ZodOptional<z.ZodString>;
|
|
2233
|
+
preferredUnit: z.ZodOptional<z.ZodString>;
|
|
2234
|
+
definitionSource: z.ZodOptional<z.ZodString>;
|
|
2235
|
+
}, z.core.$strip>>;
|
|
2236
|
+
units: z.ZodArray<z.ZodObject<{
|
|
2237
|
+
id: z.ZodString;
|
|
2238
|
+
symbol: z.ZodString;
|
|
2239
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2240
|
+
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2241
|
+
time: "time";
|
|
2242
|
+
length: "length";
|
|
2243
|
+
mass: "mass";
|
|
2244
|
+
electricCurrent: "electricCurrent";
|
|
2245
|
+
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2246
|
+
amountOfSubstance: "amountOfSubstance";
|
|
2247
|
+
luminousIntensity: "luminousIntensity";
|
|
2248
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
2249
|
+
factorToSi: z.ZodObject<{
|
|
2250
|
+
numerator: z.ZodString;
|
|
2251
|
+
denominator: z.ZodString;
|
|
2252
|
+
}, z.core.$strip>;
|
|
2253
|
+
offsetToSi: z.ZodOptional<z.ZodObject<{
|
|
2254
|
+
numerator: z.ZodString;
|
|
2255
|
+
denominator: z.ZodString;
|
|
2256
|
+
}, z.core.$strip>>;
|
|
2257
|
+
context: z.ZodOptional<z.ZodString>;
|
|
2258
|
+
}, z.core.$strip>>;
|
|
2259
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2260
|
+
id: z.ZodString;
|
|
2261
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
2262
|
+
unit: z.ZodString;
|
|
2263
|
+
value: z.ZodObject<{
|
|
2264
|
+
numerator: z.ZodString;
|
|
2265
|
+
denominator: z.ZodString;
|
|
2266
|
+
}, z.core.$strip>;
|
|
2267
|
+
}, z.core.$strip>>;
|
|
2268
|
+
}, z.core.$strip>>>;
|
|
2269
|
+
}, z.core.$strip>>;
|
|
2270
|
+
kind: z.ZodLiteral<"drawing">;
|
|
2102
2271
|
formatVersion: z.ZodLiteral<3>;
|
|
2103
2272
|
metadata: z.ZodObject<{
|
|
2104
2273
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2110,9 +2279,74 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2110
2279
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
2111
2280
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
2112
2281
|
}, z.core.$strip>;
|
|
2282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2113
2283
|
formula: z.ZodObject<{
|
|
2114
2284
|
mathml: z.ZodArray<z.ZodCustom<MathMlNode, MathMlNode>>;
|
|
2115
2285
|
starMath: z.ZodOptional<z.ZodString>;
|
|
2286
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
2287
|
+
latex: z.ZodString;
|
|
2288
|
+
}, z.core.$strip>>;
|
|
2289
|
+
content: z.ZodOptional<z.ZodCustom<MathExpression, MathExpression>>;
|
|
2290
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
2291
|
+
source: z.ZodString;
|
|
2292
|
+
pageRef: z.ZodOptional<z.ZodString>;
|
|
2293
|
+
editTrail: z.ZodArray<z.ZodString>;
|
|
2294
|
+
}, z.core.$strip>>;
|
|
2295
|
+
}, z.core.$strip>;
|
|
2296
|
+
symbolTable: z.ZodOptional<z.ZodObject<{
|
|
2297
|
+
symbols: z.ZodArray<z.ZodObject<{
|
|
2298
|
+
glyph: z.ZodString;
|
|
2299
|
+
scope: z.ZodString;
|
|
2300
|
+
id: z.ZodString;
|
|
2301
|
+
quantityKind: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
preferredUnit: z.ZodOptional<z.ZodString>;
|
|
2303
|
+
definitionSource: z.ZodOptional<z.ZodString>;
|
|
2304
|
+
}, z.core.$strip>>;
|
|
2305
|
+
units: z.ZodArray<z.ZodObject<{
|
|
2306
|
+
id: z.ZodString;
|
|
2307
|
+
symbol: z.ZodString;
|
|
2308
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2309
|
+
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2310
|
+
time: "time";
|
|
2311
|
+
length: "length";
|
|
2312
|
+
mass: "mass";
|
|
2313
|
+
electricCurrent: "electricCurrent";
|
|
2314
|
+
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2315
|
+
amountOfSubstance: "amountOfSubstance";
|
|
2316
|
+
luminousIntensity: "luminousIntensity";
|
|
2317
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
2318
|
+
factorToSi: z.ZodObject<{
|
|
2319
|
+
numerator: z.ZodString;
|
|
2320
|
+
denominator: z.ZodString;
|
|
2321
|
+
}, z.core.$strip>;
|
|
2322
|
+
offsetToSi: z.ZodOptional<z.ZodObject<{
|
|
2323
|
+
numerator: z.ZodString;
|
|
2324
|
+
denominator: z.ZodString;
|
|
2325
|
+
}, z.core.$strip>>;
|
|
2326
|
+
context: z.ZodOptional<z.ZodString>;
|
|
2327
|
+
}, z.core.$strip>>;
|
|
2328
|
+
contexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2329
|
+
id: z.ZodString;
|
|
2330
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
2331
|
+
unit: z.ZodString;
|
|
2332
|
+
value: z.ZodObject<{
|
|
2333
|
+
numerator: z.ZodString;
|
|
2334
|
+
denominator: z.ZodString;
|
|
2335
|
+
}, z.core.$strip>;
|
|
2336
|
+
}, z.core.$strip>>;
|
|
2337
|
+
}, z.core.$strip>>>;
|
|
2338
|
+
}, z.core.$strip>>;
|
|
2339
|
+
kind: z.ZodLiteral<"formula">;
|
|
2340
|
+
formatVersion: z.ZodLiteral<3>;
|
|
2341
|
+
metadata: z.ZodObject<{
|
|
2342
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
author: z.ZodOptional<z.ZodString>;
|
|
2344
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2346
|
+
creator: z.ZodOptional<z.ZodString>;
|
|
2347
|
+
producer: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
createdIso: z.ZodOptional<z.ZodString>;
|
|
2349
|
+
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
2116
2350
|
}, z.core.$strip>;
|
|
2117
2351
|
}, z.core.$strip>], "kind">;
|
|
2118
2352
|
type ContentDocument = z.infer<typeof ContentDocumentSchema>;
|
package/dist/content.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColorSchema } from "./color.js";
|
|
2
|
+
import { MathExpressionSchema, MathPresentationSchema, MathProvenanceSchema, SymbolTableSchema } from "./math.js";
|
|
2
3
|
import { BoxSchema, LayoutFrameSchema, MarginsSchema, PageSizeSchema } from "./geometry.js";
|
|
3
4
|
import { MathMlNodeSchema } from "./mathml.js";
|
|
4
5
|
import { LayoutMetadataSchema } from "./metadata.js";
|
|
@@ -19,7 +20,7 @@ const ContentRunSchema = z.object({
|
|
|
19
20
|
frames: z.array(LayoutFrameSchema).optional()
|
|
20
21
|
});
|
|
21
22
|
const ContentListMembershipSchema = z.object({
|
|
22
|
-
numId: z.string(),
|
|
23
|
+
numId: z.string().optional(),
|
|
23
24
|
level: z.number().int().nonnegative()
|
|
24
25
|
});
|
|
25
26
|
const ContentParagraphSchema = z.object({
|
|
@@ -352,38 +353,47 @@ const ContentDrawPageSchema = z.object({
|
|
|
352
353
|
});
|
|
353
354
|
const ContentFormulaSchema = z.object({
|
|
354
355
|
mathml: z.array(MathMlNodeSchema),
|
|
355
|
-
starMath: z.string().optional()
|
|
356
|
+
starMath: z.string().optional(),
|
|
357
|
+
presentation: MathPresentationSchema.optional(),
|
|
358
|
+
content: MathExpressionSchema.optional(),
|
|
359
|
+
provenance: MathProvenanceSchema.optional()
|
|
356
360
|
});
|
|
357
361
|
const CONTENT_FORMAT_VERSION = 3;
|
|
362
|
+
const contentDocumentSharedFields = { symbolTable: SymbolTableSchema.optional() };
|
|
358
363
|
const ContentDocumentSchema = z.discriminatedUnion("kind", [
|
|
359
364
|
z.object({
|
|
360
365
|
kind: z.literal("wordprocessing"),
|
|
361
366
|
formatVersion: z.literal(3),
|
|
362
367
|
metadata: LayoutMetadataSchema,
|
|
368
|
+
...contentDocumentSharedFields,
|
|
363
369
|
sections: z.array(ContentSectionSchema)
|
|
364
370
|
}),
|
|
365
371
|
z.object({
|
|
366
372
|
kind: z.literal("presentation"),
|
|
367
373
|
formatVersion: z.literal(3),
|
|
368
374
|
metadata: LayoutMetadataSchema,
|
|
375
|
+
...contentDocumentSharedFields,
|
|
369
376
|
slides: z.array(ContentSlideSchema)
|
|
370
377
|
}),
|
|
371
378
|
z.object({
|
|
372
379
|
kind: z.literal("spreadsheet"),
|
|
373
380
|
formatVersion: z.literal(3),
|
|
374
381
|
metadata: LayoutMetadataSchema,
|
|
382
|
+
...contentDocumentSharedFields,
|
|
375
383
|
sheets: z.array(ContentSheetSchema)
|
|
376
384
|
}),
|
|
377
385
|
z.object({
|
|
378
386
|
kind: z.literal("drawing"),
|
|
379
387
|
formatVersion: z.literal(3),
|
|
380
388
|
metadata: LayoutMetadataSchema,
|
|
389
|
+
...contentDocumentSharedFields,
|
|
381
390
|
pages: z.array(ContentDrawPageSchema)
|
|
382
391
|
}),
|
|
383
392
|
z.object({
|
|
384
393
|
kind: z.literal("formula"),
|
|
385
394
|
formatVersion: z.literal(3),
|
|
386
395
|
metadata: LayoutMetadataSchema,
|
|
396
|
+
...contentDocumentSharedFields,
|
|
387
397
|
formula: ContentFormulaSchema
|
|
388
398
|
})
|
|
389
399
|
]);
|
package/dist/index.cjs
CHANGED
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_a1 = require("./a1.cjs");
|
|
3
3
|
require("./codec.cjs");
|
|
4
4
|
const require_color = require("./color.cjs");
|
|
5
|
+
const require_math = require("./math.cjs");
|
|
5
6
|
const require_geometry = require("./geometry.cjs");
|
|
6
7
|
const require_mathml = require("./mathml.cjs");
|
|
7
8
|
const require_metadata = require("./metadata.cjs");
|
|
@@ -59,8 +60,10 @@ exports.ContentVectorSchema = require_content.ContentVectorSchema;
|
|
|
59
60
|
exports.DEFAULT_LAYOUT_FONT = require_style.DEFAULT_LAYOUT_FONT;
|
|
60
61
|
exports.DOCUMENT_PACKAGE_FORMAT_VERSION = require_package.DOCUMENT_PACKAGE_FORMAT_VERSION;
|
|
61
62
|
exports.DecimalStringSchema = require_content.DecimalStringSchema;
|
|
63
|
+
exports.DimensionVectorSchema = require_math.DimensionVectorSchema;
|
|
62
64
|
exports.DocumentPackageSchema = require_package.DocumentPackageSchema;
|
|
63
65
|
exports.EMBEDDED_OBJECT_KINDS = require_content_json_schema_defs.EMBEDDED_OBJECT_KINDS;
|
|
66
|
+
exports.ExactRationalSchema = require_math.ExactRationalSchema;
|
|
64
67
|
exports.LAYOUT_FORMAT_VERSION = require_layout.LAYOUT_FORMAT_VERSION;
|
|
65
68
|
exports.LayoutDocumentSchema = require_layout.LayoutDocumentSchema;
|
|
66
69
|
exports.LayoutEllipseSchema = require_layout.LayoutEllipseSchema;
|
|
@@ -80,6 +83,9 @@ exports.LayoutSubpathSchema = require_layout.LayoutSubpathSchema;
|
|
|
80
83
|
exports.LayoutTextSchema = require_layout.LayoutTextSchema;
|
|
81
84
|
exports.MAX_SAFE_INTEGER = require_content_json_schema_defs.MAX_SAFE_INTEGER;
|
|
82
85
|
exports.MarginsSchema = require_geometry.MarginsSchema;
|
|
86
|
+
exports.MathAppSchema = require_math.MathAppSchema;
|
|
87
|
+
exports.MathExpressionSchema = require_math.MathExpressionSchema;
|
|
88
|
+
exports.MathMatrixSchema = require_math.MathMatrixSchema;
|
|
83
89
|
exports.MathMlAttributeSchema = require_mathml.MathMlAttributeSchema;
|
|
84
90
|
exports.MathMlCdataSchema = require_mathml.MathMlCdataSchema;
|
|
85
91
|
exports.MathMlCommentSchema = require_mathml.MathMlCommentSchema;
|
|
@@ -88,12 +94,26 @@ exports.MathMlElementSchema = require_mathml.MathMlElementSchema;
|
|
|
88
94
|
exports.MathMlNodeSchema = require_mathml.MathMlNodeSchema;
|
|
89
95
|
exports.MathMlPiSchema = require_mathml.MathMlPiSchema;
|
|
90
96
|
exports.MathMlTextSchema = require_mathml.MathMlTextSchema;
|
|
97
|
+
exports.MathNormalisationContextSchema = require_math.MathNormalisationContextSchema;
|
|
98
|
+
exports.MathNumSchema = require_math.MathNumSchema;
|
|
99
|
+
exports.MathPresentationSchema = require_math.MathPresentationSchema;
|
|
100
|
+
exports.MathProdSchema = require_math.MathProdSchema;
|
|
101
|
+
exports.MathProvenanceSchema = require_math.MathProvenanceSchema;
|
|
102
|
+
exports.MathQtySchema = require_math.MathQtySchema;
|
|
103
|
+
exports.MathSumSchema = require_math.MathSumSchema;
|
|
104
|
+
exports.MathSymSchema = require_math.MathSymSchema;
|
|
105
|
+
exports.MathSymbolEntrySchema = require_math.MathSymbolEntrySchema;
|
|
106
|
+
exports.MathUncertaintySchema = require_math.MathUncertaintySchema;
|
|
107
|
+
exports.MathUnitSchema = require_math.MathUnitSchema;
|
|
108
|
+
exports.MathUnparsedSchema = require_math.MathUnparsedSchema;
|
|
91
109
|
exports.PAGE_SIZE_A4 = require_geometry.PAGE_SIZE_A4;
|
|
92
110
|
exports.PAGE_SIZE_LETTER = require_geometry.PAGE_SIZE_LETTER;
|
|
93
111
|
exports.PageSizeSchema = require_geometry.PageSizeSchema;
|
|
94
112
|
exports.SCHEMA_FILE_NAMES = require_schema_io.SCHEMA_FILE_NAMES;
|
|
113
|
+
exports.SI_BASE_DIMENSIONS = require_math.SI_BASE_DIMENSIONS;
|
|
95
114
|
exports.SLIDE_SIZE_STANDARD = require_geometry.SLIDE_SIZE_STANDARD;
|
|
96
115
|
exports.SLIDE_SIZE_WIDESCREEN = require_geometry.SLIDE_SIZE_WIDESCREEN;
|
|
116
|
+
exports.SymbolTableSchema = require_math.SymbolTableSchema;
|
|
97
117
|
exports.UnrecognizedDocumentSchemaError = require_schema_io.UnrecognizedDocumentSchemaError;
|
|
98
118
|
exports.cellReference = require_a1.cellReference;
|
|
99
119
|
exports.clampHeadingLevel = require_content.clampHeadingLevel;
|
|
@@ -105,6 +125,7 @@ exports.documentFromJson = require_schema_io.documentFromJson;
|
|
|
105
125
|
exports.documentPackageWithSchema = require_schema_io.documentPackageWithSchema;
|
|
106
126
|
exports.documentSchemaKindOf = require_schema_io.documentSchemaKindOf;
|
|
107
127
|
exports.isContentBlock = require_content.isContentBlock;
|
|
128
|
+
exports.isMathExpression = require_math.isMathExpression;
|
|
108
129
|
exports.isMathMlNode = require_mathml.isMathMlNode;
|
|
109
130
|
exports.layoutDocumentWithSchema = require_schema_io.layoutDocumentWithSchema;
|
|
110
131
|
exports.parseCellReference = require_a1.parseCellReference;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.cjs";
|
|
2
2
|
import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-B1oTCtzc.cjs";
|
|
3
|
+
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.cjs";
|
|
3
4
|
import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.cjs";
|
|
4
5
|
import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.cjs";
|
|
5
6
|
import { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, isContentBlock } from "./content.cjs";
|
|
@@ -13,4 +14,4 @@ import { DOCUMENT_PACKAGE_FORMAT_VERSION, DocumentPackage, DocumentPackageSchema
|
|
|
13
14
|
import { ContentDocumentJson, DocumentJsonResult, DocumentPackageJson, DocumentSchemaKind, LayoutDocumentJson, SCHEMA_FILE_NAMES, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, layoutDocumentWithSchema, schemaUriFor } from "./schema-io.cjs";
|
|
14
15
|
import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.cjs";
|
|
15
16
|
import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.cjs";
|
|
16
|
-
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CONTENT_FORMAT_VERSION, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DOCUMENT_PACKAGE_FORMAT_VERSION, DecimalString, DecimalStringSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, EMBEDDED_OBJECT_KINDS, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, LAYOUT_FORMAT_VERSION, LayoutCodec, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isMathMlNode, layoutDocumentWithSchema, parseCellReference, parseRangeReference, rangeReference, rgbHexToColor, schemaUriFor };
|
|
17
|
+
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CONTENT_FORMAT_VERSION, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DOCUMENT_PACKAGE_FORMAT_VERSION, DecimalString, DecimalStringSchema, DimensionVector, DimensionVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, LAYOUT_FORMAT_VERSION, LayoutCodec, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, MathAssembledGlyphs, MathBox, MathColor, MathExpression, MathExpressionSchema, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SiBaseDimension, StyledFragment, StyledRun, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isMathExpression, isMathMlNode, layoutDocumentWithSchema, parseCellReference, parseRangeReference, rangeReference, rgbHexToColor, schemaUriFor };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.js";
|
|
2
2
|
import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-B1oTCtzc.js";
|
|
3
|
+
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-B7gZJeND.js";
|
|
3
4
|
import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.js";
|
|
4
5
|
import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.js";
|
|
5
6
|
import { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, isContentBlock } from "./content.js";
|
|
@@ -13,4 +14,4 @@ import { DOCUMENT_PACKAGE_FORMAT_VERSION, DocumentPackage, DocumentPackageSchema
|
|
|
13
14
|
import { ContentDocumentJson, DocumentJsonResult, DocumentPackageJson, DocumentSchemaKind, LayoutDocumentJson, SCHEMA_FILE_NAMES, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, layoutDocumentWithSchema, schemaUriFor } from "./schema-io.js";
|
|
14
15
|
import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.js";
|
|
15
16
|
import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.js";
|
|
16
|
-
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CONTENT_FORMAT_VERSION, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DOCUMENT_PACKAGE_FORMAT_VERSION, DecimalString, DecimalStringSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, EMBEDDED_OBJECT_KINDS, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, LAYOUT_FORMAT_VERSION, LayoutCodec, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isMathMlNode, layoutDocumentWithSchema, parseCellReference, parseRangeReference, rangeReference, rgbHexToColor, schemaUriFor };
|
|
17
|
+
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CONTENT_FORMAT_VERSION, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DOCUMENT_PACKAGE_FORMAT_VERSION, DecimalString, DecimalStringSchema, DimensionVector, DimensionVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, LAYOUT_FORMAT_VERSION, LayoutCodec, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutMetadata, LayoutMetadataSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, MathAssembledGlyphs, MathBox, MathColor, MathExpression, MathExpressionSchema, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SiBaseDimension, StyledFragment, StyledRun, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isMathExpression, isMathMlNode, layoutDocumentWithSchema, parseCellReference, parseRangeReference, rangeReference, rgbHexToColor, schemaUriFor };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.js";
|
|
2
2
|
import "./codec.js";
|
|
3
3
|
import { COLOR_BLACK, ColorSchema, colorToRgbHex, rgbHexToColor } from "./color.js";
|
|
4
|
+
import { DimensionVectorSchema, ExactRationalSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, SI_BASE_DIMENSIONS, SymbolTableSchema, isMathExpression } from "./math.js";
|
|
4
5
|
import { BoxSchema, LayoutFrameSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN } from "./geometry.js";
|
|
5
6
|
import { MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, isMathMlNode } from "./mathml.js";
|
|
6
7
|
import { LayoutMetadataSchema } from "./metadata.js";
|
|
@@ -13,4 +14,4 @@ import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INT
|
|
|
13
14
|
import "./font-port.js";
|
|
14
15
|
import "./text-layout.js";
|
|
15
16
|
import "./math-layout.js";
|
|
16
|
-
export { AlignmentSchema, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CONTENT_FORMAT_VERSION, ColorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DOCUMENT_PACKAGE_FORMAT_VERSION, DecimalStringSchema, DocumentPackageSchema, EMBEDDED_OBJECT_KINDS, LAYOUT_FORMAT_VERSION, LayoutDocumentSchema, LayoutEllipseSchema, LayoutFontSchema, LayoutFrameSchema, LayoutImageAssetSchema, LayoutImageSchema, LayoutItemSchema, LayoutLineSchema, LayoutLinkSchema, LayoutMetadataSchema, LayoutPageSchema, LayoutPathSchema, LayoutPathSegmentSchema, LayoutRectSchema, LayoutSubpathSchema, LayoutTextSchema, MAX_SAFE_INTEGER, MarginsSchema, MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SCHEMA_FILE_NAMES, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, UnrecognizedDocumentSchemaError, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isMathMlNode, layoutDocumentWithSchema, parseCellReference, parseRangeReference, rangeReference, rgbHexToColor, schemaUriFor };
|
|
17
|
+
export { AlignmentSchema, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CONTENT_FORMAT_VERSION, ColorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DOCUMENT_PACKAGE_FORMAT_VERSION, DecimalStringSchema, DimensionVectorSchema, DocumentPackageSchema, EMBEDDED_OBJECT_KINDS, ExactRationalSchema, LAYOUT_FORMAT_VERSION, LayoutDocumentSchema, LayoutEllipseSchema, LayoutFontSchema, LayoutFrameSchema, LayoutImageAssetSchema, LayoutImageSchema, LayoutItemSchema, LayoutLineSchema, LayoutLinkSchema, LayoutMetadataSchema, LayoutPageSchema, LayoutPathSchema, LayoutPathSegmentSchema, LayoutRectSchema, LayoutSubpathSchema, LayoutTextSchema, MAX_SAFE_INTEGER, MarginsSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SymbolTableSchema, UnrecognizedDocumentSchemaError, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isMathExpression, isMathMlNode, layoutDocumentWithSchema, parseCellReference, parseRangeReference, rangeReference, rgbHexToColor, schemaUriFor };
|