js.documents 1.91.3 → 1.91.4

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 (39) hide show
  1. package/dist/convert/convert.d.cts +2 -2
  2. package/dist/convert/convert.d.ts +1 -1
  3. package/dist/convert/document-fonts.d.cts +1 -1
  4. package/dist/convert/document-fonts.d.ts +1 -1
  5. package/dist/convert/port.d.cts +1 -2
  6. package/dist/convert/port.d.ts +1 -2
  7. package/dist/fonts/odf.d.cts +1 -1
  8. package/dist/fonts/odf.d.ts +1 -1
  9. package/dist/fonts/ooxml.d.cts +1 -1
  10. package/dist/fonts/ooxml.d.ts +1 -1
  11. package/dist/fonts/registry.d.cts +1 -1
  12. package/dist/fonts/registry.d.ts +1 -1
  13. package/dist/index.d.cts +4 -5
  14. package/dist/index.d.ts +4 -5
  15. package/dist/layout/drawing.d.cts +1 -2
  16. package/dist/layout/drawing.d.ts +1 -2
  17. package/dist/layout/engine.d.cts +1 -2
  18. package/dist/layout/engine.d.ts +1 -2
  19. package/dist/layout/shared.d.cts +1 -2
  20. package/dist/layout/shared.d.ts +1 -2
  21. package/dist/layout/sheets.d.cts +1 -2
  22. package/dist/layout/sheets.d.ts +1 -2
  23. package/dist/layout/slides.d.cts +1 -2
  24. package/dist/layout/slides.d.ts +1 -2
  25. package/dist/mathml/compose.d.cts +1 -1
  26. package/dist/mathml/compose.d.ts +1 -1
  27. package/dist/mathml/layout-types.d.cts +2 -51
  28. package/dist/mathml/layout-types.d.ts +2 -51
  29. package/dist/mathml/layout.d.cts +5 -5
  30. package/dist/mathml/layout.d.ts +5 -5
  31. package/dist/mathml/radical.d.cts +1 -1
  32. package/dist/mathml/radical.d.ts +1 -1
  33. package/dist/{registry-CrSqLIcn.d.ts → registry-DpF4A9EM.d.ts} +2 -1
  34. package/dist/{registry-CeZB1W_p.d.cts → registry-ZAWlWHqJ.d.cts} +2 -1
  35. package/package.json +1 -1
  36. package/dist/mathml/metrics.cjs +0 -0
  37. package/dist/mathml/metrics.d.cts +0 -60
  38. package/dist/mathml/metrics.d.ts +0 -60
  39. package/dist/mathml/metrics.js +0 -0
@@ -1,10 +1,10 @@
1
1
  import { n as HsqldbDecodeOptions } from "../rowformat-Cl2exlEh.cjs";
2
2
  import { t as OmmlDiagnostic } from "../shared-DLZ3IQUl.cjs";
3
- import { t as DocumentFontRegistryOptions } from "../registry-CeZB1W_p.cjs";
3
+ import { t as DocumentFontRegistryOptions } from "../registry-ZAWlWHqJ.cjs";
4
4
  import { ContentDocument, ContentSection, DocumentPackage } from "document-schema.js";
5
5
  import { MarkdownImageResolver } from "markdown-codec";
6
- import { PdfDiagnosticSink, WinAnsiSubstitution } from "pdf-codec";
7
6
  import { OdmSection, Package } from "odf.js";
7
+ import { PdfDiagnosticSink, WinAnsiSubstitution } from "pdf-codec";
8
8
  //#region src/convert/convert.d.ts
9
9
  interface DocumentToPdfOptions extends DocumentFontRegistryOptions {
10
10
  readonly signal?: AbortSignal;
@@ -1,6 +1,6 @@
1
1
  import { n as HsqldbDecodeOptions } from "../rowformat-Cl2exlEh.js";
2
2
  import { t as OmmlDiagnostic } from "../shared-DUOzjwcL.js";
3
- import { t as DocumentFontRegistryOptions } from "../registry-CrSqLIcn.js";
3
+ import { t as DocumentFontRegistryOptions } from "../registry-DpF4A9EM.js";
4
4
  import { ContentDocument, ContentSection, DocumentPackage } from "document-schema.js";
5
5
  import { OdmSection, Package } from "odf.js";
6
6
  import { MarkdownImageResolver } from "markdown-codec";
@@ -1,5 +1,5 @@
1
1
  import { DocumentFormat } from "./port.cjs";
2
- import { ProvidedFont } from "pdf-codec";
2
+ import { ProvidedFont } from "document-schema.js";
3
3
  //#region src/convert/document-fonts.d.ts
4
4
  declare class UnsupportedFontSourceFormatError extends Error {
5
5
  readonly format: DocumentFormat;
@@ -1,5 +1,5 @@
1
1
  import { DocumentFormat } from "./port.js";
2
- import { ProvidedFont } from "pdf-codec";
2
+ import { ProvidedFont } from "document-schema.js";
3
3
  //#region src/convert/document-fonts.d.ts
4
4
  declare class UnsupportedFontSourceFormatError extends Error {
5
5
  readonly format: DocumentFormat;
@@ -1,6 +1,5 @@
1
- import { DocumentPackage } from "document-schema.js";
1
+ import { DocumentPackage, FontSubstitution, ProvidedFont } from "document-schema.js";
2
2
  import { MarkdownImageResolver } from "markdown-codec";
3
- import { FontSubstitution, ProvidedFont } from "pdf-codec";
4
3
  import { z } from "zod";
5
4
  //#region src/convert/port.d.ts
6
5
  declare const DocumentFormatSchema: z.ZodEnum<{
@@ -1,7 +1,6 @@
1
- import { DocumentPackage } from "document-schema.js";
1
+ import { DocumentPackage, FontSubstitution, ProvidedFont } from "document-schema.js";
2
2
  import { z } from "zod";
3
3
  import { MarkdownImageResolver } from "markdown-codec";
4
- import { FontSubstitution, ProvidedFont } from "pdf-codec";
5
4
  //#region src/convert/port.d.ts
6
5
  declare const DocumentFormatSchema: z.ZodEnum<{
7
6
  docx: "docx";
@@ -1,4 +1,4 @@
1
- import { ProvidedFont } from "pdf-codec";
1
+ import { ProvidedFont } from "document-schema.js";
2
2
  import { Package } from "odf.js";
3
3
  //#region src/fonts/odf.d.ts
4
4
  declare class OdfEmbeddedFontError extends Error {
@@ -1,5 +1,5 @@
1
+ import { ProvidedFont } from "document-schema.js";
1
2
  import { Package } from "odf.js";
2
- import { ProvidedFont } from "pdf-codec";
3
3
  //#region src/fonts/odf.d.ts
4
4
  declare class OdfEmbeddedFontError extends Error {
5
5
  constructor(detail: string);
@@ -1,4 +1,4 @@
1
- import { ProvidedFont } from "pdf-codec";
1
+ import { ProvidedFont } from "document-schema.js";
2
2
  import { Package } from "ooxml.js";
3
3
  //#region src/fonts/ooxml.d.ts
4
4
  declare class OoxmlEmbeddedFontError extends Error {
@@ -1,5 +1,5 @@
1
1
  import { Package } from "ooxml.js";
2
- import { ProvidedFont } from "pdf-codec";
2
+ import { ProvidedFont } from "document-schema.js";
3
3
  //#region src/fonts/ooxml.d.ts
4
4
  declare class OoxmlEmbeddedFontError extends Error {
5
5
  constructor(detail: string);
@@ -1,2 +1,2 @@
1
- import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "../registry-CeZB1W_p.cjs";
1
+ import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "../registry-ZAWlWHqJ.cjs";
2
2
  export { DocumentFontRegistryOptions, FontSourcePackage, createDocumentFontRegistry, extractSourceFonts };
@@ -1,2 +1,2 @@
1
- import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "../registry-CrSqLIcn.js";
1
+ import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "../registry-DpF4A9EM.js";
2
2
  export { DocumentFontRegistryOptions, FontSourcePackage, createDocumentFontRegistry, extractSourceFonts };
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@ import { ConversionOptions, ConversionRequest, ConversionResult, DOCUMENT_FORMAT
2
2
  import { n as HsqldbDecodeOptions, r as HsqldbRowFormatError } from "./rowformat-Cl2exlEh.cjs";
3
3
  import { i as mapMathVariant, n as applyMathVariant, r as isMathVariant, t as MathVariant } from "./variant-BMrebjMw.cjs";
4
4
  import { n as OmmlDiagnosticKind, t as OmmlDiagnostic } from "./shared-DLZ3IQUl.cjs";
5
- import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-CeZB1W_p.cjs";
5
+ import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-ZAWlWHqJ.cjs";
6
6
  import { DocumentBridgeOptions, DocumentToPdfOptions, OdbConversionOptions, OdbReportToDocxOptions, OdbReportToOdtOptions, OdbToCsvOptions, OdmToPdfOptions, OdmUnresolvedSectionError, PdfToDocumentOptions, docxToMarkdown, docxToOdt, docxToPdf, markdownToDocx, markdownToOdt, markdownToPdf, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbToCsv, odbToXlsx, odfToPdf, odgToPdf, odmToPdf, odpToPdf, odpToPptx, odsToPdf, odsToXlsx, odtToDocx, odtToMarkdown, odtToPdf, pdfToDocx, pdfToMarkdown, pdfToOdg, pdfToOdp, pdfToOds, pdfToOdt, pdfToPptx, pdfToXlsx, pptxToOdp, pptxToPdf, xlsxToOds, xlsxToPdf } from "./convert/convert.cjs";
7
7
  import { docxPdfCodec, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, odgPdfCodec, odpPdfCodec, odpPptxCodec, odsPdfCodec, odsXlsxCodec, odtDocxCodec, odtPdfCodec, pptxPdfCodec, xlsxPdfCodec } from "./convert/codec.cjs";
8
8
  import { UnsupportedFontSourceFormatError, extractSourceFontsForFormat } from "./convert/document-fonts.cjs";
@@ -68,8 +68,7 @@ import { OoxmlEmbeddedFontError, extractOoxmlEmbeddedFonts } from "./fonts/ooxml
68
68
  import { HsqldbBinaryScript, HsqldbBinaryScriptParseError, inflateHsqldbCompressedScript, parseHsqldbBinaryScript } from "./hsqldb/binary-script.cjs";
69
69
  import { decodeHsqldbCachedTables } from "./hsqldb/cache.cjs";
70
70
  import { DocxBytesSchema, MarkdownBytesSchema, OdgBytesSchema, OdpBytesSchema, OdsBytesSchema, OdtBytesSchema, PdfBytesSchema, PptxBytesSchema, XlsxBytesSchema } from "./model/bytes.cjs";
71
- import { MathAssembledGlyphs, MathBox, MathColor, MathDiagnostic, MathDiagnosticKind, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathLayoutResult, MathRule, MathStroke } from "./mathml/layout-types.cjs";
72
- import { MathFontMetrics, MathGlyphMetrics, MathStretchAxis, MathStretchGlyph, MathStretchResult } from "./mathml/metrics.cjs";
71
+ import { MathDiagnostic, MathDiagnosticKind, MathLayoutResult } from "./mathml/layout-types.cjs";
73
72
  import { LayoutFormulaOptions, layoutFormula } from "./mathml/layout.cjs";
74
73
  import { OperatorProperties, operatorProperties } from "./mathml/operators.cjs";
75
74
  import { OmmlReadResult, collectOfficeMathElements, readOfficeMath } from "./omml/read.cjs";
@@ -113,8 +112,8 @@ import { UnsupportedPackageFormatError, decodeDocumentPackage, decodeOdbPackage,
113
112
  import { ReadDocumentMetadataOptions, readDocumentMetadata } from "./metadata/read.cjs";
114
113
  import { MetadataOverrides, SetDocumentMetadataOptions, setDocumentMetadata } from "./metadata/write.cjs";
115
114
  import { throwIfAborted } from "./ports/abort.cjs";
116
- import { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, layoutDocumentWithSchema, schemaUriFor } from "document-schema.js";
117
- import { FontRegistry, FontRegistryOptions, FontSubstitution, LoadedMathFont, MathFont, MathFontDescriptorMetrics, NOOP_DIAGNOSTIC_SINK, PdfDiagnostic, PdfDiagnosticSeverity, PdfDiagnosticSink, PdfEncryptedError, PdfParseError, PositionedFormula, ProvidedFont, ReadPdfOptions, ResolvedFace, WinAnsiSubstitution, WritePdfOptions, createFontMeasurer, createFontRegistry, createStandardFontMeasurer, loadMathFont, pdfCodec, readPdf, writePdf } from "pdf-codec";
115
+ import { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, layoutDocumentWithSchema, schemaUriFor } from "document-schema.js";
118
116
  import { OdbComponentInfo, OdbConnectionInfo, OdbForm, OdbFormControl, OdbFormDefinition, OdbInventory, OdbQueryInfo, OdbReport, OdbReportBand, OdbReportElement, OdbReportFunction, OdbReportGroup, readOdbForm, readOdbInventory, readOdbReport, resolveOdbComponent } from "odf.js";
117
+ import { FontRegistry, FontRegistryOptions, FontSubstitution, LoadedMathFont, MathFont, MathFontDescriptorMetrics, NOOP_DIAGNOSTIC_SINK, PdfDiagnostic, PdfDiagnosticSeverity, PdfDiagnosticSink, PdfEncryptedError, PdfParseError, ProvidedFont, ReadPdfOptions, ResolvedFace, WinAnsiSubstitution, WritePdfOptions, createFontMeasurer, createFontRegistry, createStandardFontMeasurer, loadMathFont, pdfCodec, readPdf, writePdf } from "pdf-codec";
119
118
  import { Attribute, AttributeSchema, BinaryPart, BinaryPartSchema, Comment, CommentSchema, CompactAttrPairs, CompactPackage, CompactPackageSchema, CompactPart, CompactPartSchema, CompactXmlNode, CompactXmlNodeSchema, DefinedName, DefinedNameSchema, Footnote, FootnoteSchema, NumberingDefinition, NumberingDefinitionSchema, NumberingDefinitions, NumberingLevel, NumberingLevelSchema, Package, PackageSchema, Part, PartSchema, Relationship, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElementSchema, XmlNode, XmlNodeSchema, XmlPart, XmlPartSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, attr, base64ToBytes, buildXml, bytesToBase64, childrenWithTag, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, elementsWithTag, encodeCompactPackage, encodePackage, fromCompact, isCompactXmlNode, isXmlNode, packageCodec, parsePackage, parseXml, resolveRelationships, rootElement, serializePackage, textContent as textContent$1, toCompact, unzipPackage, walk, xmlCodec, zipPackage } from "ooxml.js";
120
119
  export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, type BuildDocxPackageOptions, type BuildOdgPackageOptions, type BuildOdpPackageOptions, type BuildOdsPackageOptions, type BuildOdtPackageOptions, type BuildPptxPackageOptions, COLOR_BLACK, CONTENT_FORMAT_VERSION, 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 ContentBlock, ContentBlockSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, type ContentDocumentJson, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, 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 ConversionRequest, type ConversionResult, 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 CreatePptxOptions, DEFAULT_LAYOUT_FONT, DOCUMENT_FORMATS, type DefinedName, DefinedNameSchema, type Diagnostic, type DocumentBridgeOptions, type DocumentConverter, type DocumentFontRegistryOptions, type DocumentFormat, DocumentFormatSchema, type DocumentJsonResult, type DocumentPackage, type DocumentPackageJson, DocumentPackageSchema, type DocumentPayload, type DocumentSchemaKind, type DocumentToPdfOptions, type DocxBody, DocxBytesSchema, DocxEditor, type DocxExtras, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DocxVerticalMerge, type DrawingLayoutOptions, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, SUPPORTED_BACKUP_FORMAT_VERSION as FIREBIRD_SUPPORTED_BACKUP_FORMAT_VERSION, FirebirdBackupFormatError, FirebirdBackupParseError, type FirebirdBackupSummary, FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError, FirebirdSchemaParseError, FirebirdUnsupportedFieldTypeError, FontDeobfuscationError, type FontRegistry, type FontRegistryOptions, type FontSourcePackage, type FontSubstitution, type Footnote, FootnoteSchema, type GridLattice, type HsqldbBinaryScript, HsqldbBinaryScriptParseError, type HsqldbColumn, type HsqldbDecodeOptions, HsqldbRowFormatError, HsqldbScriptParseError, HsqldbSqlEvaluationError, HsqldbSqlParseError, HsqldbSqlUnsupportedError, type HsqldbTable, LAYOUT_FORMAT_VERSION, type LayoutColor, type LayoutDocument, type LayoutDocumentJson, 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 Margins, type MarkdownBody, MarkdownBytesSchema, MarkdownEditor, MarkdownList, type MarkdownListInit, MarkdownParagraph, type ParagraphInit as MarkdownParagraphInit, MarkdownRun, type RunInit as MarkdownRunInit, MarkdownTable, MarkdownTableCell, type TableInit 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 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, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit$1 as OdtParagraphInit, OdtRun, type RunInit$1 as OdtRunInit, OdtTable, OdtTableCell, type TableInit$1 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, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEditor, type PdfEllipseInit, PdfEllipseItem, PdfEncryptedError, type PdfImageInit, PdfImageItem, type PdfItem, type PdfLineInit, PdfLineItem, type PdfLinkInit, PdfLinkItem, PdfPage, PdfParseError, type PdfPathInit, PdfPathItem, type PdfRectInit, PdfRectItem, type PdfTextInit, PdfTextItem, type PdfToDocumentOptions, type PositionedFormula, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, PptxTable, PptxTableCell, type PptxTableInit, PptxTableRow, type PresentationLayoutResult, type ProvidedFont, type ReadDocumentMetadataOptions, type ReadDocxContentOptions, type ReadFirebirdBackupResult, type ReadPdfOptions, type ReconstructOptions, type Relationship, 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, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, 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 SqlLiteral, type SqlNameRef, type SqlOperand, type SqlOrderByTerm, type SqlPredicate, type SqlPunctuation, type SqlResultSet, type SqlSelectItem, type SqlSelectStatement, type SqlSortDirection, type SqlToken, type TextBoxInit$2 as TextBoxInit, UnrecognizedDocumentSchemaError, UnsupportedFontSourceFormatError, UnsupportedPackageFormatError, type WinAnsiSubstitution, type WordprocessingLayoutResult, type WritePdfOptions, 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, buildDocumentBytes, buildDocxPackage, buildDrawingBlock, buildFormulaBlock, buildMarkdownText, buildOdgPackage, buildOdpPackage, buildOdsPackage, buildOdtPackage, buildOfficeMath, buildOfficeMathParagraph, buildPptxPackage, buildXml, bytesToBase64, childrenWithTag, collectOfficeMathElements, compactCodec, compactPackageCodec, contentDocumentWithSchema, convertDrawingToLayout, convertPresentationToLayout, convertSpreadsheetToLayout, convertWordprocessingToLayout, createDocumentFontRegistry, createDocx, createFontMeasurer, createFontRegistry, createLocalDocumentConverter, createMarkdownEditor, createOdg, createOdp, createOds, createOdt, createPdf, createPptx, createStandardFontMeasurer, decodeCompactPackage, decodeDocumentPackage, decodeEntities, decodeHsqldbCachedTables, decodeMarkdownText, decodeOdbPackage, decodePackage, deobfuscateEmbeddedFont, deriveFontKey, detectGridLattice, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, docxPdfCodec, docxToMarkdown, docxToOdt, docxToPdf, drawingOfBlock, elementChildren, elementLocalName, elementsWithTag, encodeCompactPackage, encodeDocumentPackage, encodeMarkdownText, encodePackage, evaluateRptBandOutsideData, evaluateSelect, extractOdfEmbeddedFonts, extractOoxmlEmbeddedFonts, extractSourceFonts, extractSourceFontsForFormat, firstChildByLocalName, fixedClock, flipY, formulaDocument, formulaOfBlock, formulaPlaceholderText, fromCompact, displayTextFor as hsqldbCellDisplayText, inferCellValue, inflateHsqldbCompressedScript, isCompactXmlNode, isContentBlock, isMathMlElement, isMathVariant, isXmlNode, layoutDocumentWithSchema, layoutFormula, loadMathFont, localName, looksLikeSfnt, mapMathVariant, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, markdownToDocx, markdownToOdt, markdownToPdf, textContent as mathMlTextContent, odbReportCommandSql, odbReportGroupChain, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbTablesToSpreadsheetDocument, odbToCsv, odbToXlsx, odfToPdf, odgPdfCodec, odgToPdf, odmToPdf, odpPdfCodec, odpPptxCodec, odpToPdf, odpToPptx, odsPdfCodec, odsToPdf, odsToXlsx, odsXlsxCodec, odtDocxCodec, odtPdfCodec, odtToDocx, odtToMarkdown, odtToPdf, openDocx, openMarkdown, openOdg, openOdp, openOds, openOdt, openPdf, openPptx, operatorProperties, packageCodec, parseHsqldbBinaryScript, parseHsqldbScript, parsePackage, parseRptFormula, parseSelect, parseXml, pdfCodec, pdfToDocx, pdfToMarkdown, pdfToOdg, pdfToOdp, pdfToOds, pdfToOdt, pdfToPptx, pdfToXlsx, pptxPdfCodec, pptxToOdp, pptxToPdf, readDocumentMetadata, readDocxContent, readDocxExtras, readFirebirdBackup, readMarkdownContent, readOdbForm, readOdbForms, readOdbInventory, readOdbReport, readOdbReportContent, readOdbReports, readOdbTables, readOdfEmbeddedFormula, readOdfFormulaContent, readOdgContent, readOdpContent, readOdsContent, readOdtContent, readOfficeMath, readPdf, readPptxContent, reconstructDrawing, reconstructPresentation, reconstructSpreadsheet, reconstructWordprocessing, renderOdbReportContent, resolveMetadataTimestamps, resolveOdbComponent, resolveOdbReportRows, resolveRelationships, rgbHexToColor, rootElement, rptBandDefinition, rptDefinitionFromReport, runRptReport, schemaUriFor, serializePackage, setDocumentMetadata, systemClock, textContent$1 as textContent, throwIfAborted, toCompact, tokenizeSql, unzipPackage, walk, writePdf, xlsxPdfCodec, xlsxToOds, xlsxToPdf, xmlCodec, zipPackage };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ConversionOptions, ConversionRequest, ConversionResult, DOCUMENT_FORMAT
2
2
  import { n as HsqldbDecodeOptions, r as HsqldbRowFormatError } from "./rowformat-Cl2exlEh.js";
3
3
  import { i as mapMathVariant, n as applyMathVariant, r as isMathVariant, t as MathVariant } from "./variant-BMrebjMw.js";
4
4
  import { n as OmmlDiagnosticKind, t as OmmlDiagnostic } from "./shared-DUOzjwcL.js";
5
- import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-CrSqLIcn.js";
5
+ import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-DpF4A9EM.js";
6
6
  import { DocumentBridgeOptions, DocumentToPdfOptions, OdbConversionOptions, OdbReportToDocxOptions, OdbReportToOdtOptions, OdbToCsvOptions, OdmToPdfOptions, OdmUnresolvedSectionError, PdfToDocumentOptions, docxToMarkdown, docxToOdt, docxToPdf, markdownToDocx, markdownToOdt, markdownToPdf, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbToCsv, odbToXlsx, odfToPdf, odgToPdf, odmToPdf, odpToPdf, odpToPptx, odsToPdf, odsToXlsx, odtToDocx, odtToMarkdown, odtToPdf, pdfToDocx, pdfToMarkdown, pdfToOdg, pdfToOdp, pdfToOds, pdfToOdt, pdfToPptx, pdfToXlsx, pptxToOdp, pptxToPdf, xlsxToOds, xlsxToPdf } from "./convert/convert.js";
7
7
  import { docxPdfCodec, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, odgPdfCodec, odpPdfCodec, odpPptxCodec, odsPdfCodec, odsXlsxCodec, odtDocxCodec, odtPdfCodec, pptxPdfCodec, xlsxPdfCodec } from "./convert/codec.js";
8
8
  import { UnsupportedFontSourceFormatError, extractSourceFontsForFormat } from "./convert/document-fonts.js";
@@ -68,8 +68,7 @@ import { OoxmlEmbeddedFontError, extractOoxmlEmbeddedFonts } from "./fonts/ooxml
68
68
  import { HsqldbBinaryScript, HsqldbBinaryScriptParseError, inflateHsqldbCompressedScript, parseHsqldbBinaryScript } from "./hsqldb/binary-script.js";
69
69
  import { decodeHsqldbCachedTables } from "./hsqldb/cache.js";
70
70
  import { DocxBytesSchema, MarkdownBytesSchema, OdgBytesSchema, OdpBytesSchema, OdsBytesSchema, OdtBytesSchema, PdfBytesSchema, PptxBytesSchema, XlsxBytesSchema } from "./model/bytes.js";
71
- import { MathAssembledGlyphs, MathBox, MathColor, MathDiagnostic, MathDiagnosticKind, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathLayoutResult, MathRule, MathStroke } from "./mathml/layout-types.js";
72
- import { MathFontMetrics, MathGlyphMetrics, MathStretchAxis, MathStretchGlyph, MathStretchResult } from "./mathml/metrics.js";
71
+ import { MathDiagnostic, MathDiagnosticKind, MathLayoutResult } from "./mathml/layout-types.js";
73
72
  import { LayoutFormulaOptions, layoutFormula } from "./mathml/layout.js";
74
73
  import { OperatorProperties, operatorProperties } from "./mathml/operators.js";
75
74
  import { OmmlReadResult, collectOfficeMathElements, readOfficeMath } from "./omml/read.js";
@@ -114,7 +113,7 @@ import { ReadDocumentMetadataOptions, readDocumentMetadata } from "./metadata/re
114
113
  import { MetadataOverrides, SetDocumentMetadataOptions, setDocumentMetadata } from "./metadata/write.js";
115
114
  import { throwIfAborted } from "./ports/abort.js";
116
115
  import { Attribute, AttributeSchema, BinaryPart, BinaryPartSchema, Comment, CommentSchema, CompactAttrPairs, CompactPackage, CompactPackageSchema, CompactPart, CompactPartSchema, CompactXmlNode, CompactXmlNodeSchema, DefinedName, DefinedNameSchema, Footnote, FootnoteSchema, NumberingDefinition, NumberingDefinitionSchema, NumberingDefinitions, NumberingLevel, NumberingLevelSchema, Package, PackageSchema, Part, PartSchema, Relationship, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElementSchema, XmlNode, XmlNodeSchema, XmlPart, XmlPartSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, attr, base64ToBytes, buildXml, bytesToBase64, childrenWithTag, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, elementsWithTag, encodeCompactPackage, encodePackage, fromCompact, isCompactXmlNode, isXmlNode, packageCodec, parsePackage, parseXml, resolveRelationships, rootElement, serializePackage, textContent as textContent$1, toCompact, unzipPackage, walk, xmlCodec, zipPackage } from "ooxml.js";
117
- import { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, layoutDocumentWithSchema, schemaUriFor } from "document-schema.js";
116
+ import { CONTENT_FORMAT_VERSION, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValueSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocumentJson, LayoutDocumentSchema, LayoutEllipse, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, layoutDocumentWithSchema, schemaUriFor } from "document-schema.js";
118
117
  import { OdbComponentInfo, OdbConnectionInfo, OdbForm, OdbFormControl, OdbFormDefinition, OdbInventory, OdbQueryInfo, OdbReport, OdbReportBand, OdbReportElement, OdbReportFunction, OdbReportGroup, readOdbForm, readOdbInventory, readOdbReport, resolveOdbComponent } from "odf.js";
119
- import { FontRegistry, FontRegistryOptions, FontSubstitution, LoadedMathFont, MathFont, MathFontDescriptorMetrics, NOOP_DIAGNOSTIC_SINK, PdfDiagnostic, PdfDiagnosticSeverity, PdfDiagnosticSink, PdfEncryptedError, PdfParseError, PositionedFormula, ProvidedFont, ReadPdfOptions, ResolvedFace, WinAnsiSubstitution, WritePdfOptions, createFontMeasurer, createFontRegistry, createStandardFontMeasurer, loadMathFont, pdfCodec, readPdf, writePdf } from "pdf-codec";
118
+ import { FontRegistry, FontRegistryOptions, FontSubstitution, LoadedMathFont, MathFont, MathFontDescriptorMetrics, NOOP_DIAGNOSTIC_SINK, PdfDiagnostic, PdfDiagnosticSeverity, PdfDiagnosticSink, PdfEncryptedError, PdfParseError, ProvidedFont, ReadPdfOptions, ResolvedFace, WinAnsiSubstitution, WritePdfOptions, createFontMeasurer, createFontRegistry, createStandardFontMeasurer, loadMathFont, pdfCodec, readPdf, writePdf } from "pdf-codec";
120
119
  export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, type BuildDocxPackageOptions, type BuildOdgPackageOptions, type BuildOdpPackageOptions, type BuildOdsPackageOptions, type BuildOdtPackageOptions, type BuildPptxPackageOptions, COLOR_BLACK, CONTENT_FORMAT_VERSION, 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 ContentBlock, ContentBlockSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, type ContentDocumentJson, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, 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 ConversionRequest, type ConversionResult, 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 CreatePptxOptions, DEFAULT_LAYOUT_FONT, DOCUMENT_FORMATS, type DefinedName, DefinedNameSchema, type Diagnostic, type DocumentBridgeOptions, type DocumentConverter, type DocumentFontRegistryOptions, type DocumentFormat, DocumentFormatSchema, type DocumentJsonResult, type DocumentPackage, type DocumentPackageJson, DocumentPackageSchema, type DocumentPayload, type DocumentSchemaKind, type DocumentToPdfOptions, type DocxBody, DocxBytesSchema, DocxEditor, type DocxExtras, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DocxVerticalMerge, type DrawingLayoutOptions, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, SUPPORTED_BACKUP_FORMAT_VERSION as FIREBIRD_SUPPORTED_BACKUP_FORMAT_VERSION, FirebirdBackupFormatError, FirebirdBackupParseError, type FirebirdBackupSummary, FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError, FirebirdSchemaParseError, FirebirdUnsupportedFieldTypeError, FontDeobfuscationError, type FontRegistry, type FontRegistryOptions, type FontSourcePackage, type FontSubstitution, type Footnote, FootnoteSchema, type GridLattice, type HsqldbBinaryScript, HsqldbBinaryScriptParseError, type HsqldbColumn, type HsqldbDecodeOptions, HsqldbRowFormatError, HsqldbScriptParseError, HsqldbSqlEvaluationError, HsqldbSqlParseError, HsqldbSqlUnsupportedError, type HsqldbTable, LAYOUT_FORMAT_VERSION, type LayoutColor, type LayoutDocument, type LayoutDocumentJson, 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 Margins, type MarkdownBody, MarkdownBytesSchema, MarkdownEditor, MarkdownList, type MarkdownListInit, MarkdownParagraph, type ParagraphInit as MarkdownParagraphInit, MarkdownRun, type RunInit as MarkdownRunInit, MarkdownTable, MarkdownTableCell, type TableInit 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 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, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit$1 as OdtParagraphInit, OdtRun, type RunInit$1 as OdtRunInit, OdtTable, OdtTableCell, type TableInit$1 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, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEditor, type PdfEllipseInit, PdfEllipseItem, PdfEncryptedError, type PdfImageInit, PdfImageItem, type PdfItem, type PdfLineInit, PdfLineItem, type PdfLinkInit, PdfLinkItem, PdfPage, PdfParseError, type PdfPathInit, PdfPathItem, type PdfRectInit, PdfRectItem, type PdfTextInit, PdfTextItem, type PdfToDocumentOptions, type PositionedFormula, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, PptxTable, PptxTableCell, type PptxTableInit, PptxTableRow, type PresentationLayoutResult, type ProvidedFont, type ReadDocumentMetadataOptions, type ReadDocxContentOptions, type ReadFirebirdBackupResult, type ReadPdfOptions, type ReconstructOptions, type Relationship, 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, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, 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 SqlLiteral, type SqlNameRef, type SqlOperand, type SqlOrderByTerm, type SqlPredicate, type SqlPunctuation, type SqlResultSet, type SqlSelectItem, type SqlSelectStatement, type SqlSortDirection, type SqlToken, type TextBoxInit$2 as TextBoxInit, UnrecognizedDocumentSchemaError, UnsupportedFontSourceFormatError, UnsupportedPackageFormatError, type WinAnsiSubstitution, type WordprocessingLayoutResult, type WritePdfOptions, 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, buildDocumentBytes, buildDocxPackage, buildDrawingBlock, buildFormulaBlock, buildMarkdownText, buildOdgPackage, buildOdpPackage, buildOdsPackage, buildOdtPackage, buildOfficeMath, buildOfficeMathParagraph, buildPptxPackage, buildXml, bytesToBase64, childrenWithTag, collectOfficeMathElements, compactCodec, compactPackageCodec, contentDocumentWithSchema, convertDrawingToLayout, convertPresentationToLayout, convertSpreadsheetToLayout, convertWordprocessingToLayout, createDocumentFontRegistry, createDocx, createFontMeasurer, createFontRegistry, createLocalDocumentConverter, createMarkdownEditor, createOdg, createOdp, createOds, createOdt, createPdf, createPptx, createStandardFontMeasurer, decodeCompactPackage, decodeDocumentPackage, decodeEntities, decodeHsqldbCachedTables, decodeMarkdownText, decodeOdbPackage, decodePackage, deobfuscateEmbeddedFont, deriveFontKey, detectGridLattice, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, docxPdfCodec, docxToMarkdown, docxToOdt, docxToPdf, drawingOfBlock, elementChildren, elementLocalName, elementsWithTag, encodeCompactPackage, encodeDocumentPackage, encodeMarkdownText, encodePackage, evaluateRptBandOutsideData, evaluateSelect, extractOdfEmbeddedFonts, extractOoxmlEmbeddedFonts, extractSourceFonts, extractSourceFontsForFormat, firstChildByLocalName, fixedClock, flipY, formulaDocument, formulaOfBlock, formulaPlaceholderText, fromCompact, displayTextFor as hsqldbCellDisplayText, inferCellValue, inflateHsqldbCompressedScript, isCompactXmlNode, isContentBlock, isMathMlElement, isMathVariant, isXmlNode, layoutDocumentWithSchema, layoutFormula, loadMathFont, localName, looksLikeSfnt, mapMathVariant, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, markdownToDocx, markdownToOdt, markdownToPdf, textContent as mathMlTextContent, odbReportCommandSql, odbReportGroupChain, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbTablesToSpreadsheetDocument, odbToCsv, odbToXlsx, odfToPdf, odgPdfCodec, odgToPdf, odmToPdf, odpPdfCodec, odpPptxCodec, odpToPdf, odpToPptx, odsPdfCodec, odsToPdf, odsToXlsx, odsXlsxCodec, odtDocxCodec, odtPdfCodec, odtToDocx, odtToMarkdown, odtToPdf, openDocx, openMarkdown, openOdg, openOdp, openOds, openOdt, openPdf, openPptx, operatorProperties, packageCodec, parseHsqldbBinaryScript, parseHsqldbScript, parsePackage, parseRptFormula, parseSelect, parseXml, pdfCodec, pdfToDocx, pdfToMarkdown, pdfToOdg, pdfToOdp, pdfToOds, pdfToOdt, pdfToPptx, pdfToXlsx, pptxPdfCodec, pptxToOdp, pptxToPdf, readDocumentMetadata, readDocxContent, readDocxExtras, readFirebirdBackup, readMarkdownContent, readOdbForm, readOdbForms, readOdbInventory, readOdbReport, readOdbReportContent, readOdbReports, readOdbTables, readOdfEmbeddedFormula, readOdfFormulaContent, readOdgContent, readOdpContent, readOdsContent, readOdtContent, readOfficeMath, readPdf, readPptxContent, reconstructDrawing, reconstructPresentation, reconstructSpreadsheet, reconstructWordprocessing, renderOdbReportContent, resolveMetadataTimestamps, resolveOdbComponent, resolveOdbReportRows, resolveRelationships, rgbHexToColor, rootElement, rptBandDefinition, rptDefinitionFromReport, runRptReport, schemaUriFor, serializePackage, setDocumentMetadata, systemClock, textContent$1 as textContent, throwIfAborted, toCompact, tokenizeSql, unzipPackage, walk, writePdf, xlsxPdfCodec, xlsxToOds, xlsxToPdf, xmlCodec, zipPackage };
@@ -1,5 +1,4 @@
1
- import { ContentDocument, LayoutDocument } from "document-schema.js";
2
- import { TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, LayoutDocument, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/drawing.d.ts
4
3
  interface DrawingLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, LayoutDocument } from "document-schema.js";
2
- import { TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, LayoutDocument, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/drawing.d.ts
4
3
  interface DrawingLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, LayoutDocument } from "document-schema.js";
2
- import { PositionedFormula, TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, LayoutDocument, PositionedFormula, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/engine.d.ts
4
3
  interface EngineLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, LayoutDocument } from "document-schema.js";
2
- import { PositionedFormula, TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, LayoutDocument, PositionedFormula, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/engine.d.ts
4
3
  interface EngineLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,6 +1,5 @@
1
1
  import { i as LayoutFont, t as Alignment } from "../style-DkamR3aY.cjs";
2
- import { Box, ContentCellBorders, ContentImageBlock, ContentRun, ContentTableRow, LayoutImageAsset, LayoutItem, MathMlNode } from "document-schema.js";
3
- import { StyledRun, TextMeasurer, WrappedLine } from "pdf-codec";
2
+ import { Box, ContentCellBorders, ContentImageBlock, ContentRun, ContentTableRow, LayoutImageAsset, LayoutItem, MathMlNode, StyledRun, TextMeasurer, WrappedLine } from "document-schema.js";
4
3
  //#region src/layout/shared.d.ts
5
4
  declare const NOMINAL_TEXT_SIZE_PT = 18;
6
5
  declare function formulaSizePtForFrame(mathml: readonly MathMlNode[], frame: Box): number;
@@ -1,6 +1,5 @@
1
1
  import { i as LayoutFont, t as Alignment } from "../style-DkamR3aY.js";
2
- import { Box, ContentCellBorders, ContentImageBlock, ContentRun, ContentTableRow, LayoutImageAsset, LayoutItem, MathMlNode } from "document-schema.js";
3
- import { StyledRun, TextMeasurer, WrappedLine } from "pdf-codec";
2
+ import { Box, ContentCellBorders, ContentImageBlock, ContentRun, ContentTableRow, LayoutImageAsset, LayoutItem, MathMlNode, StyledRun, TextMeasurer, WrappedLine } from "document-schema.js";
4
3
  //#region src/layout/shared.d.ts
5
4
  declare const NOMINAL_TEXT_SIZE_PT = 18;
6
5
  declare function formulaSizePtForFrame(mathml: readonly MathMlNode[], frame: Box): number;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, LayoutDocument } from "document-schema.js";
2
- import { PositionedFormula, TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, LayoutDocument, PositionedFormula, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/sheets.d.ts
4
3
  interface SheetsLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, LayoutDocument } from "document-schema.js";
2
- import { PositionedFormula, TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, LayoutDocument, PositionedFormula, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/sheets.d.ts
4
3
  interface SheetsLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, ContentShape, LayoutDocument, LayoutImageAsset, LayoutItem } from "document-schema.js";
2
- import { PositionedFormula, TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, ContentShape, LayoutDocument, LayoutImageAsset, LayoutItem, PositionedFormula, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/slides.d.ts
4
3
  interface SlidesLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,5 +1,4 @@
1
- import { ContentDocument, ContentShape, LayoutDocument, LayoutImageAsset, LayoutItem } from "document-schema.js";
2
- import { PositionedFormula, TextMeasurer } from "pdf-codec";
1
+ import { ContentDocument, ContentShape, LayoutDocument, LayoutImageAsset, LayoutItem, PositionedFormula, TextMeasurer } from "document-schema.js";
3
2
  //#region src/layout/slides.d.ts
4
3
  interface SlidesLayoutOptions {
5
4
  readonly measurer: TextMeasurer;
@@ -1,4 +1,4 @@
1
- import { MathBox, MathLayoutItem } from "./layout-types.cjs";
1
+ import { MathBox, MathLayoutItem } from "document-schema.js";
2
2
  //#region src/mathml/compose.d.ts
3
3
  declare const EMPTY_BOX: MathBox;
4
4
  declare function shiftItems(items: readonly MathLayoutItem[], dxPt: number, dyPt: number): MathLayoutItem[];
@@ -1,4 +1,4 @@
1
- import { MathBox, MathLayoutItem } from "./layout-types.js";
1
+ import { MathBox, MathLayoutItem } from "document-schema.js";
2
2
  //#region src/mathml/compose.d.ts
3
3
  declare const EMPTY_BOX: MathBox;
4
4
  declare function shiftItems(items: readonly MathLayoutItem[], dxPt: number, dyPt: number): MathLayoutItem[];
@@ -1,54 +1,5 @@
1
+ import { MathBox } from "document-schema.js";
1
2
  //#region src/mathml/layout-types.d.ts
2
- interface MathColor {
3
- readonly r: number;
4
- readonly g: number;
5
- readonly b: number;
6
- }
7
- interface MathGlyphRun {
8
- readonly kind: 'glyphs';
9
- readonly xPt: number;
10
- readonly yPt: number;
11
- readonly text: string;
12
- readonly sizePt: number;
13
- readonly color: MathColor;
14
- }
15
- interface MathRule {
16
- readonly kind: 'rule';
17
- readonly xPt: number;
18
- readonly yPt: number;
19
- readonly widthPt: number;
20
- readonly heightPt: number;
21
- readonly color: MathColor;
22
- }
23
- interface MathStroke {
24
- readonly kind: 'stroke';
25
- readonly points: readonly {
26
- readonly xPt: number;
27
- readonly yPt: number;
28
- }[];
29
- readonly widthPt: number;
30
- readonly color: MathColor;
31
- }
32
- interface MathGlyphPlacement {
33
- readonly glyphId: number;
34
- readonly xPt: number;
35
- readonly yPt: number;
36
- }
37
- interface MathAssembledGlyphs {
38
- readonly kind: 'assembled-glyphs';
39
- readonly placements: readonly MathGlyphPlacement[];
40
- readonly text: string;
41
- readonly sizePt: number;
42
- readonly color: MathColor;
43
- }
44
- type MathLayoutItem = MathGlyphRun | MathRule | MathStroke | MathAssembledGlyphs;
45
- interface MathBox {
46
- readonly widthPt: number;
47
- readonly heightPt: number;
48
- readonly ascentPt: number;
49
- readonly descentPt: number;
50
- readonly items: readonly MathLayoutItem[];
51
- }
52
3
  type MathDiagnosticKind = 'unsupported-element' | 'missing-glyph';
53
4
  interface MathDiagnostic {
54
5
  readonly kind: MathDiagnosticKind;
@@ -59,4 +10,4 @@ interface MathLayoutResult {
59
10
  readonly diagnostics: readonly MathDiagnostic[];
60
11
  }
61
12
  //#endregion
62
- export { MathAssembledGlyphs, MathBox, MathColor, MathDiagnostic, MathDiagnosticKind, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathLayoutResult, MathRule, MathStroke };
13
+ export { MathDiagnostic, MathDiagnosticKind, MathLayoutResult };
@@ -1,54 +1,5 @@
1
+ import { MathBox } from "document-schema.js";
1
2
  //#region src/mathml/layout-types.d.ts
2
- interface MathColor {
3
- readonly r: number;
4
- readonly g: number;
5
- readonly b: number;
6
- }
7
- interface MathGlyphRun {
8
- readonly kind: 'glyphs';
9
- readonly xPt: number;
10
- readonly yPt: number;
11
- readonly text: string;
12
- readonly sizePt: number;
13
- readonly color: MathColor;
14
- }
15
- interface MathRule {
16
- readonly kind: 'rule';
17
- readonly xPt: number;
18
- readonly yPt: number;
19
- readonly widthPt: number;
20
- readonly heightPt: number;
21
- readonly color: MathColor;
22
- }
23
- interface MathStroke {
24
- readonly kind: 'stroke';
25
- readonly points: readonly {
26
- readonly xPt: number;
27
- readonly yPt: number;
28
- }[];
29
- readonly widthPt: number;
30
- readonly color: MathColor;
31
- }
32
- interface MathGlyphPlacement {
33
- readonly glyphId: number;
34
- readonly xPt: number;
35
- readonly yPt: number;
36
- }
37
- interface MathAssembledGlyphs {
38
- readonly kind: 'assembled-glyphs';
39
- readonly placements: readonly MathGlyphPlacement[];
40
- readonly text: string;
41
- readonly sizePt: number;
42
- readonly color: MathColor;
43
- }
44
- type MathLayoutItem = MathGlyphRun | MathRule | MathStroke | MathAssembledGlyphs;
45
- interface MathBox {
46
- readonly widthPt: number;
47
- readonly heightPt: number;
48
- readonly ascentPt: number;
49
- readonly descentPt: number;
50
- readonly items: readonly MathLayoutItem[];
51
- }
52
3
  type MathDiagnosticKind = 'unsupported-element' | 'missing-glyph';
53
4
  interface MathDiagnostic {
54
5
  readonly kind: MathDiagnosticKind;
@@ -59,4 +10,4 @@ interface MathLayoutResult {
59
10
  readonly diagnostics: readonly MathDiagnostic[];
60
11
  }
61
12
  //#endregion
62
- export { MathAssembledGlyphs, MathBox, MathColor, MathDiagnostic, MathDiagnosticKind, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathLayoutResult, MathRule, MathStroke };
13
+ export { MathDiagnostic, MathDiagnosticKind, MathLayoutResult };
@@ -1,7 +1,7 @@
1
1
  import { t as MathVariant } from "../variant-BMrebjMw.cjs";
2
- import { r as MathMlNode } from "../nodes-pArN9ilm.cjs";
3
- import { MathBox, MathColor, MathDiagnostic, MathLayoutResult } from "./layout-types.cjs";
4
- import { MathFontMetrics } from "./metrics.cjs";
2
+ import { r as MathMlNode$1 } from "../nodes-pArN9ilm.cjs";
3
+ import { MathDiagnostic, MathLayoutResult } from "./layout-types.cjs";
4
+ import { MathBox, MathColor, MathFontMetrics } from "document-schema.js";
5
5
  //#region src/mathml/layout.d.ts
6
6
  interface LayoutFormulaOptions {
7
7
  readonly metrics: MathFontMetrics;
@@ -18,7 +18,7 @@ interface LayoutContext {
18
18
  readonly scriptLevel: number;
19
19
  readonly diagnostics: MathDiagnostic[];
20
20
  }
21
- declare function layoutNode(node: MathMlNode, ctx: LayoutContext): MathBox;
22
- declare function layoutFormula(mathml: readonly MathMlNode[], options: LayoutFormulaOptions): MathLayoutResult;
21
+ declare function layoutNode(node: MathMlNode$1, ctx: LayoutContext): MathBox;
22
+ declare function layoutFormula(mathml: readonly MathMlNode$1[], options: LayoutFormulaOptions): MathLayoutResult;
23
23
  //#endregion
24
24
  export { LayoutFormulaOptions, layoutFormula, layoutNode };
@@ -1,7 +1,7 @@
1
1
  import { t as MathVariant } from "../variant-BMrebjMw.js";
2
- import { r as MathMlNode } from "../nodes-pArN9ilm.js";
3
- import { MathBox, MathColor, MathDiagnostic, MathLayoutResult } from "./layout-types.js";
4
- import { MathFontMetrics } from "./metrics.js";
2
+ import { r as MathMlNode$1 } from "../nodes-pArN9ilm.js";
3
+ import { MathDiagnostic, MathLayoutResult } from "./layout-types.js";
4
+ import { MathBox, MathColor, MathFontMetrics } from "document-schema.js";
5
5
  //#region src/mathml/layout.d.ts
6
6
  interface LayoutFormulaOptions {
7
7
  readonly metrics: MathFontMetrics;
@@ -18,7 +18,7 @@ interface LayoutContext {
18
18
  readonly scriptLevel: number;
19
19
  readonly diagnostics: MathDiagnostic[];
20
20
  }
21
- declare function layoutNode(node: MathMlNode, ctx: LayoutContext): MathBox;
22
- declare function layoutFormula(mathml: readonly MathMlNode[], options: LayoutFormulaOptions): MathLayoutResult;
21
+ declare function layoutNode(node: MathMlNode$1, ctx: LayoutContext): MathBox;
22
+ declare function layoutFormula(mathml: readonly MathMlNode$1[], options: LayoutFormulaOptions): MathLayoutResult;
23
23
  //#endregion
24
24
  export { LayoutFormulaOptions, layoutFormula, layoutNode };
@@ -1,4 +1,4 @@
1
- import { MathColor, MathRule, MathStroke } from "./layout-types.cjs";
1
+ import { MathColor, MathRule, MathStroke } from "document-schema.js";
2
2
  //#region src/mathml/radical.d.ts
3
3
  interface RadicalSign {
4
4
  readonly hook: MathStroke;
@@ -1,4 +1,4 @@
1
- import { MathColor, MathRule, MathStroke } from "./layout-types.js";
1
+ import { MathColor, MathRule, MathStroke } from "document-schema.js";
2
2
  //#region src/mathml/radical.d.ts
3
3
  interface RadicalSign {
4
4
  readonly hook: MathStroke;
@@ -1,6 +1,7 @@
1
1
  import { Package } from "ooxml.js";
2
+ import { FontSubstitution, ProvidedFont } from "document-schema.js";
2
3
  import { Package as Package$1 } from "odf.js";
3
- import { FontRegistry, FontSubstitution, ProvidedFont } from "pdf-codec";
4
+ import { FontRegistry } from "pdf-codec";
4
5
  //#region src/fonts/registry.d.ts
5
6
  type FontSourcePackage = {
6
7
  readonly kind: 'docx' | 'pptx';
@@ -1,5 +1,6 @@
1
- import { FontRegistry, FontSubstitution, ProvidedFont } from "pdf-codec";
1
+ import { FontSubstitution, ProvidedFont } from "document-schema.js";
2
2
  import { Package } from "odf.js";
3
+ import { FontRegistry } from "pdf-codec";
3
4
  import { Package as Package$1 } from "ooxml.js";
4
5
  //#region src/fonts/registry.d.ts
5
6
  type FontSourcePackage = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js.documents",
3
- "version": "1.91.3",
3
+ "version": "1.91.4",
4
4
  "description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
File without changes
@@ -1,60 +0,0 @@
1
- //#region src/mathml/metrics.d.ts
2
- interface MathGlyphMetrics {
3
- readonly advanceWidthPt: number;
4
- readonly italicCorrectionPt: number;
5
- readonly topAccentXPt?: number;
6
- readonly inkAscentPt?: number;
7
- readonly inkDescentPt?: number;
8
- }
9
- type MathStretchAxis = 'vertical' | 'horizontal';
10
- interface MathStretchGlyph {
11
- readonly glyphId: number;
12
- readonly offsetPt: number;
13
- }
14
- interface MathStretchResult {
15
- readonly kind: 'base' | 'variant' | 'assembly';
16
- readonly sizePt: number;
17
- readonly advanceWidthPt: number;
18
- readonly inkAscentPt: number;
19
- readonly inkDescentPt: number;
20
- readonly placements: readonly MathStretchGlyph[];
21
- }
22
- interface MathFontMetrics {
23
- readonly ascentPerEm: number;
24
- readonly descentPerEm: number;
25
- readonly axisHeightPt: number;
26
- readonly fractionRuleThicknessPt: number;
27
- readonly fractionNumeratorShiftUpPt: number;
28
- readonly fractionNumeratorDisplayShiftUpPt: number;
29
- readonly fractionDenominatorShiftDownPt: number;
30
- readonly fractionDenominatorDisplayShiftDownPt: number;
31
- readonly fractionNumeratorGapMinPt: number;
32
- readonly fractionDenominatorGapMinPt: number;
33
- readonly radicalRuleThicknessPt: number;
34
- readonly radicalExtraAscenderPt: number;
35
- readonly radicalVerticalGapPt: number;
36
- readonly radicalKernBeforeDegreePt: number;
37
- readonly radicalKernAfterDegreePt: number;
38
- readonly radicalDegreeBottomRaisePercent: number;
39
- readonly subscriptShiftDownPt: number;
40
- readonly superscriptShiftUpPt: number;
41
- readonly superscriptShiftUpCrampedPt: number;
42
- readonly subSuperscriptGapMinPt: number;
43
- readonly superscriptBaselineDropMaxPt: number;
44
- readonly subscriptBaselineDropMinPt: number;
45
- readonly spaceAfterScriptPt: number;
46
- readonly upperLimitGapMinPt: number;
47
- readonly upperLimitBaselineRiseMinPt: number;
48
- readonly lowerLimitGapMinPt: number;
49
- readonly lowerLimitBaselineDropMinPt: number;
50
- readonly stackTopShiftUpPt: number;
51
- readonly stackBottomShiftDownPt: number;
52
- readonly stackGapMinPt: number;
53
- readonly scriptPercentScaleDown: number;
54
- readonly scriptScriptPercentScaleDown: number;
55
- readonly defaultRuleThicknessPt: number;
56
- glyph(codePoint: number, sizePt: number): MathGlyphMetrics | undefined;
57
- stretch(codePoint: number, axis: MathStretchAxis, targetSizePt: number, sizePt: number): MathStretchResult | undefined;
58
- }
59
- //#endregion
60
- export { MathFontMetrics, MathGlyphMetrics, MathStretchAxis, MathStretchGlyph, MathStretchResult };
@@ -1,60 +0,0 @@
1
- //#region src/mathml/metrics.d.ts
2
- interface MathGlyphMetrics {
3
- readonly advanceWidthPt: number;
4
- readonly italicCorrectionPt: number;
5
- readonly topAccentXPt?: number;
6
- readonly inkAscentPt?: number;
7
- readonly inkDescentPt?: number;
8
- }
9
- type MathStretchAxis = 'vertical' | 'horizontal';
10
- interface MathStretchGlyph {
11
- readonly glyphId: number;
12
- readonly offsetPt: number;
13
- }
14
- interface MathStretchResult {
15
- readonly kind: 'base' | 'variant' | 'assembly';
16
- readonly sizePt: number;
17
- readonly advanceWidthPt: number;
18
- readonly inkAscentPt: number;
19
- readonly inkDescentPt: number;
20
- readonly placements: readonly MathStretchGlyph[];
21
- }
22
- interface MathFontMetrics {
23
- readonly ascentPerEm: number;
24
- readonly descentPerEm: number;
25
- readonly axisHeightPt: number;
26
- readonly fractionRuleThicknessPt: number;
27
- readonly fractionNumeratorShiftUpPt: number;
28
- readonly fractionNumeratorDisplayShiftUpPt: number;
29
- readonly fractionDenominatorShiftDownPt: number;
30
- readonly fractionDenominatorDisplayShiftDownPt: number;
31
- readonly fractionNumeratorGapMinPt: number;
32
- readonly fractionDenominatorGapMinPt: number;
33
- readonly radicalRuleThicknessPt: number;
34
- readonly radicalExtraAscenderPt: number;
35
- readonly radicalVerticalGapPt: number;
36
- readonly radicalKernBeforeDegreePt: number;
37
- readonly radicalKernAfterDegreePt: number;
38
- readonly radicalDegreeBottomRaisePercent: number;
39
- readonly subscriptShiftDownPt: number;
40
- readonly superscriptShiftUpPt: number;
41
- readonly superscriptShiftUpCrampedPt: number;
42
- readonly subSuperscriptGapMinPt: number;
43
- readonly superscriptBaselineDropMaxPt: number;
44
- readonly subscriptBaselineDropMinPt: number;
45
- readonly spaceAfterScriptPt: number;
46
- readonly upperLimitGapMinPt: number;
47
- readonly upperLimitBaselineRiseMinPt: number;
48
- readonly lowerLimitGapMinPt: number;
49
- readonly lowerLimitBaselineDropMinPt: number;
50
- readonly stackTopShiftUpPt: number;
51
- readonly stackBottomShiftDownPt: number;
52
- readonly stackGapMinPt: number;
53
- readonly scriptPercentScaleDown: number;
54
- readonly scriptScriptPercentScaleDown: number;
55
- readonly defaultRuleThicknessPt: number;
56
- glyph(codePoint: number, sizePt: number): MathGlyphMetrics | undefined;
57
- stretch(codePoint: number, axis: MathStretchAxis, targetSizePt: number, sizePt: number): MathStretchResult | undefined;
58
- }
59
- //#endregion
60
- export { MathFontMetrics, MathGlyphMetrics, MathStretchAxis, MathStretchGlyph, MathStretchResult };
File without changes