document-schema 3.0.0 → 3.2.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/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";
@@ -599,6 +600,16 @@ declare const ContentCellValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
599
600
  kind: z.ZodLiteral<"empty">;
600
601
  }, z.core.$strip>], "kind">;
601
602
  type ContentCellValue = z.infer<typeof ContentCellValueSchema>;
603
+ declare const ContentSheetCellCommentSchema: z.ZodObject<{
604
+ text: z.ZodString;
605
+ author: z.ZodOptional<z.ZodString>;
606
+ createdAt: z.ZodOptional<z.ZodString>;
607
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
608
+ text: z.ZodString;
609
+ author: z.ZodOptional<z.ZodString>;
610
+ }, z.core.$strip>>>;
611
+ }, z.core.$strip>;
612
+ type ContentSheetCellComment = z.infer<typeof ContentSheetCellCommentSchema>;
602
613
  declare const ContentSheetCellSchema: z.ZodObject<{
603
614
  row: z.ZodNumber;
604
615
  column: z.ZodNumber;
@@ -737,6 +748,15 @@ declare const ContentSheetCellSchema: z.ZodObject<{
737
748
  bottom: "bottom";
738
749
  middle: "middle";
739
750
  }>>;
751
+ comment: z.ZodOptional<z.ZodObject<{
752
+ text: z.ZodString;
753
+ author: z.ZodOptional<z.ZodString>;
754
+ createdAt: z.ZodOptional<z.ZodString>;
755
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
756
+ text: z.ZodString;
757
+ author: z.ZodOptional<z.ZodString>;
758
+ }, z.core.$strip>>>;
759
+ }, z.core.$strip>>;
740
760
  sourcePath: z.ZodOptional<z.ZodString>;
741
761
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
742
762
  pageIndex: z.ZodNumber;
@@ -977,6 +997,15 @@ declare const ContentSheetSchema: z.ZodObject<{
977
997
  bottom: "bottom";
978
998
  middle: "middle";
979
999
  }>>;
1000
+ comment: z.ZodOptional<z.ZodObject<{
1001
+ text: z.ZodString;
1002
+ author: z.ZodOptional<z.ZodString>;
1003
+ createdAt: z.ZodOptional<z.ZodString>;
1004
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1005
+ text: z.ZodString;
1006
+ author: z.ZodOptional<z.ZodString>;
1007
+ }, z.core.$strip>>>;
1008
+ }, z.core.$strip>>;
980
1009
  sourcePath: z.ZodOptional<z.ZodString>;
981
1010
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
982
1011
  pageIndex: z.ZodNumber;
@@ -1525,22 +1554,19 @@ type ContentDrawPage = z.infer<typeof ContentDrawPageSchema>;
1525
1554
  declare const ContentFormulaSchema: z.ZodObject<{
1526
1555
  mathml: z.ZodArray<z.ZodCustom<MathMlNode, MathMlNode>>;
1527
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>>;
1528
1566
  }, z.core.$strip>;
1529
1567
  type ContentFormula = z.infer<typeof ContentFormulaSchema>;
1530
1568
  declare const CONTENT_FORMAT_VERSION = 3;
1531
1569
  declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1532
- kind: z.ZodLiteral<"wordprocessing">;
1533
- formatVersion: z.ZodLiteral<3>;
1534
- metadata: z.ZodObject<{
1535
- title: z.ZodOptional<z.ZodString>;
1536
- author: z.ZodOptional<z.ZodString>;
1537
- subject: z.ZodOptional<z.ZodString>;
1538
- keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1539
- creator: z.ZodOptional<z.ZodString>;
1540
- producer: z.ZodOptional<z.ZodString>;
1541
- createdIso: z.ZodOptional<z.ZodString>;
1542
- modifiedIso: z.ZodOptional<z.ZodString>;
1543
- }, z.core.$strip>;
1544
1570
  sections: z.ZodArray<z.ZodObject<{
1545
1571
  pageSize: z.ZodObject<{
1546
1572
  widthPt: z.ZodNumber;
@@ -1554,8 +1580,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1554
1580
  }, z.core.$strip>;
1555
1581
  blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
1556
1582
  }, z.core.$strip>>;
1557
- }, z.core.$strip>, z.ZodObject<{
1558
- kind: z.ZodLiteral<"presentation">;
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">;
1559
1627
  formatVersion: z.ZodLiteral<3>;
1560
1628
  metadata: z.ZodObject<{
1561
1629
  title: z.ZodOptional<z.ZodString>;
@@ -1567,6 +1635,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1567
1635
  createdIso: z.ZodOptional<z.ZodString>;
1568
1636
  modifiedIso: z.ZodOptional<z.ZodString>;
1569
1637
  }, z.core.$strip>;
1638
+ }, z.core.$strip>, z.ZodObject<{
1570
1639
  slides: z.ZodArray<z.ZodObject<{
1571
1640
  size: z.ZodObject<{
1572
1641
  widthPt: z.ZodNumber;
@@ -1600,8 +1669,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1600
1669
  }, z.core.$strip>>;
1601
1670
  notes: z.ZodString;
1602
1671
  }, z.core.$strip>>;
1603
- }, z.core.$strip>, z.ZodObject<{
1604
- kind: z.ZodLiteral<"spreadsheet">;
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">;
1605
1716
  formatVersion: z.ZodLiteral<3>;
1606
1717
  metadata: z.ZodObject<{
1607
1718
  title: z.ZodOptional<z.ZodString>;
@@ -1613,6 +1724,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1613
1724
  createdIso: z.ZodOptional<z.ZodString>;
1614
1725
  modifiedIso: z.ZodOptional<z.ZodString>;
1615
1726
  }, z.core.$strip>;
1727
+ }, z.core.$strip>, z.ZodObject<{
1616
1728
  sheets: z.ZodArray<z.ZodObject<{
1617
1729
  name: z.ZodString;
1618
1730
  cells: z.ZodArray<z.ZodObject<{
@@ -1753,6 +1865,15 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1753
1865
  bottom: "bottom";
1754
1866
  middle: "middle";
1755
1867
  }>>;
1868
+ comment: z.ZodOptional<z.ZodObject<{
1869
+ text: z.ZodString;
1870
+ author: z.ZodOptional<z.ZodString>;
1871
+ createdAt: z.ZodOptional<z.ZodString>;
1872
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1873
+ text: z.ZodString;
1874
+ author: z.ZodOptional<z.ZodString>;
1875
+ }, z.core.$strip>>>;
1876
+ }, z.core.$strip>>;
1756
1877
  sourcePath: z.ZodOptional<z.ZodString>;
1757
1878
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1758
1879
  pageIndex: z.ZodNumber;
@@ -1838,8 +1959,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1838
1959
  }, z.core.$strip>;
1839
1960
  embeddedObjects: z.ZodOptional<z.ZodArray<z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>>>;
1840
1961
  }, z.core.$strip>>;
1841
- }, z.core.$strip>, z.ZodObject<{
1842
- kind: z.ZodLiteral<"drawing">;
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">;
1843
2006
  formatVersion: z.ZodLiteral<3>;
1844
2007
  metadata: z.ZodObject<{
1845
2008
  title: z.ZodOptional<z.ZodString>;
@@ -1851,6 +2014,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1851
2014
  createdIso: z.ZodOptional<z.ZodString>;
1852
2015
  modifiedIso: z.ZodOptional<z.ZodString>;
1853
2016
  }, z.core.$strip>;
2017
+ }, z.core.$strip>, z.ZodObject<{
1854
2018
  pages: z.ZodArray<z.ZodObject<{
1855
2019
  size: z.ZodObject<{
1856
2020
  widthPt: z.ZodNumber;
@@ -2060,8 +2224,50 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2060
2224
  }, z.core.$strip>>>;
2061
2225
  }, z.core.$strip>], "kind">>;
2062
2226
  }, z.core.$strip>>;
2063
- }, z.core.$strip>, z.ZodObject<{
2064
- kind: z.ZodLiteral<"formula">;
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">;
2065
2271
  formatVersion: z.ZodLiteral<3>;
2066
2272
  metadata: z.ZodObject<{
2067
2273
  title: z.ZodOptional<z.ZodString>;
@@ -2073,11 +2279,76 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2073
2279
  createdIso: z.ZodOptional<z.ZodString>;
2074
2280
  modifiedIso: z.ZodOptional<z.ZodString>;
2075
2281
  }, z.core.$strip>;
2282
+ }, z.core.$strip>, z.ZodObject<{
2076
2283
  formula: z.ZodObject<{
2077
2284
  mathml: z.ZodArray<z.ZodCustom<MathMlNode, MathMlNode>>;
2078
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>;
2079
2350
  }, z.core.$strip>;
2080
2351
  }, z.core.$strip>], "kind">;
2081
2352
  type ContentDocument = z.infer<typeof ContentDocumentSchema>;
2082
2353
  //#endregion
2083
- export { 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, 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 };
2354
+ export { 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 };
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";
@@ -195,6 +196,15 @@ const ContentCellValueSchema = z.discriminatedUnion("kind", [
195
196
  }),
196
197
  z.object({ kind: z.literal("empty") })
197
198
  ]);
199
+ const ContentSheetCellCommentSchema = z.object({
200
+ text: z.string(),
201
+ author: z.string().optional(),
202
+ createdAt: z.string().optional(),
203
+ replies: z.array(z.object({
204
+ text: z.string(),
205
+ author: z.string().optional()
206
+ })).optional()
207
+ });
198
208
  const ContentSheetCellSchema = z.object({
199
209
  row: z.number().int().nonnegative(),
200
210
  column: z.number().int().nonnegative(),
@@ -212,6 +222,7 @@ const ContentSheetCellSchema = z.object({
212
222
  "middle",
213
223
  "bottom"
214
224
  ]).optional(),
225
+ comment: ContentSheetCellCommentSchema.optional(),
215
226
  sourcePath: z.string().optional(),
216
227
  frames: z.array(LayoutFrameSchema).optional()
217
228
  });
@@ -342,40 +353,49 @@ const ContentDrawPageSchema = z.object({
342
353
  });
343
354
  const ContentFormulaSchema = z.object({
344
355
  mathml: z.array(MathMlNodeSchema),
345
- starMath: z.string().optional()
356
+ starMath: z.string().optional(),
357
+ presentation: MathPresentationSchema.optional(),
358
+ content: MathExpressionSchema.optional(),
359
+ provenance: MathProvenanceSchema.optional()
346
360
  });
347
361
  const CONTENT_FORMAT_VERSION = 3;
362
+ const contentDocumentSharedFields = { symbolTable: SymbolTableSchema.optional() };
348
363
  const ContentDocumentSchema = z.discriminatedUnion("kind", [
349
364
  z.object({
350
365
  kind: z.literal("wordprocessing"),
351
366
  formatVersion: z.literal(3),
352
367
  metadata: LayoutMetadataSchema,
368
+ ...contentDocumentSharedFields,
353
369
  sections: z.array(ContentSectionSchema)
354
370
  }),
355
371
  z.object({
356
372
  kind: z.literal("presentation"),
357
373
  formatVersion: z.literal(3),
358
374
  metadata: LayoutMetadataSchema,
375
+ ...contentDocumentSharedFields,
359
376
  slides: z.array(ContentSlideSchema)
360
377
  }),
361
378
  z.object({
362
379
  kind: z.literal("spreadsheet"),
363
380
  formatVersion: z.literal(3),
364
381
  metadata: LayoutMetadataSchema,
382
+ ...contentDocumentSharedFields,
365
383
  sheets: z.array(ContentSheetSchema)
366
384
  }),
367
385
  z.object({
368
386
  kind: z.literal("drawing"),
369
387
  formatVersion: z.literal(3),
370
388
  metadata: LayoutMetadataSchema,
389
+ ...contentDocumentSharedFields,
371
390
  pages: z.array(ContentDrawPageSchema)
372
391
  }),
373
392
  z.object({
374
393
  kind: z.literal("formula"),
375
394
  formatVersion: z.literal(3),
376
395
  metadata: LayoutMetadataSchema,
396
+ ...contentDocumentSharedFields,
377
397
  formula: ContentFormulaSchema
378
398
  })
379
399
  ]);
380
400
  //#endregion
381
- export { CONTENT_FORMAT_VERSION, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, clampHeadingLevel, isContentBlock };
401
+ export { CONTENT_FORMAT_VERSION, 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, DecimalStringSchema, clampHeadingLevel, isContentBlock };
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");
@@ -39,6 +40,7 @@ exports.ContentPathSegmentSchema = require_content.ContentPathSegmentSchema;
39
40
  exports.ContentRunSchema = require_content.ContentRunSchema;
40
41
  exports.ContentSectionSchema = require_content.ContentSectionSchema;
41
42
  exports.ContentShapeSchema = require_content.ContentShapeSchema;
43
+ exports.ContentSheetCellCommentSchema = require_content.ContentSheetCellCommentSchema;
42
44
  exports.ContentSheetCellSchema = require_content.ContentSheetCellSchema;
43
45
  exports.ContentSheetColumnSchema = require_content.ContentSheetColumnSchema;
44
46
  exports.ContentSheetImageSchema = require_content.ContentSheetImageSchema;
@@ -58,8 +60,10 @@ exports.ContentVectorSchema = require_content.ContentVectorSchema;
58
60
  exports.DEFAULT_LAYOUT_FONT = require_style.DEFAULT_LAYOUT_FONT;
59
61
  exports.DOCUMENT_PACKAGE_FORMAT_VERSION = require_package.DOCUMENT_PACKAGE_FORMAT_VERSION;
60
62
  exports.DecimalStringSchema = require_content.DecimalStringSchema;
63
+ exports.DimensionVectorSchema = require_math.DimensionVectorSchema;
61
64
  exports.DocumentPackageSchema = require_package.DocumentPackageSchema;
62
65
  exports.EMBEDDED_OBJECT_KINDS = require_content_json_schema_defs.EMBEDDED_OBJECT_KINDS;
66
+ exports.ExactRationalSchema = require_math.ExactRationalSchema;
63
67
  exports.LAYOUT_FORMAT_VERSION = require_layout.LAYOUT_FORMAT_VERSION;
64
68
  exports.LayoutDocumentSchema = require_layout.LayoutDocumentSchema;
65
69
  exports.LayoutEllipseSchema = require_layout.LayoutEllipseSchema;
@@ -79,6 +83,9 @@ exports.LayoutSubpathSchema = require_layout.LayoutSubpathSchema;
79
83
  exports.LayoutTextSchema = require_layout.LayoutTextSchema;
80
84
  exports.MAX_SAFE_INTEGER = require_content_json_schema_defs.MAX_SAFE_INTEGER;
81
85
  exports.MarginsSchema = require_geometry.MarginsSchema;
86
+ exports.MathAppSchema = require_math.MathAppSchema;
87
+ exports.MathExpressionSchema = require_math.MathExpressionSchema;
88
+ exports.MathMatrixSchema = require_math.MathMatrixSchema;
82
89
  exports.MathMlAttributeSchema = require_mathml.MathMlAttributeSchema;
83
90
  exports.MathMlCdataSchema = require_mathml.MathMlCdataSchema;
84
91
  exports.MathMlCommentSchema = require_mathml.MathMlCommentSchema;
@@ -87,12 +94,26 @@ exports.MathMlElementSchema = require_mathml.MathMlElementSchema;
87
94
  exports.MathMlNodeSchema = require_mathml.MathMlNodeSchema;
88
95
  exports.MathMlPiSchema = require_mathml.MathMlPiSchema;
89
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;
90
109
  exports.PAGE_SIZE_A4 = require_geometry.PAGE_SIZE_A4;
91
110
  exports.PAGE_SIZE_LETTER = require_geometry.PAGE_SIZE_LETTER;
92
111
  exports.PageSizeSchema = require_geometry.PageSizeSchema;
93
112
  exports.SCHEMA_FILE_NAMES = require_schema_io.SCHEMA_FILE_NAMES;
113
+ exports.SI_BASE_DIMENSIONS = require_math.SI_BASE_DIMENSIONS;
94
114
  exports.SLIDE_SIZE_STANDARD = require_geometry.SLIDE_SIZE_STANDARD;
95
115
  exports.SLIDE_SIZE_WIDESCREEN = require_geometry.SLIDE_SIZE_WIDESCREEN;
116
+ exports.SymbolTableSchema = require_math.SymbolTableSchema;
96
117
  exports.UnrecognizedDocumentSchemaError = require_schema_io.UnrecognizedDocumentSchemaError;
97
118
  exports.cellReference = require_a1.cellReference;
98
119
  exports.clampHeadingLevel = require_content.clampHeadingLevel;
@@ -104,6 +125,7 @@ exports.documentFromJson = require_schema_io.documentFromJson;
104
125
  exports.documentPackageWithSchema = require_schema_io.documentPackageWithSchema;
105
126
  exports.documentSchemaKindOf = require_schema_io.documentSchemaKindOf;
106
127
  exports.isContentBlock = require_content.isContentBlock;
128
+ exports.isMathExpression = require_math.isMathExpression;
107
129
  exports.isMathMlNode = require_mathml.isMathMlNode;
108
130
  exports.layoutDocumentWithSchema = require_schema_io.layoutDocumentWithSchema;
109
131
  exports.parseCellReference = require_a1.parseCellReference;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,9 @@
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
- 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, 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";
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";
6
7
  import { LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema } from "./layout.cjs";
7
8
  import { ContentCodec, LayoutCodec } from "./codec.cjs";
8
9
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.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, 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,8 +1,9 @@
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
- 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, 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";
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";
6
7
  import { LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentSchema, LayoutEllipse, LayoutEllipseSchema, LayoutImage, LayoutImageAsset, LayoutImageAssetSchema, LayoutImageSchema, LayoutItem, LayoutItemSchema, LayoutLine, LayoutLineSchema, LayoutLink, LayoutLinkSchema, LayoutPage, LayoutPageSchema, LayoutPath, LayoutPathSchema, LayoutPathSegment, LayoutPathSegmentSchema, LayoutRect, LayoutRectSchema, LayoutSubpath, LayoutSubpathSchema, LayoutText, LayoutTextSchema } from "./layout.js";
7
8
  import { ContentCodec, LayoutCodec } from "./codec.js";
8
9
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.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, 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 };