document-schema 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -6
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/construct-D5pdDPqM.d.cts +204 -0
- package/dist/construct-D5pdDPqM.d.ts +204 -0
- package/dist/construct.cjs +106 -0
- package/dist/construct.d.cts +2 -0
- package/dist/construct.d.ts +2 -0
- package/dist/construct.js +93 -0
- package/dist/{content-CiZf6Fqn.d.ts → content-D3C14yyb.d.ts} +97 -9
- package/dist/content-json-schema-defs.cjs +256 -4
- package/dist/content-json-schema-defs.js +256 -4
- package/dist/{content-BN0PWqpt.d.cts → content-oSmH1_zP.d.cts} +97 -9
- package/dist/content.cjs +32 -0
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +28 -1
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/index.cjs +25 -0
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +4 -3
- package/dist/{math-B7gZJeND.d.cts → math-BlG8Tjk-.d.cts} +3 -3
- package/dist/{math-B7gZJeND.d.ts → math-BlG8Tjk-.d.ts} +3 -3
- package/dist/math.d.cts +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/{package-node-DDPSNOvy.d.cts → package-node-B9qLyhk5.d.ts} +73 -55
- package/dist/{package-node-QVFHQcm8.d.ts → package-node-DUKZHgAg.d.cts} +73 -55
- package/dist/package-node.cjs +32 -12
- package/dist/package-node.d.cts +2 -2
- package/dist/package-node.d.ts +2 -2
- package/dist/package-node.js +28 -14
- package/dist/package.cjs +4 -1
- package/dist/package.d.cts +52 -7
- package/dist/package.d.ts +52 -7
- package/dist/package.js +4 -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/dist/style.d.cts +2 -2
- package/dist/style.d.ts +2 -2
- package/package.json +1 -1
- package/schemas/content-document.schema.json +399 -7
- package/schemas/document-package.schema.json +534 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-B1oTCtzc.cjs";
|
|
2
|
-
import { s as MathExpression } from "./math-
|
|
2
|
+
import { s as MathExpression } from "./math-BlG8Tjk-.cjs";
|
|
3
3
|
import { n as Color } from "./color-AELCDH_b.cjs";
|
|
4
4
|
import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.cjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -121,6 +121,84 @@ declare const ContentPageBreakSchema: z.ZodObject<{
|
|
|
121
121
|
}, z.core.$strip>>>;
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
type ContentPageBreak = z.infer<typeof ContentPageBreakSchema>;
|
|
124
|
+
declare const ContentConstructStartSchema: z.ZodObject<{
|
|
125
|
+
kind: z.ZodLiteral<"constructStart">;
|
|
126
|
+
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
127
|
+
kind: z.ZodLiteral<"contentControl">;
|
|
128
|
+
controlType: z.ZodEnum<{
|
|
129
|
+
date: "date";
|
|
130
|
+
richText: "richText";
|
|
131
|
+
plainText: "plainText";
|
|
132
|
+
checkbox: "checkbox";
|
|
133
|
+
dropDown: "dropDown";
|
|
134
|
+
comboBox: "comboBox";
|
|
135
|
+
picture: "picture";
|
|
136
|
+
repeatingSection: "repeatingSection";
|
|
137
|
+
button: "button";
|
|
138
|
+
index: "index";
|
|
139
|
+
group: "group";
|
|
140
|
+
}>;
|
|
141
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
142
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
143
|
+
lock: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
content: "content";
|
|
145
|
+
container: "container";
|
|
146
|
+
both: "both";
|
|
147
|
+
}>>;
|
|
148
|
+
value: z.ZodOptional<z.ZodString>;
|
|
149
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"field">;
|
|
153
|
+
instruction: z.ZodString;
|
|
154
|
+
cachedResult: z.ZodOptional<z.ZodString>;
|
|
155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
156
|
+
kind: z.ZodLiteral<"anchor">;
|
|
157
|
+
anchorType: z.ZodEnum<{
|
|
158
|
+
comment: "comment";
|
|
159
|
+
bookmark: "bookmark";
|
|
160
|
+
footnote: "footnote";
|
|
161
|
+
endnote: "endnote";
|
|
162
|
+
}>;
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
definition: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
166
|
+
kind: z.ZodLiteral<"link">;
|
|
167
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
168
|
+
kind: z.ZodLiteral<"external">;
|
|
169
|
+
uri: z.ZodString;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
kind: z.ZodLiteral<"internal">;
|
|
172
|
+
anchor: z.ZodString;
|
|
173
|
+
}, z.core.$strict>], "kind">;
|
|
174
|
+
title: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
176
|
+
kind: z.ZodLiteral<"provenance">;
|
|
177
|
+
change: z.ZodEnum<{
|
|
178
|
+
insertion: "insertion";
|
|
179
|
+
deletion: "deletion";
|
|
180
|
+
moveFrom: "moveFrom";
|
|
181
|
+
moveTo: "moveTo";
|
|
182
|
+
formatChange: "formatChange";
|
|
183
|
+
}>;
|
|
184
|
+
author: z.ZodOptional<z.ZodString>;
|
|
185
|
+
dateIso: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
kind: z.ZodLiteral<"division">;
|
|
188
|
+
name: z.ZodOptional<z.ZodString>;
|
|
189
|
+
columnCount: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
href: z.ZodString;
|
|
193
|
+
sectionName: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, z.core.$strict>>;
|
|
195
|
+
}, z.core.$strict>], "kind">;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
type ContentConstructStart = z.infer<typeof ContentConstructStartSchema>;
|
|
198
|
+
declare const ContentConstructEndSchema: z.ZodObject<{
|
|
199
|
+
kind: z.ZodLiteral<"constructEnd">;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
type ContentConstructEnd = z.infer<typeof ContentConstructEndSchema>;
|
|
124
202
|
interface ContentTableCell {
|
|
125
203
|
blocks: ContentBlock[];
|
|
126
204
|
colSpan?: number;
|
|
@@ -156,11 +234,21 @@ interface ContentEmbeddedObjectBlock extends ContentEmbeddedObject {
|
|
|
156
234
|
sourcePath?: string;
|
|
157
235
|
frames?: LayoutFrame[];
|
|
158
236
|
}
|
|
159
|
-
type ContentBlock = ContentParagraph | ContentTable | ContentImageBlock | ContentPageBreak | ContentEmbeddedObjectBlock;
|
|
237
|
+
type ContentBlock = ContentParagraph | ContentTable | ContentImageBlock | ContentPageBreak | ContentEmbeddedObjectBlock | ContentConstructStart | ContentConstructEnd;
|
|
238
|
+
declare function isContentConstructStart(value: unknown): value is ContentConstructStart;
|
|
239
|
+
declare function isContentConstructEnd(value: unknown): value is ContentConstructEnd;
|
|
160
240
|
declare function isContentBlock(value: unknown): value is ContentBlock;
|
|
161
241
|
declare const ContentBlockSchema: z.ZodCustom<ContentBlock, ContentBlock>;
|
|
162
242
|
declare const ContentEmbeddedObjectSchema: z.ZodCustom<ContentEmbeddedObject, ContentEmbeddedObject>;
|
|
163
243
|
declare const ContentEmbeddedObjectBlockSchema: z.ZodCustom<ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlock>;
|
|
244
|
+
type ConstructMarkerImbalance = {
|
|
245
|
+
kind: 'unmatchedEnd';
|
|
246
|
+
index: number;
|
|
247
|
+
} | {
|
|
248
|
+
kind: 'unclosedStart';
|
|
249
|
+
index: number;
|
|
250
|
+
};
|
|
251
|
+
declare function findConstructMarkerImbalance(blocks: readonly ContentBlock[]): ConstructMarkerImbalance | undefined;
|
|
164
252
|
declare const ContentStrokeStyleSchema: z.ZodEnum<{
|
|
165
253
|
solid: "solid";
|
|
166
254
|
dashed: "dashed";
|
|
@@ -1580,9 +1668,9 @@ declare const contentDocumentSharedFields: {
|
|
|
1580
1668
|
symbol: z.ZodString;
|
|
1581
1669
|
name: z.ZodOptional<z.ZodString>;
|
|
1582
1670
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1583
|
-
time: "time";
|
|
1584
1671
|
length: "length";
|
|
1585
1672
|
mass: "mass";
|
|
1673
|
+
time: "time";
|
|
1586
1674
|
electricCurrent: "electricCurrent";
|
|
1587
1675
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1588
1676
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1638,9 +1726,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1638
1726
|
symbol: z.ZodString;
|
|
1639
1727
|
name: z.ZodOptional<z.ZodString>;
|
|
1640
1728
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1641
|
-
time: "time";
|
|
1642
1729
|
length: "length";
|
|
1643
1730
|
mass: "mass";
|
|
1731
|
+
time: "time";
|
|
1644
1732
|
electricCurrent: "electricCurrent";
|
|
1645
1733
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1646
1734
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -1726,9 +1814,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1726
1814
|
symbol: z.ZodString;
|
|
1727
1815
|
name: z.ZodOptional<z.ZodString>;
|
|
1728
1816
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
1729
|
-
time: "time";
|
|
1730
1817
|
length: "length";
|
|
1731
1818
|
mass: "mass";
|
|
1819
|
+
time: "time";
|
|
1732
1820
|
electricCurrent: "electricCurrent";
|
|
1733
1821
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
1734
1822
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -2015,9 +2103,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2015
2103
|
symbol: z.ZodString;
|
|
2016
2104
|
name: z.ZodOptional<z.ZodString>;
|
|
2017
2105
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2018
|
-
time: "time";
|
|
2019
2106
|
length: "length";
|
|
2020
2107
|
mass: "mass";
|
|
2108
|
+
time: "time";
|
|
2021
2109
|
electricCurrent: "electricCurrent";
|
|
2022
2110
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2023
2111
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -2279,9 +2367,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2279
2367
|
symbol: z.ZodString;
|
|
2280
2368
|
name: z.ZodOptional<z.ZodString>;
|
|
2281
2369
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2282
|
-
time: "time";
|
|
2283
2370
|
length: "length";
|
|
2284
2371
|
mass: "mass";
|
|
2372
|
+
time: "time";
|
|
2285
2373
|
electricCurrent: "electricCurrent";
|
|
2286
2374
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2287
2375
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -2347,9 +2435,9 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2347
2435
|
symbol: z.ZodString;
|
|
2348
2436
|
name: z.ZodOptional<z.ZodString>;
|
|
2349
2437
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
2350
|
-
time: "time";
|
|
2351
2438
|
length: "length";
|
|
2352
2439
|
mass: "mass";
|
|
2440
|
+
time: "time";
|
|
2353
2441
|
electricCurrent: "electricCurrent";
|
|
2354
2442
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
2355
2443
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -2390,4 +2478,4 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2390
2478
|
}, z.core.$strip>], "kind">;
|
|
2391
2479
|
type ContentDocument = z.infer<typeof ContentDocumentSchema>;
|
|
2392
2480
|
//#endregion
|
|
2393
|
-
export {
|
|
2481
|
+
export { ContentSheetPrintRangeSchema as $, ContentPageBreakSchema as A, isContentConstructEnd as At, ContentSectionSchema as B, ContentFormula as C, DecimalString as Ct, ContentListMembership as D, contentDocumentSharedFields as Dt, ContentImageBlockSchema as E, clampHeadingLevel as Et, ContentPathSegment as F, ContentSheetCellComment as G, ContentShapeSchema as H, ContentPathSegmentSchema as I, ContentSheetColumn as J, ContentSheetCellCommentSchema as K, ContentRun as L, ContentParagraphSchema as M, ContentPathPoint as N, ContentListMembershipSchema as O, findConstructMarkerImbalance as Ot, ContentPathPointSchema as P, ContentSheetPrintRange as Q, ContentRunSchema as R, ContentEmbeddedObjectSchema as S, ContentVectorSchema as St, ContentImageBlock as T, FusedNode as Tt, ContentSheet as U, ContentShape as V, ContentSheetCell as W, ContentSheetImage as X, ContentSheetColumnSchema as Y, ContentSheetImageSchema as Z, ContentDrawPageSchema as _, ContentTableCellSchema as _t, ContentBorderSchema as a, ContentSheetRowSchema as at, ContentEmbeddedObjectBlockSchema as b, ContentTableSchema as bt, ContentCellValue as c, ContentSlideSchema as ct, ContentConstructEndSchema as d, ContentStrokeStyle as dt, ContentSheetPrintSettings as et, ContentConstructStart as f, ContentStrokeStyleSchema as ft, ContentDrawPage as g, ContentTableCell as gt, ContentDocumentSchema as h, ContentTable as ht, ContentBorder as i, ContentSheetRow as it, ContentParagraph as j, isContentConstructStart as jt, ContentPageBreak as k, isContentBlock as kt, ContentCellValueSchema as l, ContentStroke as lt, ContentDocument as m, ContentSubpathSchema as mt, ContentBlock as n, ContentSheetRepeatRange as nt, ContentCellBorders as o, ContentSheetSchema as ot, ContentConstructStartSchema as p, ContentSubpath as pt, ContentSheetCellSchema as q, ContentBlockSchema as r, ContentSheetRepeatRangeSchema as rt, ContentCellBordersSchema as s, ContentSlide as st, ConstructMarkerImbalance as t, ContentSheetPrintSettingsSchema as tt, ContentConstructEnd as u, ContentStrokeSchema as ut, ContentEmbeddedObject as v, ContentTableRow as vt, ContentFormulaSchema as w, DecimalStringSchema as wt, ContentEmbeddedObjectKind as x, ContentVector as xt, ContentEmbeddedObjectBlock as y, ContentTableRowSchema as yt, ContentSection as z };
|
package/dist/content.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_color = require("./color.cjs");
|
|
3
|
+
const require_construct = require("./construct.cjs");
|
|
3
4
|
const require_math = require("./math.cjs");
|
|
4
5
|
const require_geometry = require("./geometry.cjs");
|
|
5
6
|
const require_mathml = require("./mathml.cjs");
|
|
@@ -57,6 +58,11 @@ const ContentPageBreakSchema = zod.z.object({
|
|
|
57
58
|
sourcePath: zod.z.string().optional(),
|
|
58
59
|
frames: zod.z.array(require_geometry.LayoutFrameSchema).optional()
|
|
59
60
|
});
|
|
61
|
+
const ContentConstructStartSchema = zod.z.object({
|
|
62
|
+
kind: zod.z.literal("constructStart"),
|
|
63
|
+
descriptor: require_construct.ConstructDescriptorSchema
|
|
64
|
+
});
|
|
65
|
+
const ContentConstructEndSchema = zod.z.object({ kind: zod.z.literal("constructEnd") });
|
|
60
66
|
function isRecord(value) {
|
|
61
67
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
62
68
|
}
|
|
@@ -78,6 +84,12 @@ function isContentEmbeddedObject(value) {
|
|
|
78
84
|
function isContentEmbeddedObjectBlock(value) {
|
|
79
85
|
return isRecord(value) && value.kind === "embeddedObject" && isContentEmbeddedObject(value);
|
|
80
86
|
}
|
|
87
|
+
function isContentConstructStart(value) {
|
|
88
|
+
return isRecord(value) && value.kind === "constructStart" && require_construct.ConstructDescriptorSchema.safeParse(value.descriptor).success;
|
|
89
|
+
}
|
|
90
|
+
function isContentConstructEnd(value) {
|
|
91
|
+
return isRecord(value) && value.kind === "constructEnd";
|
|
92
|
+
}
|
|
81
93
|
function isContentBlock(value) {
|
|
82
94
|
if (!isRecord(value)) return false;
|
|
83
95
|
const kind = value.kind;
|
|
@@ -86,11 +98,26 @@ function isContentBlock(value) {
|
|
|
86
98
|
if (kind === "pageBreak") return true;
|
|
87
99
|
if (kind === "table") return Array.isArray(value.rows) && value.rows.every(isContentTableRow) && Array.isArray(value.columnWidthsPt) && value.columnWidthsPt.every((w) => typeof w === "number");
|
|
88
100
|
if (kind === "embeddedObject") return isContentEmbeddedObject(value);
|
|
101
|
+
if (kind === "constructStart") return isContentConstructStart(value);
|
|
102
|
+
if (kind === "constructEnd") return true;
|
|
89
103
|
return false;
|
|
90
104
|
}
|
|
91
105
|
const ContentBlockSchema = zod.z.custom(isContentBlock);
|
|
92
106
|
const ContentEmbeddedObjectSchema = zod.z.custom(isContentEmbeddedObject);
|
|
93
107
|
const ContentEmbeddedObjectBlockSchema = zod.z.custom(isContentEmbeddedObjectBlock);
|
|
108
|
+
function findConstructMarkerImbalance(blocks) {
|
|
109
|
+
const openStartIndices = [];
|
|
110
|
+
for (const [index, block] of blocks.entries()) if (isContentConstructStart(block)) openStartIndices.push(index);
|
|
111
|
+
else if (isContentConstructEnd(block) && openStartIndices.pop() === void 0) return {
|
|
112
|
+
kind: "unmatchedEnd",
|
|
113
|
+
index
|
|
114
|
+
};
|
|
115
|
+
const outermostUnclosed = openStartIndices[0];
|
|
116
|
+
if (outermostUnclosed !== void 0) return {
|
|
117
|
+
kind: "unclosedStart",
|
|
118
|
+
index: outermostUnclosed
|
|
119
|
+
};
|
|
120
|
+
}
|
|
94
121
|
const ContentStrokeStyleSchema = zod.z.enum([
|
|
95
122
|
"solid",
|
|
96
123
|
"dashed",
|
|
@@ -397,6 +424,8 @@ exports.ContentBlockSchema = ContentBlockSchema;
|
|
|
397
424
|
exports.ContentBorderSchema = ContentBorderSchema;
|
|
398
425
|
exports.ContentCellBordersSchema = ContentCellBordersSchema;
|
|
399
426
|
exports.ContentCellValueSchema = ContentCellValueSchema;
|
|
427
|
+
exports.ContentConstructEndSchema = ContentConstructEndSchema;
|
|
428
|
+
exports.ContentConstructStartSchema = ContentConstructStartSchema;
|
|
400
429
|
exports.ContentDocumentSchema = ContentDocumentSchema;
|
|
401
430
|
exports.ContentDrawPageSchema = ContentDrawPageSchema;
|
|
402
431
|
exports.ContentEmbeddedObjectBlockSchema = ContentEmbeddedObjectBlockSchema;
|
|
@@ -431,4 +460,7 @@ exports.ContentVectorSchema = ContentVectorSchema;
|
|
|
431
460
|
exports.DecimalStringSchema = DecimalStringSchema;
|
|
432
461
|
exports.clampHeadingLevel = clampHeadingLevel;
|
|
433
462
|
exports.contentDocumentSharedFields = contentDocumentSharedFields;
|
|
463
|
+
exports.findConstructMarkerImbalance = findConstructMarkerImbalance;
|
|
434
464
|
exports.isContentBlock = isContentBlock;
|
|
465
|
+
exports.isContentConstructEnd = isContentConstructEnd;
|
|
466
|
+
exports.isContentConstructStart = isContentConstructStart;
|
package/dist/content.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, contentDocumentSharedFields, isContentBlock };
|
|
1
|
+
import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-oSmH1_zP.cjs";
|
|
2
|
+
export { ConstructMarkerImbalance, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart };
|
package/dist/content.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, contentDocumentSharedFields, isContentBlock };
|
|
1
|
+
import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-D3C14yyb.js";
|
|
2
|
+
export { ConstructMarkerImbalance, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart };
|
package/dist/content.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColorSchema } from "./color.js";
|
|
2
|
+
import { ConstructDescriptorSchema } from "./construct.js";
|
|
2
3
|
import { MathExpressionSchema, MathPresentationSchema, MathProvenanceSchema, SymbolTableSchema } from "./math.js";
|
|
3
4
|
import { BoxSchema, LayoutFrameSchema, MarginsSchema, PageSizeSchema } from "./geometry.js";
|
|
4
5
|
import { MathMlNodeSchema } from "./mathml.js";
|
|
@@ -56,6 +57,11 @@ const ContentPageBreakSchema = z.object({
|
|
|
56
57
|
sourcePath: z.string().optional(),
|
|
57
58
|
frames: z.array(LayoutFrameSchema).optional()
|
|
58
59
|
});
|
|
60
|
+
const ContentConstructStartSchema = z.object({
|
|
61
|
+
kind: z.literal("constructStart"),
|
|
62
|
+
descriptor: ConstructDescriptorSchema
|
|
63
|
+
});
|
|
64
|
+
const ContentConstructEndSchema = z.object({ kind: z.literal("constructEnd") });
|
|
59
65
|
function isRecord(value) {
|
|
60
66
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
61
67
|
}
|
|
@@ -77,6 +83,12 @@ function isContentEmbeddedObject(value) {
|
|
|
77
83
|
function isContentEmbeddedObjectBlock(value) {
|
|
78
84
|
return isRecord(value) && value.kind === "embeddedObject" && isContentEmbeddedObject(value);
|
|
79
85
|
}
|
|
86
|
+
function isContentConstructStart(value) {
|
|
87
|
+
return isRecord(value) && value.kind === "constructStart" && ConstructDescriptorSchema.safeParse(value.descriptor).success;
|
|
88
|
+
}
|
|
89
|
+
function isContentConstructEnd(value) {
|
|
90
|
+
return isRecord(value) && value.kind === "constructEnd";
|
|
91
|
+
}
|
|
80
92
|
function isContentBlock(value) {
|
|
81
93
|
if (!isRecord(value)) return false;
|
|
82
94
|
const kind = value.kind;
|
|
@@ -85,11 +97,26 @@ function isContentBlock(value) {
|
|
|
85
97
|
if (kind === "pageBreak") return true;
|
|
86
98
|
if (kind === "table") return Array.isArray(value.rows) && value.rows.every(isContentTableRow) && Array.isArray(value.columnWidthsPt) && value.columnWidthsPt.every((w) => typeof w === "number");
|
|
87
99
|
if (kind === "embeddedObject") return isContentEmbeddedObject(value);
|
|
100
|
+
if (kind === "constructStart") return isContentConstructStart(value);
|
|
101
|
+
if (kind === "constructEnd") return true;
|
|
88
102
|
return false;
|
|
89
103
|
}
|
|
90
104
|
const ContentBlockSchema = z.custom(isContentBlock);
|
|
91
105
|
const ContentEmbeddedObjectSchema = z.custom(isContentEmbeddedObject);
|
|
92
106
|
const ContentEmbeddedObjectBlockSchema = z.custom(isContentEmbeddedObjectBlock);
|
|
107
|
+
function findConstructMarkerImbalance(blocks) {
|
|
108
|
+
const openStartIndices = [];
|
|
109
|
+
for (const [index, block] of blocks.entries()) if (isContentConstructStart(block)) openStartIndices.push(index);
|
|
110
|
+
else if (isContentConstructEnd(block) && openStartIndices.pop() === void 0) return {
|
|
111
|
+
kind: "unmatchedEnd",
|
|
112
|
+
index
|
|
113
|
+
};
|
|
114
|
+
const outermostUnclosed = openStartIndices[0];
|
|
115
|
+
if (outermostUnclosed !== void 0) return {
|
|
116
|
+
kind: "unclosedStart",
|
|
117
|
+
index: outermostUnclosed
|
|
118
|
+
};
|
|
119
|
+
}
|
|
93
120
|
const ContentStrokeStyleSchema = z.enum([
|
|
94
121
|
"solid",
|
|
95
122
|
"dashed",
|
|
@@ -392,4 +419,4 @@ const ContentDocumentSchema = z.discriminatedUnion("kind", [
|
|
|
392
419
|
})
|
|
393
420
|
]);
|
|
394
421
|
//#endregion
|
|
395
|
-
export { ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, clampHeadingLevel, contentDocumentSharedFields, isContentBlock };
|
|
422
|
+
export { ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart };
|
package/dist/definitions.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as ContentRun, j as ContentParagraph } from "./content-oSmH1_zP.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 { L as ContentRun, j as ContentParagraph } from "./content-D3C14yyb.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/definitions.d.ts
|
|
4
4
|
declare const StyleParagraphPropertiesSchema: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_a1 = require("./a1.cjs");
|
|
3
3
|
require("./codec.cjs");
|
|
4
4
|
const require_color = require("./color.cjs");
|
|
5
|
+
const require_construct = require("./construct.cjs");
|
|
5
6
|
const require_math = require("./math.cjs");
|
|
6
7
|
const require_geometry = require("./geometry.cjs");
|
|
7
8
|
const require_mathml = require("./mathml.cjs");
|
|
@@ -17,15 +18,23 @@ require("./font-port.cjs");
|
|
|
17
18
|
require("./text-layout.cjs");
|
|
18
19
|
require("./math-layout.cjs");
|
|
19
20
|
exports.AlignmentSchema = require_style.AlignmentSchema;
|
|
21
|
+
exports.AnchorDescriptorSchema = require_construct.AnchorDescriptorSchema;
|
|
22
|
+
exports.AnchorTypeSchema = require_construct.AnchorTypeSchema;
|
|
20
23
|
exports.BoxSchema = require_geometry.BoxSchema;
|
|
21
24
|
exports.COLOR_BLACK = require_color.COLOR_BLACK;
|
|
22
25
|
exports.CONTENT_DEFS = require_content_json_schema_defs.CONTENT_DEFS;
|
|
23
26
|
exports.CONTENT_DOCUMENT_URI = require_content_json_schema_defs.CONTENT_DOCUMENT_URI;
|
|
24
27
|
exports.ColorSchema = require_color.ColorSchema;
|
|
28
|
+
exports.ConstructDescriptorSchema = require_construct.ConstructDescriptorSchema;
|
|
25
29
|
exports.ContentBlockSchema = require_content.ContentBlockSchema;
|
|
26
30
|
exports.ContentBorderSchema = require_content.ContentBorderSchema;
|
|
27
31
|
exports.ContentCellBordersSchema = require_content.ContentCellBordersSchema;
|
|
28
32
|
exports.ContentCellValueSchema = require_content.ContentCellValueSchema;
|
|
33
|
+
exports.ContentConstructEndSchema = require_content.ContentConstructEndSchema;
|
|
34
|
+
exports.ContentConstructStartSchema = require_content.ContentConstructStartSchema;
|
|
35
|
+
exports.ContentControlDescriptorSchema = require_construct.ContentControlDescriptorSchema;
|
|
36
|
+
exports.ContentControlLockSchema = require_construct.ContentControlLockSchema;
|
|
37
|
+
exports.ContentControlTypeSchema = require_construct.ContentControlTypeSchema;
|
|
29
38
|
exports.ContentDocumentSchema = require_content.ContentDocumentSchema;
|
|
30
39
|
exports.ContentDrawPageSchema = require_content.ContentDrawPageSchema;
|
|
31
40
|
exports.ContentEmbeddedObjectBlockSchema = require_content.ContentEmbeddedObjectBlockSchema;
|
|
@@ -62,17 +71,22 @@ exports.DecimalStringSchema = require_content.DecimalStringSchema;
|
|
|
62
71
|
exports.DefinitionEntrySchema = require_definitions.DefinitionEntrySchema;
|
|
63
72
|
exports.DefinitionsTableSchema = require_definitions.DefinitionsTableSchema;
|
|
64
73
|
exports.DimensionVectorSchema = require_math.DimensionVectorSchema;
|
|
74
|
+
exports.DivisionDescriptorSchema = require_construct.DivisionDescriptorSchema;
|
|
75
|
+
exports.DivisionSourceSchema = require_construct.DivisionSourceSchema;
|
|
65
76
|
exports.DocumentPackageSchema = require_package.DocumentPackageSchema;
|
|
66
77
|
exports.DrawPageDescriptorSchema = require_package_node.DrawPageDescriptorSchema;
|
|
67
78
|
exports.DrawPageGroupSchema = require_package_node.DrawPageGroupSchema;
|
|
68
79
|
exports.EMBEDDED_OBJECT_KINDS = require_content_json_schema_defs.EMBEDDED_OBJECT_KINDS;
|
|
69
80
|
exports.ExactRationalSchema = require_math.ExactRationalSchema;
|
|
81
|
+
exports.FieldDescriptorSchema = require_construct.FieldDescriptorSchema;
|
|
70
82
|
exports.HeadingGroupSchema = require_package_node.HeadingGroupSchema;
|
|
71
83
|
exports.HeadingParagraphSchema = require_package_node.HeadingParagraphSchema;
|
|
72
84
|
exports.LayoutFontSchema = require_style.LayoutFontSchema;
|
|
73
85
|
exports.LayoutFrameSchema = require_geometry.LayoutFrameSchema;
|
|
74
86
|
exports.LayoutMetadataSchema = require_metadata.LayoutMetadataSchema;
|
|
75
87
|
exports.LayoutSchemaDemotedError = require_schema_io.LayoutSchemaDemotedError;
|
|
88
|
+
exports.LinkDescriptorSchema = require_construct.LinkDescriptorSchema;
|
|
89
|
+
exports.LinkTargetSchema = require_construct.LinkTargetSchema;
|
|
76
90
|
exports.ListGroupSchema = require_package_node.ListGroupSchema;
|
|
77
91
|
exports.ListParagraphSchema = require_package_node.ListParagraphSchema;
|
|
78
92
|
exports.MAX_SAFE_INTEGER = require_content_json_schema_defs.MAX_SAFE_INTEGER;
|
|
@@ -102,17 +116,22 @@ exports.MathUnitSchema = require_math.MathUnitSchema;
|
|
|
102
116
|
exports.MathUnparsedSchema = require_math.MathUnparsedSchema;
|
|
103
117
|
exports.PAGE_SIZE_A4 = require_geometry.PAGE_SIZE_A4;
|
|
104
118
|
exports.PAGE_SIZE_LETTER = require_geometry.PAGE_SIZE_LETTER;
|
|
119
|
+
exports.PackageBlockLeafSchema = require_package_node.PackageBlockLeafSchema;
|
|
105
120
|
exports.PackageGroupSchema = require_package_node.PackageGroupSchema;
|
|
106
121
|
exports.PackageLeafSchema = require_package_node.PackageLeafSchema;
|
|
107
122
|
exports.PackageNodeSchema = require_package_node.PackageNodeSchema;
|
|
108
123
|
exports.PageSizeSchema = require_geometry.PageSizeSchema;
|
|
124
|
+
exports.ProvenanceChangeSchema = require_construct.ProvenanceChangeSchema;
|
|
125
|
+
exports.ProvenanceDescriptorSchema = require_construct.ProvenanceDescriptorSchema;
|
|
109
126
|
exports.SCHEMA_FILE_NAMES = require_schema_io.SCHEMA_FILE_NAMES;
|
|
110
127
|
exports.SI_BASE_DIMENSIONS = require_math.SI_BASE_DIMENSIONS;
|
|
111
128
|
exports.SLIDE_SIZE_STANDARD = require_geometry.SLIDE_SIZE_STANDARD;
|
|
112
129
|
exports.SLIDE_SIZE_WIDESCREEN = require_geometry.SLIDE_SIZE_WIDESCREEN;
|
|
113
130
|
exports.SchemaVersionMismatchError = require_schema_io.SchemaVersionMismatchError;
|
|
131
|
+
exports.SectionConstructGroupSchema = require_package_node.SectionConstructGroupSchema;
|
|
114
132
|
exports.SectionDescriptorSchema = require_package_node.SectionDescriptorSchema;
|
|
115
133
|
exports.SectionGroupSchema = require_package_node.SectionGroupSchema;
|
|
134
|
+
exports.ShapeConstructGroupSchema = require_package_node.ShapeConstructGroupSchema;
|
|
116
135
|
exports.ShapeDescriptorSchema = require_package_node.ShapeDescriptorSchema;
|
|
117
136
|
exports.ShapeGroupSchema = require_package_node.ShapeGroupSchema;
|
|
118
137
|
exports.SheetDescriptorSchema = require_package_node.SheetDescriptorSchema;
|
|
@@ -137,16 +156,22 @@ exports.contentDocumentWithSchema = require_schema_io.contentDocumentWithSchema;
|
|
|
137
156
|
exports.documentFromJson = require_schema_io.documentFromJson;
|
|
138
157
|
exports.documentPackageWithSchema = require_schema_io.documentPackageWithSchema;
|
|
139
158
|
exports.documentSchemaKindOf = require_schema_io.documentSchemaKindOf;
|
|
159
|
+
exports.findConstructMarkerImbalance = require_content.findConstructMarkerImbalance;
|
|
140
160
|
exports.isContentBlock = require_content.isContentBlock;
|
|
161
|
+
exports.isContentConstructEnd = require_content.isContentConstructEnd;
|
|
162
|
+
exports.isContentConstructStart = require_content.isContentConstructStart;
|
|
141
163
|
exports.isDrawPageGroupNode = require_package_node.isDrawPageGroupNode;
|
|
142
164
|
exports.isHeadingGroupNode = require_package_node.isHeadingGroupNode;
|
|
143
165
|
exports.isListGroupNode = require_package_node.isListGroupNode;
|
|
144
166
|
exports.isMathExpression = require_math.isMathExpression;
|
|
145
167
|
exports.isMathMlNode = require_mathml.isMathMlNode;
|
|
168
|
+
exports.isPackageBlockLeaf = require_package_node.isPackageBlockLeaf;
|
|
146
169
|
exports.isPackageGroup = require_package_node.isPackageGroup;
|
|
147
170
|
exports.isPackageLeaf = require_package_node.isPackageLeaf;
|
|
148
171
|
exports.isPackageNode = require_package_node.isPackageNode;
|
|
172
|
+
exports.isSectionConstructGroupNode = require_package_node.isSectionConstructGroupNode;
|
|
149
173
|
exports.isSectionGroupNode = require_package_node.isSectionGroupNode;
|
|
174
|
+
exports.isShapeConstructGroupNode = require_package_node.isShapeConstructGroupNode;
|
|
150
175
|
exports.isShapeGroupNode = require_package_node.isShapeGroupNode;
|
|
151
176
|
exports.isSheetGroupNode = require_package_node.isSheetGroupNode;
|
|
152
177
|
exports.isSlideGroupNode = require_package_node.isSlideGroupNode;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.cjs";
|
|
2
2
|
import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-B1oTCtzc.cjs";
|
|
3
|
-
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-
|
|
3
|
+
import { A as MathUncertaintySchema, C as MathSum, D as MathSymbolEntry, E as MathSymSchema, F as SI_BASE_DIMENSIONS, I as SiBaseDimension, L as SymbolTable, M as MathUnitSchema, N as MathUnparsed, O as MathSymbolEntrySchema, P as MathUnparsedSchema, R as SymbolTableSchema, S as MathQtySchema, T as MathSym, _ as MathProd, a as MathApp, b as MathProvenanceSchema, c as MathExpressionSchema, d as MathNormalisationContext, f as MathNormalisationContextSchema, g as MathPresentationSchema, h as MathPresentation, i as ExactRationalSchema, j as MathUnit, k as MathUncertainty, l as MathMatrix, m as MathNumSchema, n as DimensionVectorSchema, o as MathAppSchema, p as MathNum, r as ExactRational, s as MathExpression, t as DimensionVector, u as MathMatrixSchema, v as MathProdSchema, w as MathSumSchema, x as MathQty, y as MathProvenance, z as isMathExpression } from "./math-BlG8Tjk-.cjs";
|
|
4
4
|
import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.cjs";
|
|
5
5
|
import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.cjs";
|
|
6
|
-
import { $ as
|
|
6
|
+
import { $ as ContentSheetPrintRangeSchema, A as ContentPageBreakSchema, At as isContentConstructEnd, B as ContentSectionSchema, C as ContentFormula, Ct as DecimalString, D as ContentListMembership, Dt as contentDocumentSharedFields, E as ContentImageBlockSchema, Et as clampHeadingLevel, F as ContentPathSegment, G as ContentSheetCellComment, H as ContentShapeSchema, I as ContentPathSegmentSchema, J as ContentSheetColumn, K as ContentSheetCellCommentSchema, L as ContentRun, M as ContentParagraphSchema, N as ContentPathPoint, O as ContentListMembershipSchema, Ot as findConstructMarkerImbalance, P as ContentPathPointSchema, Q as ContentSheetPrintRange, R as ContentRunSchema, S as ContentEmbeddedObjectSchema, St as ContentVectorSchema, T as ContentImageBlock, Tt as FusedNode, U as ContentSheet, V as ContentShape, W as ContentSheetCell, X as ContentSheetImage, Y as ContentSheetColumnSchema, Z as ContentSheetImageSchema, _ as ContentDrawPageSchema, _t as ContentTableCellSchema, a as ContentBorderSchema, at as ContentSheetRowSchema, b as ContentEmbeddedObjectBlockSchema, bt as ContentTableSchema, c as ContentCellValue, ct as ContentSlideSchema, d as ContentConstructEndSchema, dt as ContentStrokeStyle, et as ContentSheetPrintSettings, f as ContentConstructStart, ft as ContentStrokeStyleSchema, g as ContentDrawPage, gt as ContentTableCell, h as ContentDocumentSchema, ht as ContentTable, i as ContentBorder, it as ContentSheetRow, j as ContentParagraph, jt as isContentConstructStart, k as ContentPageBreak, kt as isContentBlock, l as ContentCellValueSchema, lt as ContentStroke, m as ContentDocument, mt as ContentSubpathSchema, n as ContentBlock, nt as ContentSheetRepeatRange, o as ContentCellBorders, ot as ContentSheetSchema, p as ContentConstructStartSchema, pt as ContentSubpath, q as ContentSheetCellSchema, r as ContentBlockSchema, rt as ContentSheetRepeatRangeSchema, s as ContentCellBordersSchema, st as ContentSlide, t as ConstructMarkerImbalance, tt as ContentSheetPrintSettingsSchema, u as ContentConstructEnd, ut as ContentStrokeSchema, v as ContentEmbeddedObject, vt as ContentTableRow, w as ContentFormulaSchema, wt as DecimalStringSchema, x as ContentEmbeddedObjectKind, xt as ContentVector, y as ContentEmbeddedObjectBlock, yt as ContentTableRowSchema, z as ContentSection } from "./content-oSmH1_zP.cjs";
|
|
7
7
|
import { ContentCodec } from "./codec.cjs";
|
|
8
|
+
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-D5pdDPqM.cjs";
|
|
8
9
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.cjs";
|
|
9
10
|
import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.cjs";
|
|
10
11
|
import { FontFace, FontRegistryOptions, FontSubstitution, ProvidedFont } from "./font-port.cjs";
|
|
11
12
|
import { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema } from "./style.cjs";
|
|
12
13
|
import { LayoutMetadata, LayoutMetadataSchema } from "./metadata.cjs";
|
|
13
|
-
import { A as
|
|
14
|
+
import { $ as isSectionConstructGroupNode, A as ShapeChild, B as SheetGroupNode, C as SectionChild, D as SectionDescriptorSchema, E as SectionDescriptor, F as ShapeGroupNode, G as SlideGroupSchema, H as SlideDescriptor, I as ShapeGroupSchema, J as isListGroupNode, K as isDrawPageGroupNode, L as SheetChild, M as ShapeConstructGroupSchema, N as ShapeDescriptor, O as SectionGroupNode, P as ShapeDescriptorSchema, Q as isPackageNode, R as SheetDescriptor, S as PackageNodeSchema, T as SectionConstructGroupSchema, U as SlideDescriptorSchema, V as SheetGroupSchema, W as SlideGroupNode, X as isPackageGroup, Y as isPackageBlockLeaf, Z as isPackageLeaf, _ as PackageGroup, a as DrawPageGroupSchema, b as PackageLeafSchema, c as HeadingParagraph, d as ListGroupNode, et as isSectionGroupNode, f as ListGroupSchema, g as PackageBlockLeafSchema, h as PackageBlockLeaf, i as DrawPageGroupNode, it as isSlideGroupNode, j as ShapeConstructGroupNode, k as SectionGroupSchema, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isShapeGroupNode, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isSheetGroupNode, s as HeadingGroupSchema, t as DrawPageChild, tt as isShapeConstructGroupNode, u as ListChild, v as PackageGroupSchema, w as SectionConstructGroupNode, x as PackageNode, y as PackageLeaf, z as SheetDescriptorSchema } from "./package-node-DUKZHgAg.cjs";
|
|
14
15
|
import { DocumentPackage, DocumentPackageSchema } from "./package.cjs";
|
|
15
16
|
import { ContentDocumentJson, DocumentJsonResult, DocumentPackageJson, DocumentSchemaKind, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, schemaUriFor } from "./schema-io.cjs";
|
|
16
17
|
import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.cjs";
|
|
17
18
|
import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.cjs";
|
|
18
|
-
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, 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, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
19
|
+
export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, 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, PackageBlockLeaf, PackageBlockLeafSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, PageSize, PageSizeSchema, Point, PositionedFormula, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, ProvidedFont, 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, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, findConstructMarkerImbalance, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|