js.documents 13.0.0 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/dist/codecs/read.cjs +1 -1
  3. package/dist/codecs/read.js +1 -1
  4. package/dist/codecs/registry.cjs +1 -1
  5. package/dist/codecs/registry.js +1 -1
  6. package/dist/convert/composition.cjs +1 -1
  7. package/dist/convert/composition.js +1 -1
  8. package/dist/edit/docx/content.cjs +1 -0
  9. package/dist/edit/docx/content.js +1 -0
  10. package/dist/edit/docx/table.cjs +14 -0
  11. package/dist/edit/docx/table.d.cts +2 -0
  12. package/dist/edit/docx/table.d.ts +2 -0
  13. package/dist/edit/docx/table.js +14 -0
  14. package/dist/edit/odp/slide.d.cts +1 -1
  15. package/dist/edit/odp/slide.d.ts +1 -1
  16. package/dist/edit/odt/content.cjs +2 -0
  17. package/dist/edit/odt/content.d.cts +1 -1
  18. package/dist/edit/odt/content.d.ts +1 -1
  19. package/dist/edit/odt/content.js +2 -0
  20. package/dist/edit/odt/editor.d.cts +1 -1
  21. package/dist/edit/odt/editor.d.ts +1 -1
  22. package/dist/edit/odt/table.cjs +59 -6
  23. package/dist/edit/odt/table.d.cts +1 -1
  24. package/dist/edit/odt/table.d.ts +1 -1
  25. package/dist/edit/odt/table.js +59 -6
  26. package/dist/index.cjs +3 -2
  27. package/dist/index.d.cts +3 -3
  28. package/dist/index.d.ts +3 -3
  29. package/dist/index.js +2 -2
  30. package/dist/model/bytes.cjs +5 -8
  31. package/dist/model/bytes.js +5 -8
  32. package/dist/svg/text.cjs +41 -8
  33. package/dist/svg/text.d.cts +25 -3
  34. package/dist/svg/text.d.ts +25 -3
  35. package/dist/svg/text.js +40 -8
  36. package/dist/svg/xml-encoding.cjs +91 -0
  37. package/dist/svg/xml-encoding.d.cts +32 -0
  38. package/dist/svg/xml-encoding.d.ts +32 -0
  39. package/dist/svg/xml-encoding.js +88 -0
  40. package/dist/{table-BT3wN3Hd.d.cts → table-Bt9ahRyh.d.cts} +2 -0
  41. package/dist/{table-DhTy5Re7.d.ts → table-Cou5rKOo.d.ts} +2 -0
  42. package/package.json +14 -14
package/README.md CHANGED
@@ -806,7 +806,7 @@ The package is layered from generic primitives outward to the two conversion dir
806
806
  - **`src/latex/`** — the LaTeX presentation → `MathExpression` lowering: `temml.ts` is the pinned-parser boundary (exact-version temml, its internal parse API guarded behind structural type guards), `lower.ts` the mechanical rules and their degradations, `symbols.ts` the glyph/command map and the prose definition scanner, `rational.ts` the exact-rational helpers, `lint.ts` the coherence lint. See [LaTeX lowering into the semantic core](#latex-lowering-into-the-semantic-core).
807
807
  - **`src/markdown/`** — third adapter family, via `markdown-codec`. `readMarkdownContent` passes `readMarkdownContent`'s (markdown-codec's flat reader, so named since that package's 4.0.0; the bare `readMarkdown` name is now its tree-form `DocumentTree` reader) result through the math-lowering pass (`math.ts` — markdown-codec's preserved `$$` display blocks and `\( \)` inline spans become two-layer formula blocks, with the document's symbol table seeded from its own prose). `buildMarkdownText` wraps `writeMarkdownContent`, reconstructing markdown math syntax from formula blocks carrying a presentation layer. `text.ts` is the byte↔text boundary. `MarkdownEditor` holds a mutable in-memory `ContentDocument`.
808
808
  - **`src/csv/`** — fourth adapter family, sharing the spreadsheet variant with xlsx/ods. `records.ts` is the RFC 4180 record parser/writer (one shared `quoteCsvField`, also used by the `.odb` CSV exporter); `text.ts` is the byte↔text boundary, working the character encoding out from the bytes through [byte-codec](../byte-codec/README.md#text-decoding) rather than assuming UTF-8, so Excel's own windows-1252 export reads, and refusing bytes that are not text at all; `read.ts` turns records into a spreadsheet `ContentDocument` (first record as verbatim string header, data cells through the same cell-typing heuristic `pdfToOds` uses); `write.ts` turns one sheet of a spreadsheet `ContentDocument` back into records via each cell's `displayText`. TSV is the same format with `{ delimiter: '\t' }` on either side.
809
- - **`src/svg/`** — fifth adapter family, sharing the drawing variant with odg. `text.ts` is the byte↔text boundary, still rejecting anything but UTF-8 where csv and markdown now detect the encoding, because SVG is XML and XML's own encoding declaration is authoritative ([#1359](https://github.com/ExaDev/documents.js/issues/1359)); `read.ts` maps the six SVG shape primitives (rect/circle/ellipse/line/polyline/polygon/path) onto a one-page drawing `ContentDocument`, with transform lists composed as 2×3 affines and CSS lengths and the viewBox map resolved into page points; `write.ts` writes the six primitives back out, one shape element each; `path.ts` is the full SVG path-data grammar (M/L/H/V/C/S/Z plus Q/T/A and the relative forms — S/Q/T convert exactly, A is the one bounded approximation at ≤90° per cubic); `transform.ts` parses and composes the transform attribute and classifies the result by frame representability; `units.ts` resolves CSS length units and the viewBox; `paint.ts` resolves fill/stroke presentation attributes and dash styles; `diagnostics.ts` is the shared scope-limit vocabulary.
809
+ - **`src/svg/`** — fifth adapter family, sharing the drawing variant with odg. `text.ts` is the byte↔text boundary: unlike csv and markdown, it does not detect the encoding from the bytes, because SVG is XML and XML's own `<?xml ... encoding="..."?>` declaration is authoritative; `xml-encoding.ts` reads that declaration (or a byte order mark) from the leading bytes per XML 1.0's own external-encoding-detection algorithm, ahead of any real decode, with UTF-8 the strict default when neither is present; `read.ts` maps the six SVG shape primitives (rect/circle/ellipse/line/polyline/polygon/path) onto a one-page drawing `ContentDocument`, with transform lists composed as 2×3 affines and CSS lengths and the viewBox map resolved into page points; `write.ts` writes the six primitives back out, one shape element each; `path.ts` is the full SVG path-data grammar (M/L/H/V/C/S/Z plus Q/T/A and the relative forms — S/Q/T convert exactly, A is the one bounded approximation at ≤90° per cubic); `transform.ts` parses and composes the transform attribute and classifies the result by frame representability; `units.ts` resolves CSS length units and the viewBox; `paint.ts` resolves fill/stroke presentation attributes and dash styles; `diagnostics.ts` is the shared scope-limit vocabulary.
810
810
  - **`src/layout/`** — the pure conversion algorithms: `engine.ts` (wordprocessing → layout: flow, line-breaking, pagination), `slides.ts` (presentation → layout: direct placement), `sheets.ts` (spreadsheet → layout: grid, print settings, the first algorithm accepting `AbortSignal`), `drawing.ts` (drawing → layout: vector primitives + shape reuse), `reconstruct.ts` (layout → content: baseline clustering for wordprocessing/presentation, near-1:1 mapping for drawing, gridline-lattice-or-text-clustering for spreadsheet; plus the PDF construct surfacing — link reconciliation to `ContentRun.hyperlink` or link constructs, hidden-layer content dropped, anchor/comment and AcroForm contentControl constructs, and tagged-structure semantics where the file states them: heading levels from owning `H1`..`H6` elements over the font-size census, lattice-free table recovery from `/Table`/`/TR`/`/TH`/`/TD` ownership, and `division` constructs around `/Part`/`/Sect`/`/Div` extents).
811
811
  - **`src/hsqldb/`** — `.odb` decoders, four tiers: `script.ts` (TEXT-script DDL/DML parser), `rowformat.ts`/`cache.ts` (CACHED binary row-store), `binary-script.ts` (BINARY/COMPRESSED whole-script). All import only `document-schema.js` — no odf.js knowledge.
812
812
  - **`src/firebird/`** — Tier 3: gbak logical-backup reader. `reader.ts` (attribute framing + RLE decompression + XDR decoding), `schema.ts`/`data.ts` (table/row walking). No ratified spec — built against Firebird's own engine source.
@@ -1,4 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_svg_text = require("../svg/text.cjs");
2
3
  const require_model_bytes = require("../model/bytes.cjs");
3
4
  const require_markdown_read = require("../markdown/read.cjs");
4
5
  const require_read = require("../read-pPa9I8MO.cjs");
@@ -12,7 +13,6 @@ const require_odf_odg_read = require("../odf/odg/read.cjs");
12
13
  const require_markdown_text = require("../markdown/text.cjs");
13
14
  const require_csv_text = require("../csv/text.cjs");
14
15
  const require_csv_read = require("../csv/read.cjs");
15
- const require_svg_text = require("../svg/text.cjs");
16
16
  const require_svg_read = require("../svg/read.cjs");
17
17
  const require_ports_abort = require("../ports/abort.cjs");
18
18
  const require_package_codec = require("../package-codec.cjs");
@@ -1,3 +1,4 @@
1
+ import { decodeSvgText } from "../svg/text.js";
1
2
  import { requireArrayBufferBytes } from "../model/bytes.js";
2
3
  import { readMarkdownContent } from "../markdown/read.js";
3
4
  import { t as readPptContent } from "../read--7mUJ4w7.js";
@@ -11,7 +12,6 @@ import { readOdgContent } from "../odf/odg/read.js";
11
12
  import { decodeMarkdownText } from "../markdown/text.js";
12
13
  import { decodeCsvText } from "../csv/text.js";
13
14
  import { readCsvContent } from "../csv/read.js";
14
- import { decodeSvgText } from "../svg/text.js";
15
15
  import { readSvgContent } from "../svg/read.js";
16
16
  import { throwIfAborted } from "../ports/abort.js";
17
17
  import { decodeDocumentPackage } from "../package-codec.js";
@@ -1,4 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_svg_text = require("../svg/text.cjs");
2
3
  const require_edit_docx_content = require("../edit/docx/content.cjs");
3
4
  const require_edit_pptx_content = require("../edit/pptx/content.cjs");
4
5
  const require_edit_odt_content = require("../edit/odt/content.cjs");
@@ -10,7 +11,6 @@ const require_ppt_write = require("../ppt/write.cjs");
10
11
  const require_markdown_text = require("../markdown/text.cjs");
11
12
  const require_csv_text = require("../csv/text.cjs");
12
13
  const require_csv_write = require("../csv/write.cjs");
13
- const require_svg_text = require("../svg/text.cjs");
14
14
  const require_svg_write = require("../svg/write.cjs");
15
15
  const require_package_codec = require("../package-codec.cjs");
16
16
  const require_codecs_read = require("./read.cjs");
@@ -1,3 +1,4 @@
1
+ import { encodeSvgText } from "../svg/text.js";
1
2
  import { buildDocxPackage } from "../edit/docx/content.js";
2
3
  import { buildPptxPackage } from "../edit/pptx/content.js";
3
4
  import { buildOdtPackage } from "../edit/odt/content.js";
@@ -9,7 +10,6 @@ import { writePptContent } from "../ppt/write.js";
9
10
  import { encodeMarkdownText } from "../markdown/text.js";
10
11
  import { encodeCsvText } from "../csv/text.js";
11
12
  import { buildCsvText } from "../csv/write.js";
12
- import { encodeSvgText } from "../svg/text.js";
13
13
  import { buildSvgText } from "../svg/write.js";
14
14
  import { encodeDocumentPackage } from "../package-codec.js";
15
15
  import { CONTENT_READERS, readDocumentLayout } from "./read.js";
@@ -1,4 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_svg_text = require("../svg/text.cjs");
2
3
  const require_model_bytes = require("../model/bytes.cjs");
3
4
  const require_edit_docx_content = require("../edit/docx/content.cjs");
4
5
  const require_edit_pptx_content = require("../edit/pptx/content.cjs");
@@ -20,7 +21,6 @@ const require_markdown_text = require("../markdown/text.cjs");
20
21
  const require_csv_text = require("../csv/text.cjs");
21
22
  const require_csv_read = require("../csv/read.cjs");
22
23
  const require_csv_write = require("../csv/write.cjs");
23
- const require_svg_text = require("../svg/text.cjs");
24
24
  const require_svg_read = require("../svg/read.cjs");
25
25
  const require_svg_write = require("../svg/write.cjs");
26
26
  const require_ports_abort = require("../ports/abort.cjs");
@@ -1,3 +1,4 @@
1
+ import { decodeSvgText, encodeSvgText } from "../svg/text.js";
1
2
  import { requireArrayBufferBytes } from "../model/bytes.js";
2
3
  import { buildDocxPackage } from "../edit/docx/content.js";
3
4
  import { buildPptxPackage } from "../edit/pptx/content.js";
@@ -19,7 +20,6 @@ import { decodeMarkdownText, encodeMarkdownText } from "../markdown/text.js";
19
20
  import { decodeCsvText, encodeCsvText } from "../csv/text.js";
20
21
  import { readCsvContent } from "../csv/read.js";
21
22
  import { buildCsvText } from "../csv/write.js";
22
- import { decodeSvgText, encodeSvgText } from "../svg/text.js";
23
23
  import { readSvgContent } from "../svg/read.js";
24
24
  import { buildSvgText } from "../svg/write.js";
25
25
  import { throwIfAborted } from "../ports/abort.js";
@@ -221,6 +221,7 @@ function appendTable(body, block) {
221
221
  const rowCells = docxRowCells(positionsByRow[rowIndex], positionsByRow);
222
222
  const tableRow = table.appendRow(rowCells.length);
223
223
  tableRow.heightPt = row.heightPt;
224
+ tableRow.isHeader = row.isHeader === true;
224
225
  const domCells = tableRow.cells();
225
226
  rowCells.forEach(({ cell, colSpan, verticalMerge }, cellIndex) => {
226
227
  const tableCell = domCells[cellIndex];
@@ -220,6 +220,7 @@ function appendTable(body, block) {
220
220
  const rowCells = docxRowCells(positionsByRow[rowIndex], positionsByRow);
221
221
  const tableRow = table.appendRow(rowCells.length);
222
222
  tableRow.heightPt = row.heightPt;
223
+ tableRow.isHeader = row.isHeader === true;
223
224
  const domCells = tableRow.cells();
224
225
  rowCells.forEach(({ cell, colSpan, verticalMerge }, cellIndex) => {
225
226
  const tableCell = domCells[cellIndex];
@@ -196,6 +196,20 @@ var DocxTableRow = class {
196
196
  "w:hRule": "atLeast"
197
197
  }));
198
198
  }
199
+ get isHeader() {
200
+ const trPr = this.trPrElement(false);
201
+ const tblHeader = trPr === void 0 ? void 0 : require_xml_edit.directChildElement(trPr, "w:tblHeader");
202
+ if (tblHeader === void 0) return false;
203
+ const val = (0, ooxml_js.attr)(tblHeader, "w:val");
204
+ return val !== "0" && val !== "false" && val !== "off";
205
+ }
206
+ set isHeader(value) {
207
+ const trPr = this.trPrElement(value);
208
+ if (trPr === void 0) return;
209
+ trPr.children = trPr.children.filter((c) => !(c.type === "element" && c.tag === "w:tblHeader"));
210
+ if (!value) return;
211
+ trPr.children.push(require_xml_fragment.el("w:tblHeader", {}));
212
+ }
199
213
  mergeCellsHorizontally(startColumnIndex, colSpan) {
200
214
  if (!Number.isInteger(colSpan) || colSpan < 1) throw new Error(`mergeCellsHorizontally: colSpan must be a positive integer, got ${colSpan}`);
201
215
  const plan = planHorizontalMerge(this.node, startColumnIndex, colSpan, false);
@@ -33,6 +33,8 @@ declare class DocxTableRow {
33
33
  cells(): DocxTableCell[];
34
34
  get heightPt(): number | undefined;
35
35
  set heightPt(value: number | undefined);
36
+ get isHeader(): boolean;
37
+ set isHeader(value: boolean);
36
38
  mergeCellsHorizontally(startColumnIndex: number, colSpan: number): DocxTableCell;
37
39
  }
38
40
  declare class DocxTable {
@@ -33,6 +33,8 @@ declare class DocxTableRow {
33
33
  cells(): DocxTableCell[];
34
34
  get heightPt(): number | undefined;
35
35
  set heightPt(value: number | undefined);
36
+ get isHeader(): boolean;
37
+ set isHeader(value: boolean);
36
38
  mergeCellsHorizontally(startColumnIndex: number, colSpan: number): DocxTableCell;
37
39
  }
38
40
  declare class DocxTable {
@@ -195,6 +195,20 @@ var DocxTableRow = class {
195
195
  "w:hRule": "atLeast"
196
196
  }));
197
197
  }
198
+ get isHeader() {
199
+ const trPr = this.trPrElement(false);
200
+ const tblHeader = trPr === void 0 ? void 0 : directChildElement(trPr, "w:tblHeader");
201
+ if (tblHeader === void 0) return false;
202
+ const val = attr(tblHeader, "w:val");
203
+ return val !== "0" && val !== "false" && val !== "off";
204
+ }
205
+ set isHeader(value) {
206
+ const trPr = this.trPrElement(value);
207
+ if (trPr === void 0) return;
208
+ trPr.children = trPr.children.filter((c) => !(c.type === "element" && c.tag === "w:tblHeader"));
209
+ if (!value) return;
210
+ trPr.children.push(el("w:tblHeader", {}));
211
+ }
198
212
  mergeCellsHorizontally(startColumnIndex, colSpan) {
199
213
  if (!Number.isInteger(colSpan) || colSpan < 1) throw new Error(`mergeCellsHorizontally: colSpan must be a positive integer, got ${colSpan}`);
200
214
  const plan = planHorizontalMerge(this.node, startColumnIndex, colSpan, false);
@@ -1,7 +1,7 @@
1
1
  import { t as ImageInit } from "../../image-D1z0T9Za.cjs";
2
2
  import { t as OdpShape } from "../../shape-Kmmxib5z.cjs";
3
3
  import { s as OdgVector } from "../../vector-DDP7hgvm.cjs";
4
- import { o as TableInit, r as OdtTable } from "../../table-BT3wN3Hd.cjs";
4
+ import { o as TableInit, r as OdtTable } from "../../table-Bt9ahRyh.cjs";
5
5
  import { Box, ContentFormula, ContentVector } from "document-schema.js";
6
6
  import { Package, XmlElement, XmlNode } from "odf.js";
7
7
  //#region src/edit/odp/slide.d.ts
@@ -1,7 +1,7 @@
1
1
  import { t as ImageInit } from "../../image-D1z0T9Za.js";
2
2
  import { t as OdpShape } from "../../shape-ZAfNsCC5.js";
3
3
  import { s as OdgVector } from "../../vector-DDP7hgvm.js";
4
- import { o as TableInit, r as OdtTable } from "../../table-DhTy5Re7.js";
4
+ import { o as TableInit, r as OdtTable } from "../../table-Cou5rKOo.js";
5
5
  import { Box, ContentFormula, ContentVector } from "document-schema.js";
6
6
  import { Package, XmlElement, XmlNode } from "odf.js";
7
7
  //#region src/edit/odp/slide.d.ts
@@ -135,6 +135,7 @@ function populateCellBlocks(cell, blocks) {
135
135
  function populateOdtTable(table, block) {
136
136
  require_edit_table_grid.assertTableObeysGridRule(block, "populateOdtTable");
137
137
  const gridPositions = (0, document_schema_js.walkTableGrid)(block);
138
+ const headerFlags = block.rows.map((row) => row.isHeader === true);
138
139
  block.rows.forEach((row, rowIndex) => {
139
140
  const tableRow = table.appendEmptyRow();
140
141
  tableRow.heightPt = row.heightPt;
@@ -153,6 +154,7 @@ function populateOdtTable(table, block) {
153
154
  populateCellBlocks(tableCell, cell.blocks);
154
155
  });
155
156
  });
157
+ table.setHeaderRows(headerFlags);
156
158
  }
157
159
  function applyCellDecoration(target, cell) {
158
160
  if (cell.background !== void 0) target.background = (0, document_schema_js.resolveCellFillColor)(cell.background);
@@ -1,6 +1,6 @@
1
1
  import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
2
2
  import { t as OdtParagraph } from "../../paragraph-CRaLSzWz.cjs";
3
- import { o as TableInit, r as OdtTable } from "../../table-BT3wN3Hd.cjs";
3
+ import { o as TableInit, r as OdtTable } from "../../table-Bt9ahRyh.cjs";
4
4
  import { ContentDocument, ContentParagraph, ContentTable } from "document-schema.js";
5
5
  import { Package } from "odf.js";
6
6
  //#region src/edit/odt/content.d.ts
@@ -1,6 +1,6 @@
1
1
  import { t as ClockPort } from "../../clock-C7SUuYN0.js";
2
2
  import { t as OdtParagraph } from "../../paragraph-D4f705GG.js";
3
- import { o as TableInit, r as OdtTable } from "../../table-DhTy5Re7.js";
3
+ import { o as TableInit, r as OdtTable } from "../../table-Cou5rKOo.js";
4
4
  import { ContentDocument, ContentParagraph, ContentTable } from "document-schema.js";
5
5
  import { Package } from "odf.js";
6
6
  //#region src/edit/odt/content.d.ts
@@ -134,6 +134,7 @@ function populateCellBlocks(cell, blocks) {
134
134
  function populateOdtTable(table, block) {
135
135
  assertTableObeysGridRule(block, "populateOdtTable");
136
136
  const gridPositions = walkTableGrid(block);
137
+ const headerFlags = block.rows.map((row) => row.isHeader === true);
137
138
  block.rows.forEach((row, rowIndex) => {
138
139
  const tableRow = table.appendEmptyRow();
139
140
  tableRow.heightPt = row.heightPt;
@@ -152,6 +153,7 @@ function populateOdtTable(table, block) {
152
153
  populateCellBlocks(tableCell, cell.blocks);
153
154
  });
154
155
  });
156
+ table.setHeaderRows(headerFlags);
155
157
  }
156
158
  function applyCellDecoration(target, cell) {
157
159
  if (cell.background !== void 0) target.background = resolveCellFillColor(cell.background);
@@ -1,7 +1,7 @@
1
1
  import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
2
2
  import { n as ParagraphInit, t as OdtParagraph } from "../../paragraph-CRaLSzWz.cjs";
3
3
  import { t as OdtList } from "../../list-C_UPIZWM.cjs";
4
- import { o as TableInit, r as OdtTable } from "../../table-BT3wN3Hd.cjs";
4
+ import { o as TableInit, r as OdtTable } from "../../table-Bt9ahRyh.cjs";
5
5
  import { Box, ContentControlDescriptor, ContentFormula, ContentVector, DivisionDescriptor, LayoutMetadata } from "document-schema.js";
6
6
  import { Package } from "odf.js";
7
7
  //#region src/edit/odt/editor.d.ts
@@ -1,7 +1,7 @@
1
1
  import { t as ClockPort } from "../../clock-C7SUuYN0.js";
2
2
  import { n as ParagraphInit, t as OdtParagraph } from "../../paragraph-D4f705GG.js";
3
3
  import { t as OdtList } from "../../list-C2GWIe6E.js";
4
- import { o as TableInit, r as OdtTable } from "../../table-DhTy5Re7.js";
4
+ import { o as TableInit, r as OdtTable } from "../../table-Cou5rKOo.js";
5
5
  import { Box, ContentControlDescriptor, ContentFormula, ContentVector, DivisionDescriptor, LayoutMetadata } from "document-schema.js";
6
6
  import { Package } from "odf.js";
7
7
  //#region src/edit/odt/editor.d.ts
@@ -278,11 +278,11 @@ function locateGridColumnElement(row, columnIndex) {
278
278
  }
279
279
  function individuateGridColumn(row, columnIndex) {
280
280
  return require_edit_odf_repeated_runs.replaceRun(row.children, require_edit_odf_repeated_runs.isCellOrCoveredCell, columnIndex, require_edit_odf_repeated_runs.COLUMN_REPEAT_ATTR, () => {
281
- throw new Error(`individuateGridColumn: column ${columnIndex} has no existing element to individuate in this row -- callers must bounds-check against rowGridColumnCount first`);
281
+ throw new Error(`individuateGridColumn: column ${columnIndex} has no existing element to individuate in this row — callers must bounds-check against rowGridColumnCount first`);
282
282
  });
283
283
  }
284
284
  function tableRowElements(table) {
285
- return table.children.filter((child) => child.type === "element" && child.tag === "table:table-row");
285
+ return tableRowEntries(table).map((entry) => entry.element);
286
286
  }
287
287
  function placedCells(row, pkg) {
288
288
  return gridColumnElements(row).flatMap(({ columnIndex, element }) => {
@@ -302,8 +302,8 @@ function resolveOdtGrid(table, pkg) {
302
302
  for (const child of table.children) {
303
303
  if (child.type !== "element") continue;
304
304
  if (child.tag === "table:table-column") declaredColumns += require_edit_odf_repeated_runs.readRunRepeatCount(child, require_edit_odf_repeated_runs.COLUMN_REPEAT_ATTR);
305
- else if (child.tag === "table:table-row") placedRows.push(placedCells(child, pkg));
306
305
  }
306
+ for (const row of tableRowElements(table)) placedRows.push(placedCells(row, pkg));
307
307
  return require_edit_table_grid.resolveLiveTableGrid(placedRows, declaredColumns);
308
308
  }
309
309
  function regionCovers(region, rowIndex, columnIndex) {
@@ -386,6 +386,23 @@ function applyMerge(plan, target, pkg) {
386
386
  if (target.rowSpan > 1) anchor.rowSpan = target.rowSpan;
387
387
  return anchor;
388
388
  }
389
+ const ROW_WRAPPER_TAGS = /* @__PURE__ */ new Set([
390
+ "table:table-rows",
391
+ "table:table-header-rows",
392
+ "table:table-row-group"
393
+ ]);
394
+ function tableRowEntries(parent, insideHeader = false) {
395
+ const entries = [];
396
+ for (const child of parent.children) {
397
+ if (child.type !== "element") continue;
398
+ if (child.tag === "table:table-row") entries.push({
399
+ element: child,
400
+ insideHeader
401
+ });
402
+ else if (ROW_WRAPPER_TAGS.has(child.tag)) entries.push(...tableRowEntries(child, insideHeader || child.tag === "table:table-header-rows"));
403
+ }
404
+ return entries;
405
+ }
389
406
  var OdtTableRow = class {
390
407
  node;
391
408
  pkg;
@@ -472,9 +489,45 @@ var OdtTable = class {
472
489
  return this.node;
473
490
  }
474
491
  rows() {
475
- const out = [];
476
- for (const child of this.live().children) if (child.type === "element" && child.tag === "table:table-row") out.push(new OdtTableRow(child, this.pkg, this.node));
477
- return out;
492
+ return tableRowElements(this.live()).map((row) => new OdtTableRow(row, this.pkg, this.node));
493
+ }
494
+ headerRows() {
495
+ return tableRowEntries(this.live()).map((entry) => entry.insideHeader);
496
+ }
497
+ setHeaderRows(flags) {
498
+ const table = this.live();
499
+ const rows = tableRowElements(table);
500
+ const regrouped = [];
501
+ let run = [];
502
+ const closeRun = () => {
503
+ if (run.length > 0) {
504
+ regrouped.push(require_xml_fragment.el("table:table-header-rows", {}, run));
505
+ run = [];
506
+ }
507
+ };
508
+ rows.forEach((row, index) => {
509
+ if (flags[index] === true) {
510
+ run.push(row);
511
+ return;
512
+ }
513
+ closeRun();
514
+ regrouped.push(row);
515
+ });
516
+ closeRun();
517
+ const rest = [];
518
+ let placed = false;
519
+ for (const child of table.children) {
520
+ if (!(child.type === "element" && (child.tag === "table:table-row" || ROW_WRAPPER_TAGS.has(child.tag)))) {
521
+ rest.push(child);
522
+ continue;
523
+ }
524
+ if (!placed) {
525
+ rest.push(...regrouped);
526
+ placed = true;
527
+ }
528
+ }
529
+ if (!placed) rest.push(...regrouped);
530
+ table.children = rest;
478
531
  }
479
532
  gridRows() {
480
533
  return this.grid().rows;
@@ -1,2 +1,2 @@
1
- import { a as OdtTableRow, c as buildTable, i as OdtTableCell, l as readCellDecoration, n as OdtCoveredTableCell, o as TableInit, r as OdtTable, s as buildCellStyle, t as CellDecoration } from "../../table-BT3wN3Hd.cjs";
1
+ import { a as OdtTableRow, c as buildTable, i as OdtTableCell, l as readCellDecoration, n as OdtCoveredTableCell, o as TableInit, r as OdtTable, s as buildCellStyle, t as CellDecoration } from "../../table-Bt9ahRyh.cjs";
2
2
  export { CellDecoration, OdtCoveredTableCell, OdtTable, OdtTableCell, OdtTableRow, TableInit, buildCellStyle, buildTable, readCellDecoration };
@@ -1,2 +1,2 @@
1
- import { a as OdtTableRow, c as buildTable, i as OdtTableCell, l as readCellDecoration, n as OdtCoveredTableCell, o as TableInit, r as OdtTable, s as buildCellStyle, t as CellDecoration } from "../../table-DhTy5Re7.js";
1
+ import { a as OdtTableRow, c as buildTable, i as OdtTableCell, l as readCellDecoration, n as OdtCoveredTableCell, o as TableInit, r as OdtTable, s as buildCellStyle, t as CellDecoration } from "../../table-Cou5rKOo.js";
2
2
  export { CellDecoration, OdtCoveredTableCell, OdtTable, OdtTableCell, OdtTableRow, TableInit, buildCellStyle, buildTable, readCellDecoration };
@@ -277,11 +277,11 @@ function locateGridColumnElement(row, columnIndex) {
277
277
  }
278
278
  function individuateGridColumn(row, columnIndex) {
279
279
  return replaceRun(row.children, isCellOrCoveredCell, columnIndex, COLUMN_REPEAT_ATTR, () => {
280
- throw new Error(`individuateGridColumn: column ${columnIndex} has no existing element to individuate in this row -- callers must bounds-check against rowGridColumnCount first`);
280
+ throw new Error(`individuateGridColumn: column ${columnIndex} has no existing element to individuate in this row — callers must bounds-check against rowGridColumnCount first`);
281
281
  });
282
282
  }
283
283
  function tableRowElements(table) {
284
- return table.children.filter((child) => child.type === "element" && child.tag === "table:table-row");
284
+ return tableRowEntries(table).map((entry) => entry.element);
285
285
  }
286
286
  function placedCells(row, pkg) {
287
287
  return gridColumnElements(row).flatMap(({ columnIndex, element }) => {
@@ -301,8 +301,8 @@ function resolveOdtGrid(table, pkg) {
301
301
  for (const child of table.children) {
302
302
  if (child.type !== "element") continue;
303
303
  if (child.tag === "table:table-column") declaredColumns += readRunRepeatCount(child, COLUMN_REPEAT_ATTR);
304
- else if (child.tag === "table:table-row") placedRows.push(placedCells(child, pkg));
305
304
  }
305
+ for (const row of tableRowElements(table)) placedRows.push(placedCells(row, pkg));
306
306
  return resolveLiveTableGrid(placedRows, declaredColumns);
307
307
  }
308
308
  function regionCovers(region, rowIndex, columnIndex) {
@@ -385,6 +385,23 @@ function applyMerge(plan, target, pkg) {
385
385
  if (target.rowSpan > 1) anchor.rowSpan = target.rowSpan;
386
386
  return anchor;
387
387
  }
388
+ const ROW_WRAPPER_TAGS = /* @__PURE__ */ new Set([
389
+ "table:table-rows",
390
+ "table:table-header-rows",
391
+ "table:table-row-group"
392
+ ]);
393
+ function tableRowEntries(parent, insideHeader = false) {
394
+ const entries = [];
395
+ for (const child of parent.children) {
396
+ if (child.type !== "element") continue;
397
+ if (child.tag === "table:table-row") entries.push({
398
+ element: child,
399
+ insideHeader
400
+ });
401
+ else if (ROW_WRAPPER_TAGS.has(child.tag)) entries.push(...tableRowEntries(child, insideHeader || child.tag === "table:table-header-rows"));
402
+ }
403
+ return entries;
404
+ }
388
405
  var OdtTableRow = class {
389
406
  node;
390
407
  pkg;
@@ -471,9 +488,45 @@ var OdtTable = class {
471
488
  return this.node;
472
489
  }
473
490
  rows() {
474
- const out = [];
475
- for (const child of this.live().children) if (child.type === "element" && child.tag === "table:table-row") out.push(new OdtTableRow(child, this.pkg, this.node));
476
- return out;
491
+ return tableRowElements(this.live()).map((row) => new OdtTableRow(row, this.pkg, this.node));
492
+ }
493
+ headerRows() {
494
+ return tableRowEntries(this.live()).map((entry) => entry.insideHeader);
495
+ }
496
+ setHeaderRows(flags) {
497
+ const table = this.live();
498
+ const rows = tableRowElements(table);
499
+ const regrouped = [];
500
+ let run = [];
501
+ const closeRun = () => {
502
+ if (run.length > 0) {
503
+ regrouped.push(el("table:table-header-rows", {}, run));
504
+ run = [];
505
+ }
506
+ };
507
+ rows.forEach((row, index) => {
508
+ if (flags[index] === true) {
509
+ run.push(row);
510
+ return;
511
+ }
512
+ closeRun();
513
+ regrouped.push(row);
514
+ });
515
+ closeRun();
516
+ const rest = [];
517
+ let placed = false;
518
+ for (const child of table.children) {
519
+ if (!(child.type === "element" && (child.tag === "table:table-row" || ROW_WRAPPER_TAGS.has(child.tag)))) {
520
+ rest.push(child);
521
+ continue;
522
+ }
523
+ if (!placed) {
524
+ rest.push(...regrouped);
525
+ placed = true;
526
+ }
527
+ }
528
+ if (!placed) rest.push(...regrouped);
529
+ table.children = rest;
477
530
  }
478
531
  gridRows() {
479
532
  return this.grid().rows;
package/dist/index.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_model_geometry = require("./model/geometry.cjs");
3
+ const require_svg_text = require("./svg/text.cjs");
3
4
  const require_model_bytes = require("./model/bytes.cjs");
4
5
  const require_model_metadata = require("./model/metadata.cjs");
5
6
  const require_ports_clock = require("./ports/clock.cjs");
@@ -82,7 +83,6 @@ const require_layout_cell_typing = require("./layout/cell-typing.cjs");
82
83
  const require_csv_records = require("./csv/records.cjs");
83
84
  const require_csv_read = require("./csv/read.cjs");
84
85
  const require_csv_write = require("./csv/write.cjs");
85
- const require_svg_text = require("./svg/text.cjs");
86
86
  const require_svg_read = require("./svg/read.cjs");
87
87
  const require_svg_write = require("./svg/write.cjs");
88
88
  const require_svg_diagnostics = require("./svg/diagnostics.cjs");
@@ -589,11 +589,12 @@ Object.defineProperty(exports, "SectionHeaderFooterReferencesSchema", {
589
589
  }
590
590
  });
591
591
  exports.SvgBytesSchema = require_model_bytes.SvgBytesSchema;
592
- exports.SvgInvalidUtf8Error = require_svg_text.SvgInvalidUtf8Error;
593
592
  exports.SvgMissingRootElementError = require_svg_read.SvgMissingRootElementError;
594
593
  exports.SvgMultiPageNotSpecifiedError = require_svg_write.SvgMultiPageNotSpecifiedError;
595
594
  exports.SvgPageNotFoundError = require_svg_write.SvgPageNotFoundError;
595
+ exports.SvgUndecodableTextError = require_svg_text.SvgUndecodableTextError;
596
596
  exports.SvgUnsupportedDocumentKindError = require_svg_write.SvgUnsupportedDocumentKindError;
597
+ exports.SvgUnsupportedEncodingError = require_svg_text.SvgUnsupportedEncodingError;
597
598
  Object.defineProperty(exports, "UnrecognizedDocumentSchemaError", {
598
599
  enumerable: true,
599
600
  get: function() {
package/dist/index.d.cts CHANGED
@@ -47,7 +47,7 @@ import { OdgPage, PageImageInit, TextBoxInit } from "./edit/odg/page.cjs";
47
47
  import { CreateOdgOptions, OdgEditor, createOdg, openOdg } from "./edit/odg/editor.cjs";
48
48
  import { CreateEmptyOdgPackageOptions } from "./edit/odg/scaffold.cjs";
49
49
  import { BuildOdpPackageOptions, buildOdpPackage } from "./edit/odp/content.cjs";
50
- import { a as OdtTableRow, i as OdtTableCell, n as OdtCoveredTableCell, o as TableInit$2, r as OdtTable } from "./table-BT3wN3Hd.cjs";
50
+ import { a as OdtTableRow, i as OdtTableCell, n as OdtCoveredTableCell, o as TableInit$2, r as OdtTable } from "./table-Bt9ahRyh.cjs";
51
51
  import { OdpSlide, SlideImageInit, SlideTableInit, TextBoxInit as TextBoxInit$1 } from "./edit/odp/slide.cjs";
52
52
  import { CreateOdpOptions, OdpEditor, createOdp, openOdp } from "./edit/odp/editor.cjs";
53
53
  import { CreateEmptyOdpPackageOptions } from "./edit/odp/scaffold.cjs";
@@ -105,7 +105,7 @@ import { readOdfEmbeddedFormula, readOdfFormulaContent } from "./odf/formula/rea
105
105
  import { decodeMarkdownText, encodeMarkdownText } from "./markdown/text.cjs";
106
106
  import { readMarkdownContent } from "./markdown/read.cjs";
107
107
  import { buildMarkdownText } from "./markdown/write.cjs";
108
- import { SvgInvalidUtf8Error, decodeSvgText, encodeSvgText } from "./svg/text.cjs";
108
+ import { SvgUndecodableTextError, SvgUnsupportedEncodingError, decodeSvgText, encodeSvgText } from "./svg/text.cjs";
109
109
  import { ReadSvgContentOptions, SvgMissingRootElementError, readSvgContent } from "./svg/read.cjs";
110
110
  import { BuildSvgTextOptions, SvgMultiPageNotSpecifiedError, SvgPageNotFoundError, SvgUnsupportedDocumentKindError, buildSvgText } from "./svg/write.cjs";
111
111
  import { readPptContent } from "./ppt/read.cjs";
@@ -147,4 +147,4 @@ import { RtfBytesSchema, readRtfContent, writeRtfContent } from "rtf-codec";
147
147
  import { EpubBytesSchema, readEpubContent, writeEpubContent } from "epub-codec";
148
148
  import { readWpdContent } from "wpd-codec";
149
149
  import { XlsContentDocument, readXlsContent, writeXlsContent } from "xls-codec";
150
- export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, type BuildCsvTextOptions, type BuildDocxPackageOptions, type BuildOdgPackageOptions, type BuildOdpPackageOptions, type BuildOdsPackageOptions, type BuildOdtPackageOptions, type BuildPptxPackageOptions, type BuildSvgTextOptions, COLOR_BLACK, type CellPosition, type CellRange, type CellTypeDeclineReason, type CellTypeInference, type CellTypeInferenceResult, type CellTypeInferenceSink, type CellTypeRule, type ClockPort, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type CompositionHop, type ContentBlock, ContentBlockSchema, type ContentCellFill, type ContentCellValue, ContentCellValueSchema, type ContentDocument, type ContentDocumentJson, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, type ContentEmbeddedObject, type ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, type ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentPathPoint, ContentPathPointSchema, type ContentPathSegment, ContentPathSegmentSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStroke, ContentStrokeSchema, type ContentSubpath, ContentSubpathSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type ContentVector, ContentVectorSchema, type ConversionOptions, type ConversionPlan, type ConversionRequest, type ConversionResult, type CreateDocOptions, type CreateDocxOptions, type CreateEmptyDocxPackageOptions, type CreateEmptyOdgPackageOptions, type CreateEmptyOdpPackageOptions, type CreateEmptyOdsPackageOptions, type CreateEmptyOdtPackageOptions, type CreateEmptyPptxPackageOptions, type CreateMarkdownEditorOptions, type CreateOdgOptions, type CreateOdpOptions, type CreateOdsOptions, type CreateOdtOptions, type CreatePdfOptions, type CreatePptOptions, type CreatePptxOptions, type CreateXlsOptions, CsvBytesSchema, CsvParseError, type CsvReadOptions, CsvSheetNotFoundError, CsvSheetNotSpecifiedError, CsvUndecodableTextError, CsvUnsupportedDocumentKindError, type CsvWriteOptions, DEFAULT_LAYOUT_FONT, DOCUMENT_FORMATS, type DefinedName, DefinedNameSchema, type Diagnostic, DocBytesSchema, DocEditor, DocParagraph, type ParagraphInit as DocParagraphInit, DocRun, type RunInit as DocRunInit, DocSection, type SectionInit as DocSectionInit, DocTable, DocTableCell, type TableInit as DocTableInit, DocTableRow, type DocumentBridgeOptions, type DocumentConverter, type DocumentFontRegistryOptions, type DocumentFormat, DocumentFormatSchema, type DocumentFormulaEntry, type DocumentJsonResult, type DocumentPayload, type DocumentSchemaKind, type DocumentToPdfOptions, type DocumentTree, type DocumentTreeJson, DocumentTreeSchema, type DocxBody, DocxBytesSchema, DocxEditor, type DocxExtras, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DocxVerticalMerge, type DrawingLayoutOptions, type DrawingLayoutResult, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, EpubBytesSchema, SUPPORTED_BACKUP_FORMAT_VERSION as FIREBIRD_SUPPORTED_BACKUP_FORMAT_VERSION, FirebirdBackupFormatError, FirebirdBackupParseError, type FirebirdBackupSummary, FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError, FirebirdSchemaParseError, FirebirdUnsupportedFieldTypeError, FontDeobfuscationError, type FontFace, FontFaceParseError, type FontRegistry, type FontRegistryOptions, type FontSourcePackage, type FontSubstitution, type Footnote, FootnoteSchema, type GridLattice, type HeaderFooterPart, HeaderFooterPartSchema, type HsqldbBinaryScript, HsqldbBinaryScriptParseError, type HsqldbColumn, type HsqldbDecodeOptions, HsqldbRowFormatError, HsqldbScriptParseError, HsqldbSqlEvaluationError, HsqldbSqlParseError, HsqldbSqlUnsupportedError, type HsqldbTable, LATEX_DIAGNOSTIC_CODES, LAYOUT_FORMAT_VERSION, type LatexDiagnostic, type LatexDiagnosticCode, type LatexDiagnosticSink, type LatexFormulaOptions, type LatexFormulaResult, type LatexLoweringResult, type LayoutColor, type LayoutDocument, LayoutDocumentSchema, type LayoutEllipse, type LayoutFont, type LayoutFormulaOptions, type LayoutImage, type LayoutImageAsset, type LayoutItem, type LayoutLine, type LayoutLink, type LayoutMetadata, type LayoutPage, type LayoutPath, type LayoutPathSegment, type LayoutRect, type LayoutSubpath, type LayoutText, type LoadedMathFont, type LowerLatexOptions, MATH_LINT_CODES, type Margins, type MarkdownBody, MarkdownBytesSchema, MarkdownEditor, MarkdownList, type MarkdownListInit, type MarkdownMathLoweringOptions, MarkdownParagraph, type ParagraphInit$1 as MarkdownParagraphInit, type MarkdownRenderDiagnostic, type MarkdownRenderDiagnosticCode, MarkdownRenderDiagnosticCodes, type MarkdownRenderDiagnosticSeverity, type MarkdownRenderDiagnosticSink, MarkdownRun, type RunInit$1 as MarkdownRunInit, MarkdownTable, MarkdownTableCell, type TableInit$1 as MarkdownTableInit, MarkdownTableRow, type MathAssembledGlyphs, type MathBox, type MathColor, type MathDiagnostic, type MathDiagnosticKind, type MathFont, type MathFontDescriptorMetrics, type MathFontMetrics, type MathGlyphMetrics, type MathGlyphPlacement, type MathGlyphRun, type MathLayoutItem, type MathLayoutResult, type MathLintCode, type MathLintDiagnostic, type MathMlAttribute, type MathMlElement, type MathMlNode, type MathMlText, type MathRule, type MathStretchAxis, type MathStretchGlyph, type MathStretchResult, type MathStroke, type MathVariant, type MetadataOverrides, NOOP_DIAGNOSTIC_SINK, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, type OdbComponentInfo, type OdbConnectionInfo, type OdbConversionOptions, type OdbForm, type OdbFormControl, type OdbFormDefinition, type OdbInventory, OdbNoEmbeddedDataSourceError, type OdbQueryInfo, type OdbReport, type OdbReportBand, type OdbReportContentOptions, OdbReportDataSourceError, type OdbReportElement, type OdbReportFunction, type OdbReportGroup, OdbReportNotSpecifiedError, type OdbReportToDocxOptions, type OdbReportToOdtOptions, OdbTableNotFoundError, OdbTableNotSpecifiedError, type OdbToCsvOptions, type OdbUnsupportedFormat, OdbUnsupportedFormatError, OdfEmbeddedFontError, OdgBoxVector, type BoxVectorInit as OdgBoxVectorInit, OdgBytesSchema, OdgEditor, OdgLineVector, type LineVectorInit as OdgLineVectorInit, OdgPage, type PageImageInit as OdgPageImageInit, OdgPathVector, type PathVectorInit as OdgPathVectorInit, type TextBoxInit as OdgTextBoxInit, type OdgVector, type OdgVectorKind, type OdmToPdfOptions, OdmUnresolvedSectionError, OdpBytesSchema, OdpEditor, OdpShape, OdpSlide, type SlideImageInit as OdpSlideImageInit, type SlideTableInit as OdpSlideTableInit, type TextBoxInit$1 as OdpTextBoxInit, OdsBytesSchema, OdsCell, OdsEditor, OdsSheet, type OdtBody, OdtBytesSchema, OdtCoveredTableCell, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit$2 as OdtParagraphInit, OdtRun, type RunInit$2 as OdtRunInit, OdtTable, OdtTableCell, type TableInit$2 as OdtTableInit, OdtTableRow, type OmmlDiagnostic, type OmmlDiagnosticKind, type OmmlReadResult, type OmmlWriteResult, OoxmlEmbeddedFontError, type OperatorProperties, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageInit, type PageSize, type Part, PartSchema, type PatchDocxMetadataOptions, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEditor, type PdfEllipseInit, PdfEllipseItem, PdfEncryptedError, type PdfImageInit, PdfImageItem, PdfInternalLinkItem, type PdfItem, type PdfLineInit, PdfLineItem, type PdfLinkInit, PdfLinkItem, PdfPage, PdfParseError, type PdfPathInit, PdfPathItem, type PdfRectInit, PdfRectItem, type PdfTextInit, PdfTextItem, type PdfToDocumentOptions, type PositionedFormula, PptBytesSchema, PptEditor, PptShape, PptSlide, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, PptxTable, PptxTableCell, type PptxTableInit, PptxTableRow, type PresentationLayoutResult, type ProvidedFont, type ReadCsvContentOptions, type ReadDocumentMetadataOptions, type ReadDocxContentOptions, type ReadFirebirdBackupResult, type ReadNativeDocumentTreeOptions, type ReadPdfOptions, type ReadSvgContentOptions, type ReconstructOptions, type Relationship, type RenderMarkdownOptions, type ResolvedFace, type RptAggregateFunction, type RptBandDefinition, type RptBandInstance, type RptBandKind, type RptFormula, RptFormulaEvaluationError, RptFormulaParseError, RptFormulaUnsupportedError, type RptGroupDefinition, type RptNamedFunctionDefinition, type RptReference, type RptReportDefinition, type RptReportRun, RptReportStructureError, type RptScope, RtfBytesSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SVG_DIAGNOSTIC_CODES, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type SetDocumentMetadataOptions, type SheetsLayoutOptions, type SlideImageInit$1 as SlideImageInit, type SlideTableInit$1 as SlideTableInit, type SlidesLayoutOptions, type SpreadsheetLayoutResult, type SqlAggregateArgument, type SqlAggregateFunction, type SqlColumnRef, type SqlComparisonOperator, type SqlFromClause, type SqlFromSource, type SqlJoinClause, type SqlLiteral, type SqlNameRef, type SqlOperand, type SqlOrderByTerm, type SqlPredicate, type SqlPunctuation, type SqlResultSet, type SqlSelectItem, type SqlSelectStatement, type SqlSortDirection, type SqlToken, SvgBytesSchema, type SvgDiagnostic, type SvgDiagnosticCode, type SvgDiagnosticSink, SvgInvalidUtf8Error, SvgMissingRootElementError, SvgMultiPageNotSpecifiedError, SvgPageNotFoundError, type SvgReadOptions, SvgUnsupportedDocumentKindError, type SvgWriteOptions, type TableGridCell, type TableGridRows, type TextBoxInit$2 as TextBoxInit, type UnifiedConversionOptions, UnrecognizedDocumentSchemaError, UnsupportedFontSourceFormatError, UnsupportedPackageFormatError, type WinAnsiSubstitution, type WordprocessingLayoutResult, type WritePdfOptions, XlsBytesSchema, XlsCell, type XlsContentDocument, XlsEditor, XlsSheet, XlsxBytesSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyMathVariant, attr, base64ToBytes, buildCsvText, buildDocumentBytes, buildDocxPackage, buildDrawingBlock, buildFormulaBlock, buildMarkdownText, buildOdgPackage, buildOdpPackage, buildOdsPackage, buildOdtPackage, buildOfficeMath, buildOfficeMathParagraph, buildPptxPackage, buildSvgText, buildXlsxPackage, buildXml, bytesToBase64, cellReference, childrenWithTag, collectDocumentFormulas, collectOfficeMathElements, columnIndexToLetters, columnLettersToIndex, compactCodec, compactPackageCodec, contentDocumentWithSchema, convertDocument, convertDrawingToLayout, convertPresentationToLayout, convertSpreadsheetToLayout, convertWordprocessingToLayout, createDoc, createDocumentFontRegistry, createDocx, createFontMeasurer, createFontRegistry, createLocalDocumentConverter, createMarkdownEditor, createOdg, createOdp, createOds, createOdt, createPdf, createPpt, createPptx, createStandardFontMeasurer, createXls, csvMarkdownCodec, csvPdfCodec, csvToMarkdown, csvToOds, csvToPdf, csvToXlsx, decodeCompactPackage, decodeCsvText, decodeDocumentPackage, decodeEntities, decodeHsqldbCachedTables, decodeMarkdownText, decodeOdbPackage, decodePackage, decodeSvgText, deobfuscateEmbeddedFont, deriveFontKey, describeFontFace, detectGridLattice, docPdfCodec, docToPdf, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, docxPdfCodec, docxToMarkdown, docxToOdt, docxToPdf, docxToPptx, drawingOfBlock, elementChildren, elementLocalName, elementsWithTag, embeddedPresentationSerialiser, encodeCompactPackage, encodeCsvText, encodeDocumentPackage, encodeMarkdownText, encodePackage, encodeSvgText, epubPdfCodec, epubToPdf, evaluateRptBandOutsideData, evaluateSelect, extractOdfEmbeddedFonts, extractOoxmlEmbeddedFonts, extractSourceFonts, extractSourceFontsForFormat, firstChildByLocalName, fixedClock, flipY, formulaDocument, formulaOfBlock, formulaPlaceholderText, fromCompact, displayTextFor as hsqldbCellDisplayText, inferCellValue, inflateHsqldbCompressedScript, isCompactXmlNode, isContentBlock, isMathMlElement, isMathVariant, isXmlNode, latexToFormula, layoutDocumentFromPackage, layoutFormula, lintMathCoherence, loadMathFont, localName, looksLikeSfnt, lowerLatex, lowerMarkdownMath, mapMathVariant, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, markdownToCsv, markdownToDocx, markdownToOdt, markdownToPdf, markdownToXlsx, textContent as mathMlTextContent, odbReportCommandSql, odbReportGroupChain, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbTablesToSpreadsheetDocument, odbToCsv, odbToXlsx, odfToPdf, odgPdfCodec, odgSvgCodec, odgToPdf, odgToSvg, odmToPdf, odpPdfCodec, odpPptxCodec, odpToOdt, odpToPdf, odpToPptx, odsCsvCodec, odsPdfCodec, odsToCsv, odsToPdf, odsToXlsx, odsXlsxCodec, odtDocxCodec, odtPdfCodec, odtToDocx, odtToMarkdown, odtToOdp, odtToPdf, openDoc, openDocx, openMarkdown, openOdg, openOdp, openOds, openOdt, openPdf, openPpt, openPptx, openXls, operatorProperties, packageCodec, parseCellReference, parseHsqldbBinaryScript, parseHsqldbScript, parsePackage, parseRangeReference, parseRptFormula, parseSelect, parseXml, patchDocxMetadata, pdfCodec, pdfToCsv, pdfToDoc, pdfToDocx, pdfToEpub, pdfToMarkdown, pdfToOdg, pdfToOdp, pdfToOds, pdfToOdt, pdfToPpt, pdfToPptx, pdfToRtf, pdfToSvg, pdfToXls, pdfToXlsx, pptPdfCodec, pptToPdf, pptxPdfCodec, pptxToDocx, pptxToOdp, pptxToPdf, rangeReference, readCsvContent, readDocContent, readDocumentMetadata, readDocxContent, readDocxExtras, readEpubContent, readFirebirdBackup, readMarkdownContent, readNativeDocumentTree, readOdbForm, readOdbForms, readOdbInventory, readOdbReport, readOdbReportContent, readOdbReports, readOdbTables, readOdfEmbeddedFormula, readOdfFormulaContent, readOdgContent, readOdpContent, readOdsContent, readOdtContent, readOfficeMath, readPdf, readPptContent, readPptxContent, readRtfContent, readSvgContent, readWpdContent, readXlsContent, readXlsxContent, reconstructDrawing, reconstructPresentation, reconstructSpreadsheet, reconstructWordprocessing, renderContentDocumentToMarkdown, renderOdbReportContent, resolveCompositionPlan, resolveMetadataTimestamps, resolveOdbComponent, resolveOdbReportRows, resolveRelationships, rgbHexToColor, rootElement, rptBandDefinition, rptDefinitionFromReport, rtfPdfCodec, rtfToPdf, runRptReport, schemaUriFor, serializePackage, setDocumentMetadata, svgPdfCodec, svgToOdg, svgToPdf, systemClock, textContent$1 as textContent, throwIfAborted, toCompact, tokenizeSql, unzipPackage, walk, writeDocContent, writeEpubContent, writePdf, writePptContent, writeRtfContent, writeXlsContent, displayTextOfValue as xlsDisplayTextOfValue, xlsPdfCodec, xlsToPdf, xlsxCsvCodec, xlsxMarkdownCodec, xlsxPdfCodec, xlsxToCsv, xlsxToMarkdown, xlsxToOds, xlsxToPdf, xmlCodec, zipPackage };
150
+ export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, type BuildCsvTextOptions, type BuildDocxPackageOptions, type BuildOdgPackageOptions, type BuildOdpPackageOptions, type BuildOdsPackageOptions, type BuildOdtPackageOptions, type BuildPptxPackageOptions, type BuildSvgTextOptions, COLOR_BLACK, type CellPosition, type CellRange, type CellTypeDeclineReason, type CellTypeInference, type CellTypeInferenceResult, type CellTypeInferenceSink, type CellTypeRule, type ClockPort, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type CompositionHop, type ContentBlock, ContentBlockSchema, type ContentCellFill, type ContentCellValue, ContentCellValueSchema, type ContentDocument, type ContentDocumentJson, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, type ContentEmbeddedObject, type ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, type ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentPathPoint, ContentPathPointSchema, type ContentPathSegment, ContentPathSegmentSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStroke, ContentStrokeSchema, type ContentSubpath, ContentSubpathSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type ContentVector, ContentVectorSchema, type ConversionOptions, type ConversionPlan, type ConversionRequest, type ConversionResult, type CreateDocOptions, type CreateDocxOptions, type CreateEmptyDocxPackageOptions, type CreateEmptyOdgPackageOptions, type CreateEmptyOdpPackageOptions, type CreateEmptyOdsPackageOptions, type CreateEmptyOdtPackageOptions, type CreateEmptyPptxPackageOptions, type CreateMarkdownEditorOptions, type CreateOdgOptions, type CreateOdpOptions, type CreateOdsOptions, type CreateOdtOptions, type CreatePdfOptions, type CreatePptOptions, type CreatePptxOptions, type CreateXlsOptions, CsvBytesSchema, CsvParseError, type CsvReadOptions, CsvSheetNotFoundError, CsvSheetNotSpecifiedError, CsvUndecodableTextError, CsvUnsupportedDocumentKindError, type CsvWriteOptions, DEFAULT_LAYOUT_FONT, DOCUMENT_FORMATS, type DefinedName, DefinedNameSchema, type Diagnostic, DocBytesSchema, DocEditor, DocParagraph, type ParagraphInit as DocParagraphInit, DocRun, type RunInit as DocRunInit, DocSection, type SectionInit as DocSectionInit, DocTable, DocTableCell, type TableInit as DocTableInit, DocTableRow, type DocumentBridgeOptions, type DocumentConverter, type DocumentFontRegistryOptions, type DocumentFormat, DocumentFormatSchema, type DocumentFormulaEntry, type DocumentJsonResult, type DocumentPayload, type DocumentSchemaKind, type DocumentToPdfOptions, type DocumentTree, type DocumentTreeJson, DocumentTreeSchema, type DocxBody, DocxBytesSchema, DocxEditor, type DocxExtras, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DocxVerticalMerge, type DrawingLayoutOptions, type DrawingLayoutResult, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, EpubBytesSchema, SUPPORTED_BACKUP_FORMAT_VERSION as FIREBIRD_SUPPORTED_BACKUP_FORMAT_VERSION, FirebirdBackupFormatError, FirebirdBackupParseError, type FirebirdBackupSummary, FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError, FirebirdSchemaParseError, FirebirdUnsupportedFieldTypeError, FontDeobfuscationError, type FontFace, FontFaceParseError, type FontRegistry, type FontRegistryOptions, type FontSourcePackage, type FontSubstitution, type Footnote, FootnoteSchema, type GridLattice, type HeaderFooterPart, HeaderFooterPartSchema, type HsqldbBinaryScript, HsqldbBinaryScriptParseError, type HsqldbColumn, type HsqldbDecodeOptions, HsqldbRowFormatError, HsqldbScriptParseError, HsqldbSqlEvaluationError, HsqldbSqlParseError, HsqldbSqlUnsupportedError, type HsqldbTable, LATEX_DIAGNOSTIC_CODES, LAYOUT_FORMAT_VERSION, type LatexDiagnostic, type LatexDiagnosticCode, type LatexDiagnosticSink, type LatexFormulaOptions, type LatexFormulaResult, type LatexLoweringResult, type LayoutColor, type LayoutDocument, LayoutDocumentSchema, type LayoutEllipse, type LayoutFont, type LayoutFormulaOptions, type LayoutImage, type LayoutImageAsset, type LayoutItem, type LayoutLine, type LayoutLink, type LayoutMetadata, type LayoutPage, type LayoutPath, type LayoutPathSegment, type LayoutRect, type LayoutSubpath, type LayoutText, type LoadedMathFont, type LowerLatexOptions, MATH_LINT_CODES, type Margins, type MarkdownBody, MarkdownBytesSchema, MarkdownEditor, MarkdownList, type MarkdownListInit, type MarkdownMathLoweringOptions, MarkdownParagraph, type ParagraphInit$1 as MarkdownParagraphInit, type MarkdownRenderDiagnostic, type MarkdownRenderDiagnosticCode, MarkdownRenderDiagnosticCodes, type MarkdownRenderDiagnosticSeverity, type MarkdownRenderDiagnosticSink, MarkdownRun, type RunInit$1 as MarkdownRunInit, MarkdownTable, MarkdownTableCell, type TableInit$1 as MarkdownTableInit, MarkdownTableRow, type MathAssembledGlyphs, type MathBox, type MathColor, type MathDiagnostic, type MathDiagnosticKind, type MathFont, type MathFontDescriptorMetrics, type MathFontMetrics, type MathGlyphMetrics, type MathGlyphPlacement, type MathGlyphRun, type MathLayoutItem, type MathLayoutResult, type MathLintCode, type MathLintDiagnostic, type MathMlAttribute, type MathMlElement, type MathMlNode, type MathMlText, type MathRule, type MathStretchAxis, type MathStretchGlyph, type MathStretchResult, type MathStroke, type MathVariant, type MetadataOverrides, NOOP_DIAGNOSTIC_SINK, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, type OdbComponentInfo, type OdbConnectionInfo, type OdbConversionOptions, type OdbForm, type OdbFormControl, type OdbFormDefinition, type OdbInventory, OdbNoEmbeddedDataSourceError, type OdbQueryInfo, type OdbReport, type OdbReportBand, type OdbReportContentOptions, OdbReportDataSourceError, type OdbReportElement, type OdbReportFunction, type OdbReportGroup, OdbReportNotSpecifiedError, type OdbReportToDocxOptions, type OdbReportToOdtOptions, OdbTableNotFoundError, OdbTableNotSpecifiedError, type OdbToCsvOptions, type OdbUnsupportedFormat, OdbUnsupportedFormatError, OdfEmbeddedFontError, OdgBoxVector, type BoxVectorInit as OdgBoxVectorInit, OdgBytesSchema, OdgEditor, OdgLineVector, type LineVectorInit as OdgLineVectorInit, OdgPage, type PageImageInit as OdgPageImageInit, OdgPathVector, type PathVectorInit as OdgPathVectorInit, type TextBoxInit as OdgTextBoxInit, type OdgVector, type OdgVectorKind, type OdmToPdfOptions, OdmUnresolvedSectionError, OdpBytesSchema, OdpEditor, OdpShape, OdpSlide, type SlideImageInit as OdpSlideImageInit, type SlideTableInit as OdpSlideTableInit, type TextBoxInit$1 as OdpTextBoxInit, OdsBytesSchema, OdsCell, OdsEditor, OdsSheet, type OdtBody, OdtBytesSchema, OdtCoveredTableCell, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit$2 as OdtParagraphInit, OdtRun, type RunInit$2 as OdtRunInit, OdtTable, OdtTableCell, type TableInit$2 as OdtTableInit, OdtTableRow, type OmmlDiagnostic, type OmmlDiagnosticKind, type OmmlReadResult, type OmmlWriteResult, OoxmlEmbeddedFontError, type OperatorProperties, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageInit, type PageSize, type Part, PartSchema, type PatchDocxMetadataOptions, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEditor, type PdfEllipseInit, PdfEllipseItem, PdfEncryptedError, type PdfImageInit, PdfImageItem, PdfInternalLinkItem, type PdfItem, type PdfLineInit, PdfLineItem, type PdfLinkInit, PdfLinkItem, PdfPage, PdfParseError, type PdfPathInit, PdfPathItem, type PdfRectInit, PdfRectItem, type PdfTextInit, PdfTextItem, type PdfToDocumentOptions, type PositionedFormula, PptBytesSchema, PptEditor, PptShape, PptSlide, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, PptxTable, PptxTableCell, type PptxTableInit, PptxTableRow, type PresentationLayoutResult, type ProvidedFont, type ReadCsvContentOptions, type ReadDocumentMetadataOptions, type ReadDocxContentOptions, type ReadFirebirdBackupResult, type ReadNativeDocumentTreeOptions, type ReadPdfOptions, type ReadSvgContentOptions, type ReconstructOptions, type Relationship, type RenderMarkdownOptions, type ResolvedFace, type RptAggregateFunction, type RptBandDefinition, type RptBandInstance, type RptBandKind, type RptFormula, RptFormulaEvaluationError, RptFormulaParseError, RptFormulaUnsupportedError, type RptGroupDefinition, type RptNamedFunctionDefinition, type RptReference, type RptReportDefinition, type RptReportRun, RptReportStructureError, type RptScope, RtfBytesSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SVG_DIAGNOSTIC_CODES, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type SetDocumentMetadataOptions, type SheetsLayoutOptions, type SlideImageInit$1 as SlideImageInit, type SlideTableInit$1 as SlideTableInit, type SlidesLayoutOptions, type SpreadsheetLayoutResult, type SqlAggregateArgument, type SqlAggregateFunction, type SqlColumnRef, type SqlComparisonOperator, type SqlFromClause, type SqlFromSource, type SqlJoinClause, type SqlLiteral, type SqlNameRef, type SqlOperand, type SqlOrderByTerm, type SqlPredicate, type SqlPunctuation, type SqlResultSet, type SqlSelectItem, type SqlSelectStatement, type SqlSortDirection, type SqlToken, SvgBytesSchema, type SvgDiagnostic, type SvgDiagnosticCode, type SvgDiagnosticSink, SvgMissingRootElementError, SvgMultiPageNotSpecifiedError, SvgPageNotFoundError, type SvgReadOptions, SvgUndecodableTextError, SvgUnsupportedDocumentKindError, SvgUnsupportedEncodingError, type SvgWriteOptions, type TableGridCell, type TableGridRows, type TextBoxInit$2 as TextBoxInit, type UnifiedConversionOptions, UnrecognizedDocumentSchemaError, UnsupportedFontSourceFormatError, UnsupportedPackageFormatError, type WinAnsiSubstitution, type WordprocessingLayoutResult, type WritePdfOptions, XlsBytesSchema, XlsCell, type XlsContentDocument, XlsEditor, XlsSheet, XlsxBytesSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyMathVariant, attr, base64ToBytes, buildCsvText, buildDocumentBytes, buildDocxPackage, buildDrawingBlock, buildFormulaBlock, buildMarkdownText, buildOdgPackage, buildOdpPackage, buildOdsPackage, buildOdtPackage, buildOfficeMath, buildOfficeMathParagraph, buildPptxPackage, buildSvgText, buildXlsxPackage, buildXml, bytesToBase64, cellReference, childrenWithTag, collectDocumentFormulas, collectOfficeMathElements, columnIndexToLetters, columnLettersToIndex, compactCodec, compactPackageCodec, contentDocumentWithSchema, convertDocument, convertDrawingToLayout, convertPresentationToLayout, convertSpreadsheetToLayout, convertWordprocessingToLayout, createDoc, createDocumentFontRegistry, createDocx, createFontMeasurer, createFontRegistry, createLocalDocumentConverter, createMarkdownEditor, createOdg, createOdp, createOds, createOdt, createPdf, createPpt, createPptx, createStandardFontMeasurer, createXls, csvMarkdownCodec, csvPdfCodec, csvToMarkdown, csvToOds, csvToPdf, csvToXlsx, decodeCompactPackage, decodeCsvText, decodeDocumentPackage, decodeEntities, decodeHsqldbCachedTables, decodeMarkdownText, decodeOdbPackage, decodePackage, decodeSvgText, deobfuscateEmbeddedFont, deriveFontKey, describeFontFace, detectGridLattice, docPdfCodec, docToPdf, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, docxPdfCodec, docxToMarkdown, docxToOdt, docxToPdf, docxToPptx, drawingOfBlock, elementChildren, elementLocalName, elementsWithTag, embeddedPresentationSerialiser, encodeCompactPackage, encodeCsvText, encodeDocumentPackage, encodeMarkdownText, encodePackage, encodeSvgText, epubPdfCodec, epubToPdf, evaluateRptBandOutsideData, evaluateSelect, extractOdfEmbeddedFonts, extractOoxmlEmbeddedFonts, extractSourceFonts, extractSourceFontsForFormat, firstChildByLocalName, fixedClock, flipY, formulaDocument, formulaOfBlock, formulaPlaceholderText, fromCompact, displayTextFor as hsqldbCellDisplayText, inferCellValue, inflateHsqldbCompressedScript, isCompactXmlNode, isContentBlock, isMathMlElement, isMathVariant, isXmlNode, latexToFormula, layoutDocumentFromPackage, layoutFormula, lintMathCoherence, loadMathFont, localName, looksLikeSfnt, lowerLatex, lowerMarkdownMath, mapMathVariant, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, markdownToCsv, markdownToDocx, markdownToOdt, markdownToPdf, markdownToXlsx, textContent as mathMlTextContent, odbReportCommandSql, odbReportGroupChain, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbTablesToSpreadsheetDocument, odbToCsv, odbToXlsx, odfToPdf, odgPdfCodec, odgSvgCodec, odgToPdf, odgToSvg, odmToPdf, odpPdfCodec, odpPptxCodec, odpToOdt, odpToPdf, odpToPptx, odsCsvCodec, odsPdfCodec, odsToCsv, odsToPdf, odsToXlsx, odsXlsxCodec, odtDocxCodec, odtPdfCodec, odtToDocx, odtToMarkdown, odtToOdp, odtToPdf, openDoc, openDocx, openMarkdown, openOdg, openOdp, openOds, openOdt, openPdf, openPpt, openPptx, openXls, operatorProperties, packageCodec, parseCellReference, parseHsqldbBinaryScript, parseHsqldbScript, parsePackage, parseRangeReference, parseRptFormula, parseSelect, parseXml, patchDocxMetadata, pdfCodec, pdfToCsv, pdfToDoc, pdfToDocx, pdfToEpub, pdfToMarkdown, pdfToOdg, pdfToOdp, pdfToOds, pdfToOdt, pdfToPpt, pdfToPptx, pdfToRtf, pdfToSvg, pdfToXls, pdfToXlsx, pptPdfCodec, pptToPdf, pptxPdfCodec, pptxToDocx, pptxToOdp, pptxToPdf, rangeReference, readCsvContent, readDocContent, readDocumentMetadata, readDocxContent, readDocxExtras, readEpubContent, readFirebirdBackup, readMarkdownContent, readNativeDocumentTree, readOdbForm, readOdbForms, readOdbInventory, readOdbReport, readOdbReportContent, readOdbReports, readOdbTables, readOdfEmbeddedFormula, readOdfFormulaContent, readOdgContent, readOdpContent, readOdsContent, readOdtContent, readOfficeMath, readPdf, readPptContent, readPptxContent, readRtfContent, readSvgContent, readWpdContent, readXlsContent, readXlsxContent, reconstructDrawing, reconstructPresentation, reconstructSpreadsheet, reconstructWordprocessing, renderContentDocumentToMarkdown, renderOdbReportContent, resolveCompositionPlan, resolveMetadataTimestamps, resolveOdbComponent, resolveOdbReportRows, resolveRelationships, rgbHexToColor, rootElement, rptBandDefinition, rptDefinitionFromReport, rtfPdfCodec, rtfToPdf, runRptReport, schemaUriFor, serializePackage, setDocumentMetadata, svgPdfCodec, svgToOdg, svgToPdf, systemClock, textContent$1 as textContent, throwIfAborted, toCompact, tokenizeSql, unzipPackage, walk, writeDocContent, writeEpubContent, writePdf, writePptContent, writeRtfContent, writeXlsContent, displayTextOfValue as xlsDisplayTextOfValue, xlsPdfCodec, xlsToPdf, xlsxCsvCodec, xlsxMarkdownCodec, xlsxPdfCodec, xlsxToCsv, xlsxToMarkdown, xlsxToOds, xlsxToPdf, xmlCodec, zipPackage };