document-schema 7.6.1 → 7.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{content-CIIFuBbn.d.cts → content-BlTHCDvF.d.cts} +169 -23
- package/dist/{content-wL5-wetq.d.ts → content-BqSMRlSK.d.ts} +169 -23
- package/dist/content-json-schema-defs.cjs +32 -0
- package/dist/content-json-schema-defs.js +32 -0
- package/dist/content.cjs +37 -11
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +33 -12
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.cjs +1 -10
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/definitions.js +2 -11
- package/dist/factor-styles.cjs +1 -0
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +1 -0
- package/dist/flatten.cjs +1 -0
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/flatten.js +1 -0
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{package-node-C9iYNIXi.d.cts → package-node-Btm9VsaX.d.cts} +40 -27
- package/dist/{package-node-C_rpWAh2.d.ts → package-node-DPm8hWYt.d.ts} +40 -27
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.cjs +1 -0
- package/dist/package.d.cts +6 -1
- package/dist/package.d.ts +6 -1
- package/dist/package.js +2 -1
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/package.json +1 -1
- package/schemas/content-document.schema.json +171 -13
- package/schemas/document-tree.schema.json +87 -3
package/dist/content.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDocument, 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, DecimalString, DecimalStringSchema, FusedNode, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
|
1
|
+
import { $ as ContentImageBlock, $t as ContentSlide, A as ContentEmbeddedObjectSchema, An as findConstructMarkerImbalance, At as ContentSheetConditionalFormat, B as ContentFloatPositionSchema, Bt as ContentSheetImage, C as ContentDocumentSchema, Cn as RunConstructExtent, Ct as ContentSheet, D as ContentEmbeddedObjectBlock, Dn as SheetRuleOperatorSchema, Dt as ContentSheetCellSchema, E as ContentEmbeddedObject, En as SheetRuleOperator, Et as ContentSheetCellCommentSchema, F as ContentFloatAxis, Fn as isRunConstructExtent, Ft as ContentSheetConditionalFormatValueSchema, G as ContentGradientFill, Gt as ContentSheetPrintSettingsSchema, H as ContentFontSchema, Ht as ContentSheetPrintRange, I as ContentFloatAxisSchema, In as resolveCellFillColor, It as ContentSheetDataValidation, J as ContentGradientStyleSchema, Jt as ContentSheetRepeatRange, K as ContentGradientFillSchema, Kt as ContentSheetRange, L as ContentFloatOrigin, Ln as unrecognizedFillKind, Lt as ContentSheetDataValidationSchema, M as ContentFillPatternSchema, Mn as isContentBlock, Mt as ContentSheetConditionalFormatStyle, N as ContentFloatAlign, Nn as isContentConstructEnd, Nt as ContentSheetConditionalFormatStyleSchema, O as ContentEmbeddedObjectBlockSchema, On as clampHeadingLevel, Ot as ContentSheetColumn, P as ContentFloatAlignSchema, Pn as isContentConstructStart, Pt as ContentSheetConditionalFormatValue, Q as ContentHatchStyleSchema, Qt as ContentSheetSchema, R as ContentFloatOriginSchema, Rt as ContentSheetDataValidationType, S as ContentDocument, Sn as RUN_FONT_PROPERTY_SHAPE, St as ContentShapeSchema, T as ContentDrawPageSchema, Tn as RunConstructFault, Tt as ContentSheetCellComment, U as ContentFormula, Ut as ContentSheetPrintRangeSchema, V as ContentFont, Vt as ContentSheetImageSchema, W as ContentFormulaSchema, Wt as ContentSheetPrintSettings, X as ContentHatchFillSchema, Xt as ContentSheetRow, Y as ContentHatchFill, Yt as ContentSheetRepeatRangeSchema, Z as ContentHatchStyle, Zt as ContentSheetRowSchema, _ as ContentConstructEndSchema, _n as DecimalString, _t as ContentRun, a as ContentBlockSchema, an as ContentStrokeStyle, at as ContentPageBreak, b as ContentDefinedName, bn as IMAGE_FORMATS, bt as ContentSectionSchema, c as ContentCellBorders, cn as ContentSubpathSchema, ct as ContentPageFurnitureSchema, d as ContentCellFillSchema, dn as ContentTableCellSchema, dt as ContentParagraphBordersSchema, en as ContentSlideSchema, et as ContentImageBlockSchema, f as ContentCellPatternType, fn as ContentTableRow, ft as ContentParagraphSchema, g as ContentConstructEnd, gn as ContentVectorSchema, gt as ContentPathSegmentSchema, h as ContentCellValueSchema, hn as ContentVector, ht as ContentPathSegment, i as ContentBlock, in as ContentStrokeSchema, it as ContentListMembershipSchema, j as ContentFillPattern, jn as findRunConstructFault, jt as ContentSheetConditionalFormatSchema, k as ContentEmbeddedObjectKind, kn as contentDocumentSharedFields, kt as ContentSheetColumnSchema, l as ContentCellBordersSchema, ln as ContentTable, lt as ContentParagraph, m as ContentCellValue, mn as ContentTableSchema, mt as ContentPathPointSchema, n as ContentBitmapFill, nn as ContentStrokeDash, nt as ContentImageOriginalSchema, o as ContentBorder, on as ContentStrokeStyleSchema, ot as ContentPageBreakSchema, p as ContentCellPatternTypeSchema, pn as ContentTableRowSchema, pt as ContentPathPoint, q as ContentGradientStyle, qt as ContentSheetRangeSchema, r as ContentBitmapFillSchema, rn as ContentStrokeDashSchema, rt as ContentListMembership, s as ContentBorderSchema, sn as ContentSubpath, st as ContentPageFurniture, t as ConstructMarkerImbalance, tn as ContentStroke, tt as ContentImageOriginal, u as ContentCellFill, un as ContentTableCell, ut as ContentParagraphBorders, v as ContentConstructStart, vn as DecimalStringSchema, vt as ContentRunSchema, w as ContentDrawPage, wn as RunConstructExtentSchema, wt as ContentSheetCell, x as ContentDefinedNameSchema, xn as ImageFormat, xt as ContentShape, y as ContentConstructStartSchema, yn as FusedNode, yt as ContentSection, z as ContentFloatPosition, zt as ContentSheetDataValidationTypeSchema } from "./content-BlTHCDvF.cjs";
|
|
2
|
+
export { ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, 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, 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, DecimalString, DecimalStringSchema, FusedNode, IMAGE_FORMATS, ImageFormat, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
package/dist/content.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDocument, 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, DecimalString, DecimalStringSchema, FusedNode, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
|
1
|
+
import { $ as ContentImageBlock, $t as ContentSlide, A as ContentEmbeddedObjectSchema, An as findConstructMarkerImbalance, At as ContentSheetConditionalFormat, B as ContentFloatPositionSchema, Bt as ContentSheetImage, C as ContentDocumentSchema, Cn as RunConstructExtent, Ct as ContentSheet, D as ContentEmbeddedObjectBlock, Dn as SheetRuleOperatorSchema, Dt as ContentSheetCellSchema, E as ContentEmbeddedObject, En as SheetRuleOperator, Et as ContentSheetCellCommentSchema, F as ContentFloatAxis, Fn as isRunConstructExtent, Ft as ContentSheetConditionalFormatValueSchema, G as ContentGradientFill, Gt as ContentSheetPrintSettingsSchema, H as ContentFontSchema, Ht as ContentSheetPrintRange, I as ContentFloatAxisSchema, In as resolveCellFillColor, It as ContentSheetDataValidation, J as ContentGradientStyleSchema, Jt as ContentSheetRepeatRange, K as ContentGradientFillSchema, Kt as ContentSheetRange, L as ContentFloatOrigin, Ln as unrecognizedFillKind, Lt as ContentSheetDataValidationSchema, M as ContentFillPatternSchema, Mn as isContentBlock, Mt as ContentSheetConditionalFormatStyle, N as ContentFloatAlign, Nn as isContentConstructEnd, Nt as ContentSheetConditionalFormatStyleSchema, O as ContentEmbeddedObjectBlockSchema, On as clampHeadingLevel, Ot as ContentSheetColumn, P as ContentFloatAlignSchema, Pn as isContentConstructStart, Pt as ContentSheetConditionalFormatValue, Q as ContentHatchStyleSchema, Qt as ContentSheetSchema, R as ContentFloatOriginSchema, Rt as ContentSheetDataValidationType, S as ContentDocument, Sn as RUN_FONT_PROPERTY_SHAPE, St as ContentShapeSchema, T as ContentDrawPageSchema, Tn as RunConstructFault, Tt as ContentSheetCellComment, U as ContentFormula, Ut as ContentSheetPrintRangeSchema, V as ContentFont, Vt as ContentSheetImageSchema, W as ContentFormulaSchema, Wt as ContentSheetPrintSettings, X as ContentHatchFillSchema, Xt as ContentSheetRow, Y as ContentHatchFill, Yt as ContentSheetRepeatRangeSchema, Z as ContentHatchStyle, Zt as ContentSheetRowSchema, _ as ContentConstructEndSchema, _n as DecimalString, _t as ContentRun, a as ContentBlockSchema, an as ContentStrokeStyle, at as ContentPageBreak, b as ContentDefinedName, bn as IMAGE_FORMATS, bt as ContentSectionSchema, c as ContentCellBorders, cn as ContentSubpathSchema, ct as ContentPageFurnitureSchema, d as ContentCellFillSchema, dn as ContentTableCellSchema, dt as ContentParagraphBordersSchema, en as ContentSlideSchema, et as ContentImageBlockSchema, f as ContentCellPatternType, fn as ContentTableRow, ft as ContentParagraphSchema, g as ContentConstructEnd, gn as ContentVectorSchema, gt as ContentPathSegmentSchema, h as ContentCellValueSchema, hn as ContentVector, ht as ContentPathSegment, i as ContentBlock, in as ContentStrokeSchema, it as ContentListMembershipSchema, j as ContentFillPattern, jn as findRunConstructFault, jt as ContentSheetConditionalFormatSchema, k as ContentEmbeddedObjectKind, kn as contentDocumentSharedFields, kt as ContentSheetColumnSchema, l as ContentCellBordersSchema, ln as ContentTable, lt as ContentParagraph, m as ContentCellValue, mn as ContentTableSchema, mt as ContentPathPointSchema, n as ContentBitmapFill, nn as ContentStrokeDash, nt as ContentImageOriginalSchema, o as ContentBorder, on as ContentStrokeStyleSchema, ot as ContentPageBreakSchema, p as ContentCellPatternTypeSchema, pn as ContentTableRowSchema, pt as ContentPathPoint, q as ContentGradientStyle, qt as ContentSheetRangeSchema, r as ContentBitmapFillSchema, rn as ContentStrokeDashSchema, rt as ContentListMembership, s as ContentBorderSchema, sn as ContentSubpath, st as ContentPageFurniture, t as ConstructMarkerImbalance, tn as ContentStroke, tt as ContentImageOriginal, u as ContentCellFill, un as ContentTableCell, ut as ContentParagraphBorders, v as ContentConstructStart, vn as DecimalStringSchema, vt as ContentRunSchema, w as ContentDrawPage, wn as RunConstructExtentSchema, wt as ContentSheetCell, x as ContentDefinedNameSchema, xn as ImageFormat, xt as ContentShape, y as ContentConstructStartSchema, yn as FusedNode, yt as ContentSection, z as ContentFloatPosition, zt as ContentSheetDataValidationTypeSchema } from "./content-BqSMRlSK.js";
|
|
2
|
+
export { ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, 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, 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, DecimalString, DecimalStringSchema, FusedNode, IMAGE_FORMATS, ImageFormat, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
package/dist/content.js
CHANGED
|
@@ -8,15 +8,19 @@ 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
|
|
12
|
-
text: z.string(),
|
|
11
|
+
const RUN_FONT_PROPERTY_SHAPE = {
|
|
13
12
|
bold: z.boolean().optional(),
|
|
14
13
|
italic: z.boolean().optional(),
|
|
15
14
|
underline: z.boolean().optional(),
|
|
16
15
|
strike: z.boolean().optional(),
|
|
17
16
|
fontFamily: z.string().optional(),
|
|
18
17
|
sizePt: z.number().positive().optional(),
|
|
19
|
-
color: ColorSchema.optional()
|
|
18
|
+
color: ColorSchema.optional()
|
|
19
|
+
};
|
|
20
|
+
const ContentFontSchema = z.object(RUN_FONT_PROPERTY_SHAPE);
|
|
21
|
+
const ContentRunSchema = z.object({
|
|
22
|
+
text: z.string(),
|
|
23
|
+
...RUN_FONT_PROPERTY_SHAPE,
|
|
20
24
|
hyperlink: z.string().optional(),
|
|
21
25
|
verticalAlign: z.enum(["superscript", "subscript"]).optional(),
|
|
22
26
|
direction: TextDirectionSchema.optional(),
|
|
@@ -122,18 +126,28 @@ const ContentFloatPositionSchema = z.object({
|
|
|
122
126
|
horizontal: ContentFloatAxisSchema,
|
|
123
127
|
vertical: ContentFloatAxisSchema
|
|
124
128
|
});
|
|
129
|
+
const IMAGE_FORMATS = [
|
|
130
|
+
"png",
|
|
131
|
+
"jpeg",
|
|
132
|
+
"svg",
|
|
133
|
+
"gif"
|
|
134
|
+
];
|
|
135
|
+
function isImageFormat(value) {
|
|
136
|
+
return typeof value === "string" && IMAGE_FORMATS.includes(value);
|
|
137
|
+
}
|
|
138
|
+
const ContentImageOriginalSchema = z.object({
|
|
139
|
+
filter: z.enum(["jbig2", "jpeg2000"]),
|
|
140
|
+
base64: z.string(),
|
|
141
|
+
jbig2GlobalsBase64: z.string().optional()
|
|
142
|
+
});
|
|
125
143
|
const ContentImageBlockSchema = z.object({
|
|
126
144
|
kind: z.literal("image"),
|
|
127
|
-
format: z.enum(
|
|
128
|
-
"png",
|
|
129
|
-
"jpeg",
|
|
130
|
-
"svg",
|
|
131
|
-
"gif"
|
|
132
|
-
]),
|
|
145
|
+
format: z.enum(IMAGE_FORMATS),
|
|
133
146
|
base64: z.string(),
|
|
134
147
|
widthPt: z.number().positive(),
|
|
135
148
|
heightPt: z.number().positive(),
|
|
136
149
|
altText: z.string().optional(),
|
|
150
|
+
original: ContentImageOriginalSchema.optional(),
|
|
137
151
|
floatPosition: ContentFloatPositionSchema.optional(),
|
|
138
152
|
sourcePath: z.string().optional(),
|
|
139
153
|
source: SourceResidueSchema.optional(),
|
|
@@ -186,7 +200,7 @@ function isContentBlock(value) {
|
|
|
186
200
|
if (!isRecord(value)) return false;
|
|
187
201
|
const kind = value.kind;
|
|
188
202
|
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
|
|
203
|
+
if (kind === "image") return isImageFormat(value.format) && typeof value.base64 === "string" && typeof value.widthPt === "number" && typeof value.heightPt === "number";
|
|
190
204
|
if (kind === "pageBreak") return true;
|
|
191
205
|
if (kind === "table") return Array.isArray(value.rows) && value.rows.every(isContentTableRow) && Array.isArray(value.columnWidthsPt) && value.columnWidthsPt.every((w) => typeof w === "number");
|
|
192
206
|
if (kind === "embeddedObject") return isContentEmbeddedObject(value);
|
|
@@ -461,6 +475,7 @@ const ContentSheetCellSchema = z.object({
|
|
|
461
475
|
formula: z.string().optional(),
|
|
462
476
|
displayText: z.string(),
|
|
463
477
|
numberFormatCode: z.string().optional(),
|
|
478
|
+
font: ContentFontSchema.optional(),
|
|
464
479
|
runs: z.array(ContentRunSchema).optional(),
|
|
465
480
|
colSpan: z.number().int().positive().optional(),
|
|
466
481
|
rowSpan: z.number().int().positive().optional(),
|
|
@@ -837,6 +852,11 @@ const ContentFormulaSchema = z.object({
|
|
|
837
852
|
source: SourceResidueSchema.optional()
|
|
838
853
|
});
|
|
839
854
|
const contentDocumentSharedFields = { symbolTable: SymbolTableSchema.optional() };
|
|
855
|
+
const ContentDefinedNameSchema = z.object({
|
|
856
|
+
name: z.string(),
|
|
857
|
+
refersTo: z.string(),
|
|
858
|
+
scopeSheetIndex: z.number().int().nonnegative().optional()
|
|
859
|
+
});
|
|
840
860
|
const ContentDocumentSchema = z.discriminatedUnion("kind", [
|
|
841
861
|
z.object({
|
|
842
862
|
kind: z.literal("wordprocessing"),
|
|
@@ -854,7 +874,8 @@ const ContentDocumentSchema = z.discriminatedUnion("kind", [
|
|
|
854
874
|
kind: z.literal("spreadsheet"),
|
|
855
875
|
metadata: LayoutMetadataSchema,
|
|
856
876
|
...contentDocumentSharedFields,
|
|
857
|
-
sheets: z.array(ContentSheetSchema)
|
|
877
|
+
sheets: z.array(ContentSheetSchema),
|
|
878
|
+
names: z.array(ContentDefinedNameSchema).optional()
|
|
858
879
|
}),
|
|
859
880
|
z.object({
|
|
860
881
|
kind: z.literal("drawing"),
|
|
@@ -870,4 +891,4 @@ const ContentDocumentSchema = z.discriminatedUnion("kind", [
|
|
|
870
891
|
})
|
|
871
892
|
]);
|
|
872
893
|
//#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 };
|
|
894
|
+
export { 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, 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, IMAGE_FORMATS, RUN_FONT_PROPERTY_SHAPE, RunConstructExtentSchema, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
package/dist/decompose.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
1
|
+
import { $t as ContentSlide, Ct as ContentSheet, S as ContentDocument, U as ContentFormula, lt as ContentParagraph, t as ConstructMarkerImbalance, w as ContentDrawPage, xt as ContentShape, yt as ContentSection } from "./content-BlTHCDvF.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-Btm9VsaX.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;
|
package/dist/decompose.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
1
|
+
import { $t as ContentSlide, Ct as ContentSheet, S as ContentDocument, U as ContentFormula, lt as ContentParagraph, t as ConstructMarkerImbalance, w as ContentDrawPage, xt as ContentShape, yt as ContentSection } from "./content-BqSMRlSK.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-DPm8hWYt.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;
|
package/dist/definitions.cjs
CHANGED
|
@@ -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()
|
package/dist/definitions.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _t as ContentRun, lt as ContentParagraph } from "./content-BlTHCDvF.cjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/definitions.d.ts
|
|
4
4
|
declare const StyleParagraphPropertiesSchema: z.ZodObject<{
|
package/dist/definitions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _t as ContentRun, lt as ContentParagraph } from "./content-BqSMRlSK.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/definitions.d.ts
|
|
4
4
|
declare const StyleParagraphPropertiesSchema: z.ZodObject<{
|
package/dist/definitions.js
CHANGED
|
@@ -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()
|
package/dist/factor-styles.cjs
CHANGED
|
@@ -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({
|
package/dist/factor-styles.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as PageSize } from "./geometry-CvcjSwnA.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { S as ContentDocument } from "./content-BlTHCDvF.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;
|
package/dist/factor-styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as PageSize } from "./geometry-CvcjSwnA.js";
|
|
2
|
-
import {
|
|
2
|
+
import { S as ContentDocument } from "./content-BqSMRlSK.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;
|
package/dist/factor-styles.js
CHANGED
|
@@ -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 = [];
|
package/dist/flatten.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as ContentDocument } from "./content-BlTHCDvF.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
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
|
@@ -45,6 +45,7 @@ exports.ContentConstructStartSchema = require_content.ContentConstructStartSchem
|
|
|
45
45
|
exports.ContentControlDescriptorSchema = require_construct.ContentControlDescriptorSchema;
|
|
46
46
|
exports.ContentControlLockSchema = require_construct.ContentControlLockSchema;
|
|
47
47
|
exports.ContentControlTypeSchema = require_construct.ContentControlTypeSchema;
|
|
48
|
+
exports.ContentDefinedNameSchema = require_content.ContentDefinedNameSchema;
|
|
48
49
|
exports.ContentDocumentSchema = require_content.ContentDocumentSchema;
|
|
49
50
|
exports.ContentDrawPageSchema = require_content.ContentDrawPageSchema;
|
|
50
51
|
exports.ContentEmbeddedObjectBlockSchema = require_content.ContentEmbeddedObjectBlockSchema;
|
|
@@ -54,12 +55,14 @@ exports.ContentFloatAlignSchema = require_content.ContentFloatAlignSchema;
|
|
|
54
55
|
exports.ContentFloatAxisSchema = require_content.ContentFloatAxisSchema;
|
|
55
56
|
exports.ContentFloatOriginSchema = require_content.ContentFloatOriginSchema;
|
|
56
57
|
exports.ContentFloatPositionSchema = require_content.ContentFloatPositionSchema;
|
|
58
|
+
exports.ContentFontSchema = require_content.ContentFontSchema;
|
|
57
59
|
exports.ContentFormulaSchema = require_content.ContentFormulaSchema;
|
|
58
60
|
exports.ContentGradientFillSchema = require_content.ContentGradientFillSchema;
|
|
59
61
|
exports.ContentGradientStyleSchema = require_content.ContentGradientStyleSchema;
|
|
60
62
|
exports.ContentHatchFillSchema = require_content.ContentHatchFillSchema;
|
|
61
63
|
exports.ContentHatchStyleSchema = require_content.ContentHatchStyleSchema;
|
|
62
64
|
exports.ContentImageBlockSchema = require_content.ContentImageBlockSchema;
|
|
65
|
+
exports.ContentImageOriginalSchema = require_content.ContentImageOriginalSchema;
|
|
63
66
|
exports.ContentListMembershipSchema = require_content.ContentListMembershipSchema;
|
|
64
67
|
exports.ContentPageBreakSchema = require_content.ContentPageBreakSchema;
|
|
65
68
|
exports.ContentPageFurnitureSchema = require_content.ContentPageFurnitureSchema;
|
|
@@ -112,6 +115,7 @@ exports.FieldDescriptorSchema = require_construct.FieldDescriptorSchema;
|
|
|
112
115
|
exports.FormulaBindingsSchema = require_math.FormulaBindingsSchema;
|
|
113
116
|
exports.HeadingGroupSchema = require_package_node.HeadingGroupSchema;
|
|
114
117
|
exports.HeadingParagraphSchema = require_package_node.HeadingParagraphSchema;
|
|
118
|
+
exports.IMAGE_FORMATS = require_content.IMAGE_FORMATS;
|
|
115
119
|
exports.IntervalSchema = require_math.IntervalSchema;
|
|
116
120
|
exports.LayoutFontSchema = require_style.LayoutFontSchema;
|
|
117
121
|
exports.LayoutFrameSchema = require_geometry.LayoutFrameSchema;
|
|
@@ -152,6 +156,7 @@ exports.PageSizeSchema = require_geometry.PageSizeSchema;
|
|
|
152
156
|
exports.ProvenanceChangeSchema = require_construct.ProvenanceChangeSchema;
|
|
153
157
|
exports.ProvenanceDescriptorSchema = require_construct.ProvenanceDescriptorSchema;
|
|
154
158
|
exports.QuantitySchema = require_math.QuantitySchema;
|
|
159
|
+
exports.RUN_FONT_PROPERTY_SHAPE = require_content.RUN_FONT_PROPERTY_SHAPE;
|
|
155
160
|
exports.RunConstructExtentSchema = require_content.RunConstructExtentSchema;
|
|
156
161
|
exports.SCHEMA_FILE_NAMES = require_schema_io.SCHEMA_FILE_NAMES;
|
|
157
162
|
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-D06NwxAJ.cjs";
|
|
9
|
-
import { $ as
|
|
9
|
+
import { $ as ContentImageBlock, $t as ContentSlide, A as ContentEmbeddedObjectSchema, An as findConstructMarkerImbalance, At as ContentSheetConditionalFormat, B as ContentFloatPositionSchema, Bt as ContentSheetImage, C as ContentDocumentSchema, Cn as RunConstructExtent, Ct as ContentSheet, D as ContentEmbeddedObjectBlock, Dn as SheetRuleOperatorSchema, Dt as ContentSheetCellSchema, E as ContentEmbeddedObject, En as SheetRuleOperator, Et as ContentSheetCellCommentSchema, F as ContentFloatAxis, Fn as isRunConstructExtent, Ft as ContentSheetConditionalFormatValueSchema, G as ContentGradientFill, Gt as ContentSheetPrintSettingsSchema, H as ContentFontSchema, Ht as ContentSheetPrintRange, I as ContentFloatAxisSchema, In as resolveCellFillColor, It as ContentSheetDataValidation, J as ContentGradientStyleSchema, Jt as ContentSheetRepeatRange, K as ContentGradientFillSchema, Kt as ContentSheetRange, L as ContentFloatOrigin, Ln as unrecognizedFillKind, Lt as ContentSheetDataValidationSchema, M as ContentFillPatternSchema, Mn as isContentBlock, Mt as ContentSheetConditionalFormatStyle, N as ContentFloatAlign, Nn as isContentConstructEnd, Nt as ContentSheetConditionalFormatStyleSchema, O as ContentEmbeddedObjectBlockSchema, On as clampHeadingLevel, Ot as ContentSheetColumn, P as ContentFloatAlignSchema, Pn as isContentConstructStart, Pt as ContentSheetConditionalFormatValue, Q as ContentHatchStyleSchema, Qt as ContentSheetSchema, R as ContentFloatOriginSchema, Rt as ContentSheetDataValidationType, S as ContentDocument, Sn as RUN_FONT_PROPERTY_SHAPE, St as ContentShapeSchema, T as ContentDrawPageSchema, Tn as RunConstructFault, Tt as ContentSheetCellComment, U as ContentFormula, Ut as ContentSheetPrintRangeSchema, V as ContentFont, Vt as ContentSheetImageSchema, W as ContentFormulaSchema, Wt as ContentSheetPrintSettings, X as ContentHatchFillSchema, Xt as ContentSheetRow, Y as ContentHatchFill, Yt as ContentSheetRepeatRangeSchema, Z as ContentHatchStyle, Zt as ContentSheetRowSchema, _ as ContentConstructEndSchema, _n as DecimalString, _t as ContentRun, a as ContentBlockSchema, an as ContentStrokeStyle, at as ContentPageBreak, b as ContentDefinedName, bn as IMAGE_FORMATS, bt as ContentSectionSchema, c as ContentCellBorders, cn as ContentSubpathSchema, ct as ContentPageFurnitureSchema, d as ContentCellFillSchema, dn as ContentTableCellSchema, dt as ContentParagraphBordersSchema, en as ContentSlideSchema, et as ContentImageBlockSchema, f as ContentCellPatternType, fn as ContentTableRow, ft as ContentParagraphSchema, g as ContentConstructEnd, gn as ContentVectorSchema, gt as ContentPathSegmentSchema, h as ContentCellValueSchema, hn as ContentVector, ht as ContentPathSegment, i as ContentBlock, in as ContentStrokeSchema, it as ContentListMembershipSchema, j as ContentFillPattern, jn as findRunConstructFault, jt as ContentSheetConditionalFormatSchema, k as ContentEmbeddedObjectKind, kn as contentDocumentSharedFields, kt as ContentSheetColumnSchema, l as ContentCellBordersSchema, ln as ContentTable, lt as ContentParagraph, m as ContentCellValue, mn as ContentTableSchema, mt as ContentPathPointSchema, n as ContentBitmapFill, nn as ContentStrokeDash, nt as ContentImageOriginalSchema, o as ContentBorder, on as ContentStrokeStyleSchema, ot as ContentPageBreakSchema, p as ContentCellPatternTypeSchema, pn as ContentTableRowSchema, pt as ContentPathPoint, q as ContentGradientStyle, qt as ContentSheetRangeSchema, r as ContentBitmapFillSchema, rn as ContentStrokeDashSchema, rt as ContentListMembership, s as ContentBorderSchema, sn as ContentSubpath, st as ContentPageFurniture, t as ConstructMarkerImbalance, tn as ContentStroke, tt as ContentImageOriginal, u as ContentCellFill, un as ContentTableCell, ut as ContentParagraphBorders, v as ContentConstructStart, vn as DecimalStringSchema, vt as ContentRunSchema, w as ContentDrawPage, wn as RunConstructExtentSchema, wt as ContentSheetCell, x as ContentDefinedNameSchema, xn as ImageFormat, xt as ContentShape, y as ContentConstructStartSchema, yn as FusedNode, yt as ContentSection, z as ContentFloatPosition, zt as ContentSheetDataValidationTypeSchema } from "./content-BlTHCDvF.cjs";
|
|
10
10
|
import { ContentCodec } from "./codec.cjs";
|
|
11
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";
|
|
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-
|
|
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-Btm9VsaX.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_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, 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, 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 };
|
package/dist/index.d.ts
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.js";
|
|
7
7
|
import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.js";
|
|
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-D06NwxAJ.js";
|
|
9
|
-
import { $ as
|
|
9
|
+
import { $ as ContentImageBlock, $t as ContentSlide, A as ContentEmbeddedObjectSchema, An as findConstructMarkerImbalance, At as ContentSheetConditionalFormat, B as ContentFloatPositionSchema, Bt as ContentSheetImage, C as ContentDocumentSchema, Cn as RunConstructExtent, Ct as ContentSheet, D as ContentEmbeddedObjectBlock, Dn as SheetRuleOperatorSchema, Dt as ContentSheetCellSchema, E as ContentEmbeddedObject, En as SheetRuleOperator, Et as ContentSheetCellCommentSchema, F as ContentFloatAxis, Fn as isRunConstructExtent, Ft as ContentSheetConditionalFormatValueSchema, G as ContentGradientFill, Gt as ContentSheetPrintSettingsSchema, H as ContentFontSchema, Ht as ContentSheetPrintRange, I as ContentFloatAxisSchema, In as resolveCellFillColor, It as ContentSheetDataValidation, J as ContentGradientStyleSchema, Jt as ContentSheetRepeatRange, K as ContentGradientFillSchema, Kt as ContentSheetRange, L as ContentFloatOrigin, Ln as unrecognizedFillKind, Lt as ContentSheetDataValidationSchema, M as ContentFillPatternSchema, Mn as isContentBlock, Mt as ContentSheetConditionalFormatStyle, N as ContentFloatAlign, Nn as isContentConstructEnd, Nt as ContentSheetConditionalFormatStyleSchema, O as ContentEmbeddedObjectBlockSchema, On as clampHeadingLevel, Ot as ContentSheetColumn, P as ContentFloatAlignSchema, Pn as isContentConstructStart, Pt as ContentSheetConditionalFormatValue, Q as ContentHatchStyleSchema, Qt as ContentSheetSchema, R as ContentFloatOriginSchema, Rt as ContentSheetDataValidationType, S as ContentDocument, Sn as RUN_FONT_PROPERTY_SHAPE, St as ContentShapeSchema, T as ContentDrawPageSchema, Tn as RunConstructFault, Tt as ContentSheetCellComment, U as ContentFormula, Ut as ContentSheetPrintRangeSchema, V as ContentFont, Vt as ContentSheetImageSchema, W as ContentFormulaSchema, Wt as ContentSheetPrintSettings, X as ContentHatchFillSchema, Xt as ContentSheetRow, Y as ContentHatchFill, Yt as ContentSheetRepeatRangeSchema, Z as ContentHatchStyle, Zt as ContentSheetRowSchema, _ as ContentConstructEndSchema, _n as DecimalString, _t as ContentRun, a as ContentBlockSchema, an as ContentStrokeStyle, at as ContentPageBreak, b as ContentDefinedName, bn as IMAGE_FORMATS, bt as ContentSectionSchema, c as ContentCellBorders, cn as ContentSubpathSchema, ct as ContentPageFurnitureSchema, d as ContentCellFillSchema, dn as ContentTableCellSchema, dt as ContentParagraphBordersSchema, en as ContentSlideSchema, et as ContentImageBlockSchema, f as ContentCellPatternType, fn as ContentTableRow, ft as ContentParagraphSchema, g as ContentConstructEnd, gn as ContentVectorSchema, gt as ContentPathSegmentSchema, h as ContentCellValueSchema, hn as ContentVector, ht as ContentPathSegment, i as ContentBlock, in as ContentStrokeSchema, it as ContentListMembershipSchema, j as ContentFillPattern, jn as findRunConstructFault, jt as ContentSheetConditionalFormatSchema, k as ContentEmbeddedObjectKind, kn as contentDocumentSharedFields, kt as ContentSheetColumnSchema, l as ContentCellBordersSchema, ln as ContentTable, lt as ContentParagraph, m as ContentCellValue, mn as ContentTableSchema, mt as ContentPathPointSchema, n as ContentBitmapFill, nn as ContentStrokeDash, nt as ContentImageOriginalSchema, o as ContentBorder, on as ContentStrokeStyleSchema, ot as ContentPageBreakSchema, p as ContentCellPatternTypeSchema, pn as ContentTableRowSchema, pt as ContentPathPoint, q as ContentGradientStyle, qt as ContentSheetRangeSchema, r as ContentBitmapFillSchema, rn as ContentStrokeDashSchema, rt as ContentListMembership, s as ContentBorderSchema, sn as ContentSubpath, st as ContentPageFurniture, t as ConstructMarkerImbalance, tn as ContentStroke, tt as ContentImageOriginal, u as ContentCellFill, un as ContentTableCell, ut as ContentParagraphBorders, v as ContentConstructStart, vn as DecimalStringSchema, vt as ContentRunSchema, w as ContentDrawPage, wn as RunConstructExtentSchema, wt as ContentSheetCell, x as ContentDefinedNameSchema, xn as ImageFormat, xt as ContentShape, y as ContentConstructStartSchema, yn as FusedNode, yt as ContentSection, z as ContentFloatPosition, zt as ContentSheetDataValidationTypeSchema } from "./content-BqSMRlSK.js";
|
|
10
10
|
import { ContentCodec } from "./codec.js";
|
|
11
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.js";
|
|
12
12
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
|
|
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-
|
|
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-DPm8hWYt.js";
|
|
14
14
|
import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.js";
|
|
15
15
|
import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
|
|
16
16
|
import { DocumentTree, DocumentTreeSchema } from "./package.js";
|
|
@@ -21,4 +21,4 @@ import { LayoutMetadata, LayoutMetadataSchema } from "./metadata.js";
|
|
|
21
21
|
import { ContentDocumentJson, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTreeJson, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, schemaUriFor } from "./schema-io.js";
|
|
22
22
|
import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.js";
|
|
23
23
|
import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.js";
|
|
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_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, 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, 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 };
|