document-content-model 7.6.1 → 7.8.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.
Files changed (47) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
  4. package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-PPcQWl8e.d.ts → content-DAc4O272.d.ts} +1934 -87
  8. package/dist/{content-JIKLIrji.d.cts → content-SgKmas45.d.cts} +1934 -87
  9. package/dist/content-json-schema-defs.cjs +158 -15
  10. package/dist/content-json-schema-defs.js +158 -15
  11. package/dist/content.cjs +106 -27
  12. package/dist/content.d.cts +2 -2
  13. package/dist/content.d.ts +2 -2
  14. package/dist/content.js +98 -28
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.cjs +1 -10
  18. package/dist/definitions.d.cts +1 -1
  19. package/dist/definitions.d.ts +1 -1
  20. package/dist/definitions.js +2 -11
  21. package/dist/factor-styles.cjs +1 -0
  22. package/dist/factor-styles.d.cts +1 -1
  23. package/dist/factor-styles.d.ts +1 -1
  24. package/dist/factor-styles.js +1 -0
  25. package/dist/flatten.cjs +1 -0
  26. package/dist/flatten.d.cts +1 -1
  27. package/dist/flatten.d.ts +1 -1
  28. package/dist/flatten.js +1 -0
  29. package/dist/index.cjs +9 -0
  30. package/dist/index.d.cts +4 -4
  31. package/dist/index.d.ts +4 -4
  32. package/dist/index.js +2 -2
  33. package/dist/{package-node-B4CHgiVQ.d.ts → package-node-BnFUnaa0.d.ts} +359 -49
  34. package/dist/{package-node-duDMdOvH.d.cts → package-node-DnUyGT61.d.cts} +359 -49
  35. package/dist/package-node.d.cts +1 -1
  36. package/dist/package-node.d.ts +1 -1
  37. package/dist/package.cjs +1 -0
  38. package/dist/package.d.cts +33 -1
  39. package/dist/package.d.ts +33 -1
  40. package/dist/package.js +2 -1
  41. package/dist/schema-io.cjs +2 -2
  42. package/dist/schema-io.d.cts +1 -1
  43. package/dist/schema-io.d.ts +1 -1
  44. package/dist/schema-io.js +2 -2
  45. package/package.json +1 -1
  46. package/schemas/content-document.schema.json +1296 -13
  47. package/schemas/document-tree.schema.json +292 -3
package/dist/content.js CHANGED
@@ -8,21 +8,55 @@ import { AlignmentSchema, TextDirectionSchema } from "./style.js";
8
8
  import { LayoutMetadataSchema } from "./metadata.js";
9
9
  import { z } from "zod";
10
10
  //#region src/content.ts
11
- const ContentRunSchema = z.object({
11
+ const ContentOriginSchema = z.enum([
12
+ "chart",
13
+ "diagram",
14
+ "table",
15
+ "image",
16
+ "notes",
17
+ "body"
18
+ ]);
19
+ const ContentTranscriptSchema = z.object({
12
20
  text: z.string(),
21
+ confidence: z.enum([
22
+ "high",
23
+ "medium",
24
+ "low"
25
+ ]),
26
+ mechanism: z.enum(["deterministic", "model"])
27
+ });
28
+ const ContentInterpretationSchema = z.object({
29
+ transcript: ContentTranscriptSchema.optional(),
30
+ description: z.string().optional(),
31
+ by: z.object({
32
+ model: z.string(),
33
+ at: z.string()
34
+ }).optional()
35
+ });
36
+ const CONTENT_ANNOTATION_FIELDS = {
37
+ origin: ContentOriginSchema.optional(),
38
+ interpretation: ContentInterpretationSchema.optional()
39
+ };
40
+ const RUN_FONT_PROPERTY_SHAPE = {
13
41
  bold: z.boolean().optional(),
14
42
  italic: z.boolean().optional(),
15
43
  underline: z.boolean().optional(),
16
44
  strike: z.boolean().optional(),
17
45
  fontFamily: z.string().optional(),
18
46
  sizePt: z.number().positive().optional(),
19
- color: ColorSchema.optional(),
47
+ color: ColorSchema.optional()
48
+ };
49
+ const ContentFontSchema = z.object(RUN_FONT_PROPERTY_SHAPE);
50
+ const ContentRunSchema = z.object({
51
+ text: z.string(),
52
+ ...RUN_FONT_PROPERTY_SHAPE,
20
53
  hyperlink: z.string().optional(),
21
54
  verticalAlign: z.enum(["superscript", "subscript"]).optional(),
22
55
  direction: TextDirectionSchema.optional(),
23
56
  sourcePath: z.string().optional(),
24
57
  source: SourceResidueSchema.optional(),
25
- frames: z.array(LayoutFrameSchema).optional()
58
+ frames: z.array(LayoutFrameSchema).optional(),
59
+ ...CONTENT_ANNOTATION_FIELDS
26
60
  });
27
61
  const ContentListMembershipSchema = z.object({
28
62
  numId: z.string().optional(),
@@ -82,7 +116,8 @@ const ContentParagraphSchema = z.object({
82
116
  borders: ContentParagraphBordersSchema.optional(),
83
117
  sourcePath: z.string().optional(),
84
118
  source: SourceResidueSchema.optional(),
85
- frames: z.array(LayoutFrameSchema).optional()
119
+ frames: z.array(LayoutFrameSchema).optional(),
120
+ ...CONTENT_ANNOTATION_FIELDS
86
121
  });
87
122
  function clampHeadingLevel(level) {
88
123
  return Math.min(6, Math.max(1, Math.round(level)));
@@ -122,28 +157,42 @@ const ContentFloatPositionSchema = z.object({
122
157
  horizontal: ContentFloatAxisSchema,
123
158
  vertical: ContentFloatAxisSchema
124
159
  });
160
+ const IMAGE_FORMATS = [
161
+ "png",
162
+ "jpeg",
163
+ "svg",
164
+ "gif"
165
+ ];
166
+ function isImageFormat(value) {
167
+ return typeof value === "string" && IMAGE_FORMATS.includes(value);
168
+ }
169
+ const ContentImageOriginalSchema = z.object({
170
+ filter: z.enum(["jbig2", "jpeg2000"]),
171
+ base64: z.string(),
172
+ jbig2GlobalsBase64: z.string().optional()
173
+ });
125
174
  const ContentImageBlockSchema = z.object({
126
175
  kind: z.literal("image"),
127
- format: z.enum([
128
- "png",
129
- "jpeg",
130
- "svg",
131
- "gif"
132
- ]),
176
+ format: z.enum(IMAGE_FORMATS),
133
177
  base64: z.string(),
134
178
  widthPt: z.number().positive(),
135
179
  heightPt: z.number().positive(),
136
180
  altText: z.string().optional(),
181
+ original: ContentImageOriginalSchema.optional(),
182
+ anchorRunIndex: z.number().int().nonnegative().optional(),
183
+ anchorOffset: z.number().int().nonnegative().optional(),
137
184
  floatPosition: ContentFloatPositionSchema.optional(),
138
185
  sourcePath: z.string().optional(),
139
186
  source: SourceResidueSchema.optional(),
140
- frames: z.array(LayoutFrameSchema).optional()
187
+ frames: z.array(LayoutFrameSchema).optional(),
188
+ ...CONTENT_ANNOTATION_FIELDS
141
189
  });
142
190
  const ContentPageBreakSchema = z.object({
143
191
  kind: z.literal("pageBreak"),
144
192
  sourcePath: z.string().optional(),
145
193
  source: SourceResidueSchema.optional(),
146
- frames: z.array(LayoutFrameSchema).optional()
194
+ frames: z.array(LayoutFrameSchema).optional(),
195
+ ...CONTENT_ANNOTATION_FIELDS
147
196
  });
148
197
  const ContentConstructStartSchema = z.object({
149
198
  kind: z.literal("constructStart"),
@@ -186,7 +235,7 @@ function isContentBlock(value) {
186
235
  if (!isRecord(value)) return false;
187
236
  const kind = value.kind;
188
237
  if (kind === "paragraph") return Array.isArray(value.runs) && value.runs.every(isContentRun) && (value.constructs === void 0 || Array.isArray(value.constructs) && value.constructs.every(isRunConstructExtent));
189
- if (kind === "image") return (value.format === "png" || value.format === "jpeg") && typeof value.base64 === "string" && typeof value.widthPt === "number" && typeof value.heightPt === "number";
238
+ if (kind === "image") return isImageFormat(value.format) && typeof value.base64 === "string" && typeof value.widthPt === "number" && typeof value.heightPt === "number";
190
239
  if (kind === "pageBreak") return true;
191
240
  if (kind === "table") return Array.isArray(value.rows) && value.rows.every(isContentTableRow) && Array.isArray(value.columnWidthsPt) && value.columnWidthsPt.every((w) => typeof w === "number");
192
241
  if (kind === "embeddedObject") return isContentEmbeddedObject(value);
@@ -209,7 +258,8 @@ const CONTENT_EMBEDDED_OBJECT_FIELDS = {
209
258
  anchorColumn: z.number().int().nonnegative().optional(),
210
259
  offsetXPt: z.number().optional(),
211
260
  offsetYPt: z.number().optional(),
212
- source: SourceResidueSchema.optional()
261
+ source: SourceResidueSchema.optional(),
262
+ ...CONTENT_ANNOTATION_FIELDS
213
263
  };
214
264
  const ContentEmbeddedObjectSchema = z.object(CONTENT_EMBEDDED_OBJECT_FIELDS);
215
265
  const ContentEmbeddedObjectBlockSchema = z.object({
@@ -336,7 +386,8 @@ const ContentTableCellSchema = z.object({
336
386
  formula: z.string().optional(),
337
387
  sourcePath: z.string().optional(),
338
388
  source: SourceResidueSchema.optional(),
339
- frames: z.array(LayoutFrameSchema).optional()
389
+ frames: z.array(LayoutFrameSchema).optional(),
390
+ ...CONTENT_ANNOTATION_FIELDS
340
391
  });
341
392
  const ContentTableRowSchema = z.object({
342
393
  cells: z.array(ContentTableCellSchema),
@@ -349,7 +400,8 @@ const ContentTableSchema = z.object({
349
400
  columnWidthsPt: z.array(z.number().nonnegative()),
350
401
  sourcePath: z.string().optional(),
351
402
  source: SourceResidueSchema.optional(),
352
- frames: z.array(LayoutFrameSchema).optional()
403
+ frames: z.array(LayoutFrameSchema).optional(),
404
+ ...CONTENT_ANNOTATION_FIELDS
353
405
  });
354
406
  const ContentBlockSchema = z.discriminatedUnion("kind", [
355
407
  ContentParagraphSchema,
@@ -377,7 +429,8 @@ const ContentSectionSchema = z.object({
377
429
  ]).optional(),
378
430
  headers: ContentPageFurnitureSchema.optional(),
379
431
  footers: ContentPageFurnitureSchema.optional(),
380
- source: SourceResidueSchema.optional()
432
+ source: SourceResidueSchema.optional(),
433
+ ...CONTENT_ANNOTATION_FIELDS
381
434
  });
382
435
  const ContentShapeSchema = z.object({
383
436
  name: z.string().optional(),
@@ -393,13 +446,15 @@ const ContentShapeSchema = z.object({
393
446
  sourcePath: z.string().optional(),
394
447
  source: SourceResidueSchema.optional(),
395
448
  frames: z.array(LayoutFrameSchema).optional(),
449
+ ...CONTENT_ANNOTATION_FIELDS,
396
450
  blocks: z.lazy(() => z.array(ContentBlockSchema))
397
451
  });
398
452
  const ContentSlideSchema = z.object({
399
453
  size: PageSizeSchema,
400
454
  shapes: z.array(ContentShapeSchema),
401
455
  notes: z.string(),
402
- source: SourceResidueSchema.optional()
456
+ source: SourceResidueSchema.optional(),
457
+ ...CONTENT_ANNOTATION_FIELDS
403
458
  });
404
459
  const DecimalStringSchema = z.string().regex(/^-?(0|[1-9]\d*)(\.\d+)?$/);
405
460
  const ContentCellValueSchema = z.discriminatedUnion("kind", [
@@ -461,6 +516,7 @@ const ContentSheetCellSchema = z.object({
461
516
  formula: z.string().optional(),
462
517
  displayText: z.string(),
463
518
  numberFormatCode: z.string().optional(),
519
+ font: ContentFontSchema.optional(),
464
520
  runs: z.array(ContentRunSchema).optional(),
465
521
  colSpan: z.number().int().positive().optional(),
466
522
  rowSpan: z.number().int().positive().optional(),
@@ -475,7 +531,8 @@ const ContentSheetCellSchema = z.object({
475
531
  comment: ContentSheetCellCommentSchema.optional(),
476
532
  sourcePath: z.string().optional(),
477
533
  source: SourceResidueSchema.optional(),
478
- frames: z.array(LayoutFrameSchema).optional()
534
+ frames: z.array(LayoutFrameSchema).optional(),
535
+ ...CONTENT_ANNOTATION_FIELDS
479
536
  });
480
537
  const ContentSheetColumnSchema = z.object({
481
538
  index: z.number().int().nonnegative(),
@@ -693,7 +750,8 @@ const ContentSheetSchema = z.object({
693
750
  embeddedObjects: z.array(ContentEmbeddedObjectSchema).optional(),
694
751
  dataValidations: z.array(ContentSheetDataValidationSchema).optional(),
695
752
  conditionalFormats: z.array(ContentSheetConditionalFormatSchema).optional(),
696
- source: SourceResidueSchema.optional()
753
+ source: SourceResidueSchema.optional(),
754
+ ...CONTENT_ANNOTATION_FIELDS
697
755
  });
698
756
  const ContentStrokeDashSchema = z.object({
699
757
  dots1: z.number().int().positive(),
@@ -781,7 +839,8 @@ const ContentVectorSchema = z.discriminatedUnion("kind", [
781
839
  paintOrder: z.number().optional(),
782
840
  sourcePath: z.string().optional(),
783
841
  source: SourceResidueSchema.optional(),
784
- frames: z.array(LayoutFrameSchema).optional()
842
+ frames: z.array(LayoutFrameSchema).optional(),
843
+ ...CONTENT_ANNOTATION_FIELDS
785
844
  }),
786
845
  z.object({
787
846
  kind: z.literal("ellipse"),
@@ -794,7 +853,8 @@ const ContentVectorSchema = z.discriminatedUnion("kind", [
794
853
  paintOrder: z.number().optional(),
795
854
  sourcePath: z.string().optional(),
796
855
  source: SourceResidueSchema.optional(),
797
- frames: z.array(LayoutFrameSchema).optional()
856
+ frames: z.array(LayoutFrameSchema).optional(),
857
+ ...CONTENT_ANNOTATION_FIELDS
798
858
  }),
799
859
  z.object({
800
860
  kind: z.literal("line"),
@@ -804,7 +864,8 @@ const ContentVectorSchema = z.discriminatedUnion("kind", [
804
864
  paintOrder: z.number().optional(),
805
865
  sourcePath: z.string().optional(),
806
866
  source: SourceResidueSchema.optional(),
807
- frames: z.array(LayoutFrameSchema).optional()
867
+ frames: z.array(LayoutFrameSchema).optional(),
868
+ ...CONTENT_ANNOTATION_FIELDS
808
869
  }),
809
870
  z.object({
810
871
  kind: z.literal("path"),
@@ -819,14 +880,16 @@ const ContentVectorSchema = z.discriminatedUnion("kind", [
819
880
  paintOrder: z.number().optional(),
820
881
  sourcePath: z.string().optional(),
821
882
  source: SourceResidueSchema.optional(),
822
- frames: z.array(LayoutFrameSchema).optional()
883
+ frames: z.array(LayoutFrameSchema).optional(),
884
+ ...CONTENT_ANNOTATION_FIELDS
823
885
  })
824
886
  ]);
825
887
  const ContentDrawPageSchema = z.object({
826
888
  size: PageSizeSchema,
827
889
  shapes: z.array(ContentShapeSchema),
828
890
  vectors: z.array(ContentVectorSchema),
829
- source: SourceResidueSchema.optional()
891
+ source: SourceResidueSchema.optional(),
892
+ ...CONTENT_ANNOTATION_FIELDS
830
893
  });
831
894
  const ContentFormulaSchema = z.object({
832
895
  mathml: z.array(MathMlNodeSchema),
@@ -834,9 +897,15 @@ const ContentFormulaSchema = z.object({
834
897
  presentation: MathPresentationSchema.optional(),
835
898
  content: MathExpressionSchema.optional(),
836
899
  provenance: MathProvenanceSchema.optional(),
837
- source: SourceResidueSchema.optional()
900
+ source: SourceResidueSchema.optional(),
901
+ ...CONTENT_ANNOTATION_FIELDS
838
902
  });
839
903
  const contentDocumentSharedFields = { symbolTable: SymbolTableSchema.optional() };
904
+ const ContentDefinedNameSchema = z.object({
905
+ name: z.string(),
906
+ refersTo: z.string(),
907
+ scopeSheetIndex: z.number().int().nonnegative().optional()
908
+ });
840
909
  const ContentDocumentSchema = z.discriminatedUnion("kind", [
841
910
  z.object({
842
911
  kind: z.literal("wordprocessing"),
@@ -854,7 +923,8 @@ const ContentDocumentSchema = z.discriminatedUnion("kind", [
854
923
  kind: z.literal("spreadsheet"),
855
924
  metadata: LayoutMetadataSchema,
856
925
  ...contentDocumentSharedFields,
857
- sheets: z.array(ContentSheetSchema)
926
+ sheets: z.array(ContentSheetSchema),
927
+ names: z.array(ContentDefinedNameSchema).optional()
858
928
  }),
859
929
  z.object({
860
930
  kind: z.literal("drawing"),
@@ -870,4 +940,4 @@ const ContentDocumentSchema = z.discriminatedUnion("kind", [
870
940
  })
871
941
  ]);
872
942
  //#endregion
873
- export { ContentBitmapFillSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellFillSchema, ContentCellPatternTypeSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFillPatternSchema, ContentFloatAlignSchema, ContentFloatAxisSchema, ContentFloatOriginSchema, ContentFloatPositionSchema, ContentFormulaSchema, ContentGradientFillSchema, ContentGradientStyleSchema, ContentHatchFillSchema, ContentHatchStyleSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentPageFurnitureSchema, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidationSchema, ContentSheetDataValidationTypeSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRangeSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, RunConstructExtentSchema, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
943
+ export { CONTENT_ANNOTATION_FIELDS, ContentBitmapFillSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellFillSchema, ContentCellPatternTypeSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentDefinedNameSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFillPatternSchema, ContentFloatAlignSchema, ContentFloatAxisSchema, ContentFloatOriginSchema, ContentFloatPositionSchema, ContentFontSchema, ContentFormulaSchema, ContentGradientFillSchema, ContentGradientStyleSchema, ContentHatchFillSchema, ContentHatchStyleSchema, ContentImageBlockSchema, ContentImageOriginalSchema, ContentInterpretationSchema, ContentListMembershipSchema, ContentOriginSchema, ContentPageBreakSchema, ContentPageFurnitureSchema, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidationSchema, ContentSheetDataValidationTypeSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRangeSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentTranscriptSchema, ContentVectorSchema, DecimalStringSchema, IMAGE_FORMATS, RUN_FONT_PROPERTY_SHAPE, RunConstructExtentSchema, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
@@ -1,5 +1,5 @@
1
- import { S as ContentDrawPage, _t as ContentSheet, b as ContentDocument, ht as ContentShape, pt as ContentSection, qt as ContentSlide, rt as ContentParagraph, t as ConstructMarkerImbalance, z as ContentFormula } from "./content-JIKLIrji.cjs";
2
- import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-duDMdOvH.cjs";
1
+ import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-SgKmas45.cjs";
2
+ import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-DnUyGT61.cjs";
3
3
  //#region src/decompose.d.ts
4
4
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
5
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,5 +1,5 @@
1
- import { S as ContentDrawPage, _t as ContentSheet, b as ContentDocument, ht as ContentShape, pt as ContentSection, qt as ContentSlide, rt as ContentParagraph, t as ConstructMarkerImbalance, z as ContentFormula } from "./content-PPcQWl8e.js";
2
- import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-B4CHgiVQ.js";
1
+ import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-DAc4O272.js";
2
+ import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-BnFUnaa0.js";
3
3
  //#region src/decompose.d.ts
4
4
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
5
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_color = require("./color.cjs");
3
2
  const require_style = require("./style.cjs");
4
3
  const require_content = require("./content.cjs");
5
4
  let zod = require("zod");
@@ -15,15 +14,7 @@ const StyleParagraphPropertiesSchema = zod.z.strictObject({
15
14
  pageBreakBefore: zod.z.boolean().optional(),
16
15
  pageBreakAfter: zod.z.boolean().optional()
17
16
  });
18
- const StyleRunPropertiesSchema = zod.z.strictObject({
19
- bold: zod.z.boolean().optional(),
20
- italic: zod.z.boolean().optional(),
21
- underline: zod.z.boolean().optional(),
22
- strike: zod.z.boolean().optional(),
23
- fontFamily: zod.z.string().optional(),
24
- sizePt: zod.z.number().positive().optional(),
25
- color: require_color.ColorSchema.optional()
26
- });
17
+ const StyleRunPropertiesSchema = zod.z.strictObject(require_content.RUN_FONT_PROPERTY_SHAPE);
27
18
  const StyleEntrySchema = zod.z.strictObject({
28
19
  paragraph: StyleParagraphPropertiesSchema.optional(),
29
20
  run: StyleRunPropertiesSchema.optional()
@@ -1,4 +1,4 @@
1
- import { dt as ContentRun, rt as ContentParagraph } from "./content-JIKLIrji.cjs";
1
+ import { St as ContentRun, mt as ContentParagraph } from "./content-SgKmas45.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/definitions.d.ts
4
4
  declare const StyleParagraphPropertiesSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { dt as ContentRun, rt as ContentParagraph } from "./content-PPcQWl8e.js";
1
+ import { St as ContentRun, mt as ContentParagraph } from "./content-DAc4O272.js";
2
2
  import { z } from "zod";
3
3
  //#region src/definitions.d.ts
4
4
  declare const StyleParagraphPropertiesSchema: z.ZodObject<{
@@ -1,6 +1,5 @@
1
- import { ColorSchema } from "./color.js";
2
1
  import { AlignmentSchema } from "./style.js";
3
- import { ContentListMembershipSchema } from "./content.js";
2
+ import { ContentListMembershipSchema, RUN_FONT_PROPERTY_SHAPE } from "./content.js";
4
3
  import { z } from "zod";
5
4
  //#region src/definitions.ts
6
5
  const StyleParagraphPropertiesSchema = z.strictObject({
@@ -14,15 +13,7 @@ const StyleParagraphPropertiesSchema = z.strictObject({
14
13
  pageBreakBefore: z.boolean().optional(),
15
14
  pageBreakAfter: z.boolean().optional()
16
15
  });
17
- const StyleRunPropertiesSchema = z.strictObject({
18
- bold: z.boolean().optional(),
19
- italic: z.boolean().optional(),
20
- underline: z.boolean().optional(),
21
- strike: z.boolean().optional(),
22
- fontFamily: z.string().optional(),
23
- sizePt: z.number().positive().optional(),
24
- color: ColorSchema.optional()
25
- });
16
+ const StyleRunPropertiesSchema = z.strictObject(RUN_FONT_PROPERTY_SHAPE);
26
17
  const StyleEntrySchema = z.strictObject({
27
18
  paragraph: StyleParagraphPropertiesSchema.optional(),
28
19
  run: StyleRunPropertiesSchema.optional()
@@ -60,6 +60,7 @@ function assembleTree(content, pages) {
60
60
  case "spreadsheet": return mint({
61
61
  kind: "spreadsheet",
62
62
  ...envelope,
63
+ ...content.names !== void 0 ? { names: content.names } : {},
63
64
  children: content.sheets.map(require_decompose.decomposeSheet)
64
65
  });
65
66
  case "drawing": return mint({
@@ -1,5 +1,5 @@
1
1
  import { l as PageSize } from "./geometry-CvcjSwnA.cjs";
2
- import { b as ContentDocument } from "./content-JIKLIrji.cjs";
2
+ import { C as ContentDocument } from "./content-SgKmas45.cjs";
3
3
  import { DocumentTree } from "./package.cjs";
4
4
  //#region src/factor-styles.d.ts
5
5
  declare function assembleTree(content: ContentDocument, pages?: readonly PageSize[]): DocumentTree;
@@ -1,5 +1,5 @@
1
1
  import { l as PageSize } from "./geometry-CvcjSwnA.js";
2
- import { b as ContentDocument } from "./content-PPcQWl8e.js";
2
+ import { C as ContentDocument } from "./content-DAc4O272.js";
3
3
  import { DocumentTree } from "./package.js";
4
4
  //#region src/factor-styles.d.ts
5
5
  declare function assembleTree(content: ContentDocument, pages?: readonly PageSize[]): DocumentTree;
@@ -59,6 +59,7 @@ function assembleTree(content, pages) {
59
59
  case "spreadsheet": return mint({
60
60
  kind: "spreadsheet",
61
61
  ...envelope,
62
+ ...content.names !== void 0 ? { names: content.names } : {},
62
63
  children: content.sheets.map(decomposeSheet)
63
64
  });
64
65
  case "drawing": return mint({
package/dist/flatten.cjs CHANGED
@@ -48,6 +48,7 @@ function flattenTree(pkg) {
48
48
  case "spreadsheet": return {
49
49
  kind: "spreadsheet",
50
50
  ...envelope,
51
+ ...pkg.names !== void 0 ? { names: pkg.names } : {},
51
52
  sheets: pkg.children.map((group) => {
52
53
  if (group.style !== void 0) throw new Error("flattenTree: a sheet group carries a style ref but a sheet holds no block flow to resolve it onto");
53
54
  const images = [];
@@ -1,4 +1,4 @@
1
- import { b as ContentDocument } from "./content-JIKLIrji.cjs";
1
+ import { C as ContentDocument } from "./content-SgKmas45.cjs";
2
2
  import { DocumentTree } from "./package.cjs";
3
3
  //#region src/flatten.d.ts
4
4
  declare function flattenTree(pkg: DocumentTree): ContentDocument;
package/dist/flatten.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { b as ContentDocument } from "./content-PPcQWl8e.js";
1
+ import { C as ContentDocument } from "./content-DAc4O272.js";
2
2
  import { DocumentTree } from "./package.js";
3
3
  //#region src/flatten.d.ts
4
4
  declare function flattenTree(pkg: DocumentTree): ContentDocument;
package/dist/flatten.js CHANGED
@@ -47,6 +47,7 @@ function flattenTree(pkg) {
47
47
  case "spreadsheet": return {
48
48
  kind: "spreadsheet",
49
49
  ...envelope,
50
+ ...pkg.names !== void 0 ? { names: pkg.names } : {},
50
51
  sheets: pkg.children.map((group) => {
51
52
  if (group.style !== void 0) throw new Error("flattenTree: a sheet group carries a style ref but a sheet holds no block flow to resolve it onto");
52
53
  const images = [];
package/dist/index.cjs CHANGED
@@ -28,6 +28,7 @@ exports.AnchorTypeSchema = require_construct.AnchorTypeSchema;
28
28
  exports.BORDER_WIDTH_PT = require_border_weight.BORDER_WIDTH_PT;
29
29
  exports.BoxSchema = require_geometry.BoxSchema;
30
30
  exports.COLOR_BLACK = require_color.COLOR_BLACK;
31
+ exports.CONTENT_ANNOTATION_FIELDS = require_content.CONTENT_ANNOTATION_FIELDS;
31
32
  exports.CONTENT_DEFS = require_content_json_schema_defs.CONTENT_DEFS;
32
33
  exports.CONTENT_DOCUMENT_URI = require_content_json_schema_defs.CONTENT_DOCUMENT_URI;
33
34
  exports.ColorSchema = require_color.ColorSchema;
@@ -45,6 +46,7 @@ exports.ContentConstructStartSchema = require_content.ContentConstructStartSchem
45
46
  exports.ContentControlDescriptorSchema = require_construct.ContentControlDescriptorSchema;
46
47
  exports.ContentControlLockSchema = require_construct.ContentControlLockSchema;
47
48
  exports.ContentControlTypeSchema = require_construct.ContentControlTypeSchema;
49
+ exports.ContentDefinedNameSchema = require_content.ContentDefinedNameSchema;
48
50
  exports.ContentDocumentSchema = require_content.ContentDocumentSchema;
49
51
  exports.ContentDrawPageSchema = require_content.ContentDrawPageSchema;
50
52
  exports.ContentEmbeddedObjectBlockSchema = require_content.ContentEmbeddedObjectBlockSchema;
@@ -54,13 +56,17 @@ exports.ContentFloatAlignSchema = require_content.ContentFloatAlignSchema;
54
56
  exports.ContentFloatAxisSchema = require_content.ContentFloatAxisSchema;
55
57
  exports.ContentFloatOriginSchema = require_content.ContentFloatOriginSchema;
56
58
  exports.ContentFloatPositionSchema = require_content.ContentFloatPositionSchema;
59
+ exports.ContentFontSchema = require_content.ContentFontSchema;
57
60
  exports.ContentFormulaSchema = require_content.ContentFormulaSchema;
58
61
  exports.ContentGradientFillSchema = require_content.ContentGradientFillSchema;
59
62
  exports.ContentGradientStyleSchema = require_content.ContentGradientStyleSchema;
60
63
  exports.ContentHatchFillSchema = require_content.ContentHatchFillSchema;
61
64
  exports.ContentHatchStyleSchema = require_content.ContentHatchStyleSchema;
62
65
  exports.ContentImageBlockSchema = require_content.ContentImageBlockSchema;
66
+ exports.ContentImageOriginalSchema = require_content.ContentImageOriginalSchema;
67
+ exports.ContentInterpretationSchema = require_content.ContentInterpretationSchema;
63
68
  exports.ContentListMembershipSchema = require_content.ContentListMembershipSchema;
69
+ exports.ContentOriginSchema = require_content.ContentOriginSchema;
64
70
  exports.ContentPageBreakSchema = require_content.ContentPageBreakSchema;
65
71
  exports.ContentPageFurnitureSchema = require_content.ContentPageFurnitureSchema;
66
72
  exports.ContentParagraphBordersSchema = require_content.ContentParagraphBordersSchema;
@@ -93,6 +99,7 @@ exports.ContentSubpathSchema = require_content.ContentSubpathSchema;
93
99
  exports.ContentTableCellSchema = require_content.ContentTableCellSchema;
94
100
  exports.ContentTableRowSchema = require_content.ContentTableRowSchema;
95
101
  exports.ContentTableSchema = require_content.ContentTableSchema;
102
+ exports.ContentTranscriptSchema = require_content.ContentTranscriptSchema;
96
103
  exports.ContentVectorSchema = require_content.ContentVectorSchema;
97
104
  exports.DEFAULT_LAYOUT_FONT = require_style.DEFAULT_LAYOUT_FONT;
98
105
  exports.DecimalStringSchema = require_content.DecimalStringSchema;
@@ -112,6 +119,7 @@ exports.FieldDescriptorSchema = require_construct.FieldDescriptorSchema;
112
119
  exports.FormulaBindingsSchema = require_math.FormulaBindingsSchema;
113
120
  exports.HeadingGroupSchema = require_package_node.HeadingGroupSchema;
114
121
  exports.HeadingParagraphSchema = require_package_node.HeadingParagraphSchema;
122
+ exports.IMAGE_FORMATS = require_content.IMAGE_FORMATS;
115
123
  exports.IntervalSchema = require_math.IntervalSchema;
116
124
  exports.LayoutFontSchema = require_style.LayoutFontSchema;
117
125
  exports.LayoutFrameSchema = require_geometry.LayoutFrameSchema;
@@ -152,6 +160,7 @@ exports.PageSizeSchema = require_geometry.PageSizeSchema;
152
160
  exports.ProvenanceChangeSchema = require_construct.ProvenanceChangeSchema;
153
161
  exports.ProvenanceDescriptorSchema = require_construct.ProvenanceDescriptorSchema;
154
162
  exports.QuantitySchema = require_math.QuantitySchema;
163
+ exports.RUN_FONT_PROPERTY_SHAPE = require_content.RUN_FONT_PROPERTY_SHAPE;
155
164
  exports.RunConstructExtentSchema = require_content.RunConstructExtentSchema;
156
165
  exports.SCHEMA_FILE_NAMES = require_schema_io.SCHEMA_FILE_NAMES;
157
166
  exports.SI_BASE_DIMENSIONS = require_math.SI_BASE_DIMENSIONS;
package/dist/index.d.cts CHANGED
@@ -6,11 +6,11 @@ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t
6
6
  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";
7
7
  import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.cjs";
8
8
  import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
9
- import { $ as ContentPageBreak, $t as ContentStrokeStyle, A as ContentFillPatternSchema, At as ContentSheetDataValidation, B as ContentFormulaSchema, Bt as ContentSheetRange, C as ContentDrawPageSchema, Cn as isContentBlock, Ct as ContentSheetColumnSchema, D as ContentEmbeddedObjectKind, Dn as resolveCellFillColor, Dt as ContentSheetConditionalFormatStyleSchema, E as ContentEmbeddedObjectBlockSchema, En as isRunConstructExtent, Et as ContentSheetConditionalFormatStyle, F as ContentFloatOrigin, Ft as ContentSheetImageSchema, G as ContentHatchFill, Gt as ContentSheetRowSchema, H as ContentGradientFillSchema, Ht as ContentSheetRepeatRange, I as ContentFloatOriginSchema, It as ContentSheetPrintRange, J as ContentHatchStyleSchema, Jt as ContentSlideSchema, K as ContentHatchFillSchema, Kt as ContentSheetSchema, L as ContentFloatPosition, Lt as ContentSheetPrintRangeSchema, M as ContentFloatAlignSchema, Mt as ContentSheetDataValidationType, N as ContentFloatAxis, Nt as ContentSheetDataValidationTypeSchema, O as ContentEmbeddedObjectSchema, On as unrecognizedFillKind, Ot as ContentSheetConditionalFormatValue, P as ContentFloatAxisSchema, Pt as ContentSheetImage, Q as ContentListMembershipSchema, Qt as ContentStrokeSchema, R as ContentFloatPositionSchema, Rt as ContentSheetPrintSettings, S as ContentDrawPage, Sn as findRunConstructFault, St as ContentSheetColumn, T as ContentEmbeddedObjectBlock, Tn as isContentConstructStart, Tt as ContentSheetConditionalFormatSchema, U as ContentGradientStyle, Ut as ContentSheetRepeatRangeSchema, V as ContentGradientFill, Vt as ContentSheetRangeSchema, W as ContentGradientStyleSchema, Wt as ContentSheetRow, X as ContentImageBlockSchema, Xt as ContentStrokeDash, Y as ContentImageBlock, Yt as ContentStroke, Z as ContentListMembership, Zt as ContentStrokeDashSchema, _ as ContentConstructEndSchema, _n as SheetRuleOperator, _t as ContentSheet, a as ContentBlockSchema, an as ContentTableCellSchema, at as ContentParagraphBordersSchema, b as ContentDocument, bn as contentDocumentSharedFields, bt as ContentSheetCellCommentSchema, c as ContentCellBorders, cn as ContentTableSchema, ct as ContentPathPointSchema, d as ContentCellFillSchema, dn as DecimalString, dt as ContentRun, en as ContentStrokeStyleSchema, et as ContentPageBreakSchema, f as ContentCellPatternType, fn as DecimalStringSchema, ft as ContentRunSchema, g as ContentConstructEnd, gn as RunConstructFault, gt as ContentShapeSchema, h as ContentCellValueSchema, hn as RunConstructExtentSchema, ht as ContentShape, i as ContentBlock, in as ContentTableCell, it as ContentParagraphBorders, j as ContentFloatAlign, jt as ContentSheetDataValidationSchema, k as ContentFillPattern, kt as ContentSheetConditionalFormatValueSchema, l as ContentCellBordersSchema, ln as ContentVector, lt as ContentPathSegment, m as ContentCellValue, mn as RunConstructExtent, mt as ContentSectionSchema, n as ContentBitmapFill, nn as ContentSubpathSchema, nt as ContentPageFurnitureSchema, o as ContentBorder, on as ContentTableRow, ot as ContentParagraphSchema, p as ContentCellPatternTypeSchema, pn as FusedNode, pt as ContentSection, q as ContentHatchStyle, qt as ContentSlide, r as ContentBitmapFillSchema, rn as ContentTable, rt as ContentParagraph, s as ContentBorderSchema, sn as ContentTableRowSchema, st as ContentPathPoint, t as ConstructMarkerImbalance, tn as ContentSubpath, tt as ContentPageFurniture, u as ContentCellFill, un as ContentVectorSchema, ut as ContentPathSegmentSchema, v as ContentConstructStart, vn as SheetRuleOperatorSchema, vt as ContentSheetCell, w as ContentEmbeddedObject, wn as isContentConstructEnd, wt as ContentSheetConditionalFormat, x as ContentDocumentSchema, xn as findConstructMarkerImbalance, xt as ContentSheetCellSchema, y as ContentConstructStartSchema, yn as clampHeadingLevel, yt as ContentSheetCellComment, z as ContentFormula, zt as ContentSheetPrintSettingsSchema } from "./content-JIKLIrji.cjs";
9
+ import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-SgKmas45.cjs";
10
10
  import { ContentCodec } from "./codec.cjs";
11
- import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C9cYkjnd.cjs";
11
+ import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-GVdTKrE7.cjs";
12
12
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.cjs";
13
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-duDMdOvH.cjs";
13
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-DnUyGT61.cjs";
14
14
  import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.cjs";
15
15
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.cjs";
16
16
  import { DocumentTree, DocumentTreeSchema } from "./package.cjs";
@@ -21,4 +21,4 @@ import { LayoutMetadata, LayoutMetadataSchema } from "./metadata.cjs";
21
21
  import { ContentDocumentJson, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTreeJson, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, schemaUriFor } from "./schema-io.cjs";
22
22
  import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.cjs";
23
23
  import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.cjs";
24
- export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, BORDER_WIDTH_PT, BorderWeight, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ConstructMarkerImbalanceError, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFillPattern, ContentFillPatternSchema, ContentFloatAlign, ContentFloatAlignSchema, ContentFloatAxis, ContentFloatAxisSchema, ContentFloatOrigin, ContentFloatOriginSchema, ContentFloatPosition, ContentFloatPositionSchema, ContentFormula, ContentFormulaSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentPageFurniture, ContentPageFurnitureSchema, ContentParagraph, ContentParagraphBorders, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetConditionalFormat, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyle, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValue, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidation, ContentSheetDataValidationSchema, ContentSheetDataValidationType, ContentSheetDataValidationTypeSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRange, ContentSheetRangeSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTree, DocumentTreeJson, DocumentTreeSchema, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, FontFace, FontRegistryOptions, FontSubstitution, FormulaBindings, FormulaBindingsSchema, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, Interval, IntervalSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, 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, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, ProvidedFont, Quantity, QuantitySchema, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SheetRuleOperator, SheetRuleOperatorSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, SourceFormat, SourceFormatSchema, SourceResidue, SourceResidueSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextDirection, TextDirectionSchema, TextMeasurer, TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, borderWeightForWidthPt, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, dashedBorderWeightForWidthPt, decompose, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, factorStyles, findConstructMarkerImbalance, findRunConstructFault, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isRunConstructExtent, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveCellFillColor, resolveStyleChain, rgbHexToColor, schemaUriFor, unrecognizedFillKind };
24
+ export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, BORDER_WIDTH_PT, BorderWeight, Box, BoxSchema, COLOR_BLACK, CONTENT_ANNOTATION_FIELDS, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ConstructMarkerImbalanceError, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFillPattern, ContentFillPatternSchema, ContentFloatAlign, ContentFloatAlignSchema, ContentFloatAxis, ContentFloatAxisSchema, ContentFloatOrigin, ContentFloatOriginSchema, ContentFloatPosition, ContentFloatPositionSchema, ContentFont, ContentFontSchema, ContentFormula, ContentFormulaSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentImageBlock, ContentImageBlockSchema, ContentImageOriginal, ContentImageOriginalSchema, ContentInterpretation, ContentInterpretationSchema, ContentListMembership, ContentListMembershipSchema, ContentOrigin, ContentOriginSchema, ContentPageBreak, ContentPageBreakSchema, ContentPageFurniture, ContentPageFurnitureSchema, ContentParagraph, ContentParagraphBorders, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetConditionalFormat, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyle, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValue, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidation, ContentSheetDataValidationSchema, ContentSheetDataValidationType, ContentSheetDataValidationTypeSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRange, ContentSheetRangeSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTree, DocumentTreeJson, DocumentTreeSchema, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, FontFace, FontRegistryOptions, FontSubstitution, FormulaBindings, FormulaBindingsSchema, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, IMAGE_FORMATS, ImageFormat, Interval, IntervalSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, 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, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, ProvidedFont, Quantity, QuantitySchema, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SheetRuleOperator, SheetRuleOperatorSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, SourceFormat, SourceFormatSchema, SourceResidue, SourceResidueSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextDirection, TextDirectionSchema, TextMeasurer, TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, borderWeightForWidthPt, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, dashedBorderWeightForWidthPt, decompose, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, factorStyles, findConstructMarkerImbalance, findRunConstructFault, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isRunConstructExtent, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveCellFillColor, resolveStyleChain, rgbHexToColor, schemaUriFor, unrecognizedFillKind };