js.documents 1.97.7 → 1.97.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/convert/convert.js +6 -6
- package/dist/edit/docx/paragraph.d.cts +1 -1
- package/dist/edit/docx/paragraph.d.ts +1 -1
- package/dist/edit/docx/props.d.cts +3 -3
- package/dist/edit/docx/props.d.ts +3 -3
- package/dist/edit/docx/props.js +1 -1
- package/dist/edit/docx/run.d.cts +1 -1
- package/dist/edit/docx/run.d.ts +1 -1
- package/dist/edit/docx/run.js +1 -1
- package/dist/edit/docx/table.js +1 -1
- package/dist/edit/geometry.d.cts +1 -1
- package/dist/edit/geometry.d.ts +1 -1
- package/dist/edit/markdown/editor.d.cts +2 -3
- package/dist/edit/markdown/editor.d.ts +2 -3
- package/dist/edit/odg/editor.d.cts +1 -1
- package/dist/edit/odg/editor.d.ts +1 -1
- package/dist/edit/odg/page.d.cts +2 -2
- package/dist/edit/odg/page.d.ts +2 -2
- package/dist/edit/odg/scaffold.cjs +1 -1
- package/dist/edit/odg/scaffold.js +1 -1
- package/dist/edit/odp/editor.d.cts +1 -1
- package/dist/edit/odp/editor.d.ts +1 -1
- package/dist/edit/odp/image.d.cts +1 -1
- package/dist/edit/odp/image.d.ts +1 -1
- package/dist/edit/odp/scaffold.cjs +1 -1
- package/dist/edit/odp/scaffold.js +1 -1
- package/dist/edit/odp/shape.d.cts +1 -1
- package/dist/edit/odp/shape.d.ts +1 -1
- package/dist/edit/odp/slide.d.cts +7 -8
- package/dist/edit/odp/slide.d.ts +7 -8
- package/dist/edit/ods/print-settings.js +2 -3
- package/dist/edit/ods/scaffold.cjs +1 -1
- package/dist/edit/ods/scaffold.js +1 -1
- package/dist/edit/odt/content.d.cts +2 -2
- package/dist/edit/odt/content.d.ts +2 -2
- package/dist/edit/odt/editor.d.cts +5 -6
- package/dist/edit/odt/editor.d.ts +5 -6
- package/dist/edit/odt/formula.d.cts +3 -4
- package/dist/edit/odt/formula.d.ts +3 -4
- package/dist/edit/odt/image.d.cts +1 -1
- package/dist/edit/odt/image.d.ts +1 -1
- package/dist/edit/odt/list.d.cts +1 -1
- package/dist/edit/odt/list.d.ts +1 -1
- package/dist/edit/odt/paragraph.d.cts +1 -1
- package/dist/edit/odt/paragraph.d.ts +1 -1
- package/dist/edit/odt/run.d.cts +1 -1
- package/dist/edit/odt/run.d.ts +1 -1
- package/dist/edit/odt/scaffold.cjs +1 -1
- package/dist/edit/odt/scaffold.js +1 -1
- package/dist/edit/odt/table.d.cts +1 -1
- package/dist/edit/odt/table.d.ts +1 -1
- package/dist/edit/pdf/item.d.cts +1 -1
- package/dist/edit/pdf/item.d.ts +1 -1
- package/dist/edit/pdf/page.d.cts +1 -1
- package/dist/edit/pdf/page.d.ts +1 -1
- package/dist/edit/pptx/editor.d.cts +1 -1
- package/dist/edit/pptx/editor.d.ts +1 -1
- package/dist/edit/pptx/image.d.cts +1 -1
- package/dist/edit/pptx/image.d.ts +1 -1
- package/dist/edit/pptx/shape.d.cts +1 -1
- package/dist/edit/pptx/shape.d.ts +1 -1
- package/dist/edit/pptx/slide.d.cts +7 -8
- package/dist/edit/pptx/slide.d.ts +7 -8
- package/dist/edit/pptx/table.d.cts +1 -1
- package/dist/edit/pptx/table.d.ts +1 -1
- package/dist/{image-hTGo7C8g.d.ts → image-3ql9_z1y.d.cts} +1 -1
- package/dist/{image-C6lKT9ZH.d.cts → image-3ql9_z1y.d.ts} +1 -1
- package/dist/{image-CsyoXX7d.d.ts → image-Biwtr667.d.cts} +1 -1
- package/dist/{image-K3MAhLJc.d.cts → image-Biwtr667.d.ts} +1 -1
- package/dist/{image-CE7nO8YY.d.ts → image-CRgc_j2Q.d.cts} +1 -1
- package/dist/{image-DK0YCpYO.d.cts → image-CyYr22TE.d.ts} +1 -1
- package/dist/index.d.cts +11 -13
- package/dist/index.d.ts +11 -13
- package/dist/index.js +2 -4
- package/dist/{item-CNEgqooo.d.ts → item-Dj6f1VTE.d.cts} +25 -27
- package/dist/{item-DhYRoAvM.d.cts → item-Dj6f1VTE.d.ts} +25 -27
- package/dist/layout/shared.cjs +1 -1
- package/dist/layout/shared.d.cts +1 -2
- package/dist/layout/shared.d.ts +1 -2
- package/dist/layout/shared.js +1 -2
- package/dist/layout/sheets.js +5 -7
- package/dist/{list-MCxkKpI7.d.cts → list-BT1Zb3PV.d.cts} +1 -1
- package/dist/{list-BrAIR4Sv.d.ts → list-D9MtQtjK.d.ts} +1 -1
- package/dist/model/geometry.cjs +0 -43
- package/dist/model/geometry.d.cts +6 -2
- package/dist/model/geometry.d.ts +6 -2
- package/dist/model/geometry.js +1 -2
- package/dist/odb/read.js +1 -2
- package/dist/odb/report/render.js +3 -4
- package/dist/odb/spreadsheet.js +2 -3
- package/dist/odf/formula/detect.d.cts +2 -3
- package/dist/odf/formula/detect.d.ts +2 -3
- package/dist/odf/shared/flow-anchor.d.cts +1 -1
- package/dist/odf/shared/flow-anchor.d.ts +1 -1
- package/dist/odf-package/manifest.cjs +0 -60
- package/dist/odf-package/manifest.d.cts +2 -2
- package/dist/odf-package/manifest.d.ts +2 -2
- package/dist/odf-package/manifest.js +3 -3
- package/dist/{paragraph-DZyHl2e4.d.ts → paragraph-BPRc-VVV.d.ts} +3 -3
- package/dist/{paragraph-D7324S0j.d.cts → paragraph-CdGRPSYA.d.cts} +3 -3
- package/dist/{run-BYJGK31k.d.ts → run-Bv6gpAMj.d.ts} +4 -4
- package/dist/{run-SLSPO-4y.d.ts → run-mzBHuFWz.d.cts} +4 -4
- package/dist/{run-DQtEGilU.d.cts → run-mzBHuFWz.d.ts} +4 -4
- package/dist/{run-DEPVf5ZJ.d.cts → run-swnb_wQO.d.cts} +4 -4
- package/dist/{shape-D4xELCZY.d.ts → shape-C5istyRr.d.cts} +2 -4
- package/dist/{shape-DGlNMY73.d.ts → shape-CCPBGhbV.d.ts} +3 -3
- package/dist/{shape-B0yAqgxZ.d.cts → shape-Cuk0RTZn.d.cts} +3 -3
- package/dist/{shape-De9583Kz.d.cts → shape-D-gBLpxJ.d.ts} +2 -4
- package/dist/{table-DQksyfnT.d.ts → table-BavK-2uP.d.ts} +3 -4
- package/dist/{table-fnUiKudF.d.cts → table-DWY7P_sA.d.cts} +3 -4
- package/dist/{table-qaDB5iJO.d.ts → table-Dtml8NyR.d.ts} +1 -1
- package/dist/{table-u6fXNuDO.d.cts → table-b9-ipGtZ.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/color-71eoF1Up.d.cts +0 -2
- package/dist/color-BHhGSqAh.d.ts +0 -2
- package/dist/geometry-BG4fX9Rw.d.ts +0 -6
- package/dist/geometry-DUF273hM.d.cts +0 -6
- package/dist/model/color.cjs +0 -26
- package/dist/model/color.d.cts +0 -2
- package/dist/model/color.d.ts +0 -2
- package/dist/model/color.js +0 -2
- package/dist/model/style.cjs +0 -20
- package/dist/model/style.d.cts +0 -2
- package/dist/model/style.d.ts +0 -2
- package/dist/model/style.js +0 -2
- package/dist/style-DkamR3aY.d.cts +0 -2
- package/dist/style-DkamR3aY.d.ts +0 -2
package/dist/convert/convert.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { flipY } from "../model/geometry.js";
|
|
2
2
|
import { resolveMetadataTimestamps } from "../model/metadata.js";
|
|
3
3
|
import { openDocx } from "../edit/docx/editor.js";
|
|
4
4
|
import { buildDocxPackage } from "../edit/docx/content.js";
|
|
@@ -31,7 +31,7 @@ import { readOdbTables } from "../odb/read.js";
|
|
|
31
31
|
import { odbTablesToSpreadsheetDocument } from "../odb/spreadsheet.js";
|
|
32
32
|
import { presentationToWordprocessing, wordprocessingToPresentation } from "./variant-bridges.js";
|
|
33
33
|
import { buildXlsxPackage, decodePackage, encodePackage, readXlsxContent } from "ooxml.js";
|
|
34
|
-
import { COLOR_BLACK, CONTENT_FORMAT_VERSION, DOCUMENT_PACKAGE_FORMAT_VERSION, LAYOUT_FORMAT_VERSION } from "document-schema.js";
|
|
34
|
+
import { COLOR_BLACK, CONTENT_FORMAT_VERSION, DOCUMENT_PACKAGE_FORMAT_VERSION, LAYOUT_FORMAT_VERSION, PAGE_SIZE_A4 } from "document-schema.js";
|
|
35
35
|
import { decodePackage as decodePackage$1, encodePackage as encodePackage$1, readOdfMetadata, readOdfParagraph, readOdfTable, readOdm } from "odf.js";
|
|
36
36
|
import { createFontMeasurer, createFontRegistry, loadMathFont, readPdf, writePdf } from "pdf-codec";
|
|
37
37
|
//#region src/convert/convert.ts
|
|
@@ -255,13 +255,13 @@ function odfToPdf(bytes, options) {
|
|
|
255
255
|
yPt: STANDALONE_FORMULA_MARGIN_PT,
|
|
256
256
|
widthPt: box.widthPt,
|
|
257
257
|
heightPt: box.heightPt
|
|
258
|
-
}, PAGE_SIZE_A4
|
|
258
|
+
}, PAGE_SIZE_A4.heightPt);
|
|
259
259
|
const layout = {
|
|
260
260
|
formatVersion: LAYOUT_FORMAT_VERSION,
|
|
261
261
|
metadata: content.metadata,
|
|
262
262
|
pages: [{
|
|
263
|
-
widthPt: PAGE_SIZE_A4
|
|
264
|
-
heightPt: PAGE_SIZE_A4
|
|
263
|
+
widthPt: PAGE_SIZE_A4.widthPt,
|
|
264
|
+
heightPt: PAGE_SIZE_A4.heightPt,
|
|
265
265
|
items: []
|
|
266
266
|
}],
|
|
267
267
|
images: {}
|
|
@@ -633,7 +633,7 @@ function inlineOdmSectionToContentSection(section, pkg) {
|
|
|
633
633
|
else if (node.tag === "table:table") blocks.push(readOdfTable(node, pkg));
|
|
634
634
|
}
|
|
635
635
|
return {
|
|
636
|
-
pageSize: PAGE_SIZE_A4
|
|
636
|
+
pageSize: PAGE_SIZE_A4,
|
|
637
637
|
margins: INLINE_SECTION_MARGINS,
|
|
638
638
|
blocks
|
|
639
639
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as MathMlNode$1 } from "../../nodes-pArN9ilm.cjs";
|
|
2
2
|
import { t as OmmlWriteResult } from "../../write-BQ6SK8r8.cjs";
|
|
3
3
|
import { n as MediaContext, t as ImageInit } from "../../image-DRqXQmEg.cjs";
|
|
4
|
-
import { n as RunInit, t as DocxRun } from "../../run-
|
|
4
|
+
import { n as RunInit, t as DocxRun } from "../../run-swnb_wQO.cjs";
|
|
5
5
|
import { ContentListMembership, ContentVector } from "document-schema.js";
|
|
6
6
|
import { Package, XmlElement, XmlNode } from "ooxml.js";
|
|
7
7
|
//#region src/edit/docx/paragraph.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as MathMlNode$1 } from "../../nodes-pArN9ilm.js";
|
|
2
2
|
import { t as OmmlWriteResult } from "../../write-THs7ipBq.js";
|
|
3
3
|
import { n as MediaContext, t as ImageInit } from "../../image-DRqXQmEg.js";
|
|
4
|
-
import { n as RunInit, t as DocxRun } from "../../run-
|
|
4
|
+
import { n as RunInit, t as DocxRun } from "../../run-Bv6gpAMj.js";
|
|
5
5
|
import { Package, XmlElement, XmlNode } from "ooxml.js";
|
|
6
6
|
import { ContentListMembership, ContentVector } from "document-schema.js";
|
|
7
7
|
//#region src/edit/docx/paragraph.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Color } from "document-schema.js";
|
|
2
2
|
import { XmlElement } from "ooxml.js";
|
|
3
3
|
//#region src/edit/docx/props.d.ts
|
|
4
4
|
declare const RPR_ORDER: readonly string[];
|
|
@@ -10,8 +10,8 @@ declare function getFontFamily(rPr: XmlElement | undefined): string | undefined;
|
|
|
10
10
|
declare function setFontFamily(rPr: XmlElement, family: string): void;
|
|
11
11
|
declare function getSizePt(rPr: XmlElement | undefined): number | undefined;
|
|
12
12
|
declare function setSizePt(rPr: XmlElement, sizePt: number): void;
|
|
13
|
-
declare function getColor(rPr: XmlElement | undefined):
|
|
14
|
-
declare function setColor(rPr: XmlElement, color:
|
|
13
|
+
declare function getColor(rPr: XmlElement | undefined): Color | undefined;
|
|
14
|
+
declare function setColor(rPr: XmlElement, color: Color): void;
|
|
15
15
|
declare function getStyleId(propsElement: XmlElement | undefined, tag: 'w:pStyle' | 'w:rStyle'): string | undefined;
|
|
16
16
|
declare function setStyleId(propsElement: XmlElement, tag: 'w:pStyle' | 'w:rStyle', styleId: string, order: readonly string[]): void;
|
|
17
17
|
declare function getAlignment(pPr: XmlElement | undefined): 'left' | 'center' | 'right' | 'justify' | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as LayoutColor } from "../../color-BHhGSqAh.js";
|
|
2
1
|
import { XmlElement } from "ooxml.js";
|
|
2
|
+
import { Color } from "document-schema.js";
|
|
3
3
|
//#region src/edit/docx/props.d.ts
|
|
4
4
|
declare const RPR_ORDER: readonly string[];
|
|
5
5
|
declare const PPR_ORDER: readonly string[];
|
|
@@ -10,8 +10,8 @@ declare function getFontFamily(rPr: XmlElement | undefined): string | undefined;
|
|
|
10
10
|
declare function setFontFamily(rPr: XmlElement, family: string): void;
|
|
11
11
|
declare function getSizePt(rPr: XmlElement | undefined): number | undefined;
|
|
12
12
|
declare function setSizePt(rPr: XmlElement, sizePt: number): void;
|
|
13
|
-
declare function getColor(rPr: XmlElement | undefined):
|
|
14
|
-
declare function setColor(rPr: XmlElement, color:
|
|
13
|
+
declare function getColor(rPr: XmlElement | undefined): Color | undefined;
|
|
14
|
+
declare function setColor(rPr: XmlElement, color: Color): void;
|
|
15
15
|
declare function getStyleId(propsElement: XmlElement | undefined, tag: 'w:pStyle' | 'w:rStyle'): string | undefined;
|
|
16
16
|
declare function setStyleId(propsElement: XmlElement, tag: 'w:pStyle' | 'w:rStyle', styleId: string, order: readonly string[]): void;
|
|
17
17
|
declare function getAlignment(pPr: XmlElement | undefined): 'left' | 'center' | 'right' | 'justify' | undefined;
|
package/dist/edit/docx/props.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { colorToRgbHex, rgbHexToColor } from "../../model/color.js";
|
|
2
1
|
import { el } from "../../xml/fragment.js";
|
|
3
2
|
import { halfPointsToPt, ptToHalfPoints } from "../../model/units.js";
|
|
4
3
|
import { directChildElement, getOrCreateChildElement, insertInSchemaOrder, removeAttr, setAttr } from "../../xml/edit.js";
|
|
5
4
|
import { attr } from "ooxml.js";
|
|
5
|
+
import { colorToRgbHex, rgbHexToColor } from "document-schema.js";
|
|
6
6
|
//#region src/edit/docx/props.ts
|
|
7
7
|
const RPR_ORDER = [
|
|
8
8
|
"w:rStyle",
|
package/dist/edit/docx/run.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as wordprocessingText, n as RunInit, r as buildRun, t as DocxRun } from "../../run-
|
|
1
|
+
import { i as wordprocessingText, n as RunInit, r as buildRun, t as DocxRun } from "../../run-swnb_wQO.cjs";
|
|
2
2
|
export { DocxRun, RunInit, buildRun, wordprocessingText };
|
package/dist/edit/docx/run.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as wordprocessingText, n as RunInit, r as buildRun, t as DocxRun } from "../../run-
|
|
1
|
+
import { i as wordprocessingText, n as RunInit, r as buildRun, t as DocxRun } from "../../run-Bv6gpAMj.js";
|
|
2
2
|
export { DocxRun, RunInit, buildRun, wordprocessingText };
|
package/dist/edit/docx/run.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { colorToRgbHex } from "../../model/color.js";
|
|
2
1
|
import { el, txt } from "../../xml/fragment.js";
|
|
3
2
|
import { encodeXmlText, needsSpacePreserve } from "../../xml/entities.js";
|
|
4
3
|
import { removeChild, setAttr } from "../../xml/edit.js";
|
|
5
4
|
import { RPR_ORDER, ensureFirstChild, getColor, getFontFamily, getSizePt, getToggle, setColor, setFontFamily, setSizePt, setToggle } from "./props.js";
|
|
6
5
|
import { walkElements } from "../../xml/query.js";
|
|
7
6
|
import { textContent } from "ooxml.js";
|
|
7
|
+
import { colorToRgbHex } from "document-schema.js";
|
|
8
8
|
//#region src/edit/docx/run.ts
|
|
9
9
|
function wordprocessingText(element) {
|
|
10
10
|
let out = "";
|
package/dist/edit/docx/table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { colorToRgbHex, rgbHexToColor } from "../../model/color.js";
|
|
2
1
|
import { el } from "../../xml/fragment.js";
|
|
3
2
|
import { ptToTwips, twipsToPt } from "../../model/units.js";
|
|
4
3
|
import { directChildElement, insertInSchemaOrder, removeChild } from "../../xml/edit.js";
|
|
5
4
|
import { DocxParagraph, buildParagraph } from "./paragraph.js";
|
|
6
5
|
import { attr } from "ooxml.js";
|
|
6
|
+
import { colorToRgbHex, rgbHexToColor } from "document-schema.js";
|
|
7
7
|
//#region src/edit/docx/table.ts
|
|
8
8
|
const DEFAULT_TABLE_WIDTH_TWIPS = 9360;
|
|
9
9
|
const TC_PR_CHILD_ORDER = [
|
package/dist/edit/geometry.d.cts
CHANGED
package/dist/edit/geometry.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
|
|
2
|
-
import { r as Margins, s as PageSize$1 } from "../../geometry-DUF273hM.cjs";
|
|
3
2
|
import { MarkdownParagraph, ParagraphInit } from "./paragraph.cjs";
|
|
4
3
|
import { MarkdownList, MarkdownListInit } from "./list.cjs";
|
|
5
4
|
import { MarkdownTable, TableInit } from "./table.cjs";
|
|
6
|
-
import { ContentDocument } from "document-schema.js";
|
|
5
|
+
import { ContentDocument, Margins, PageSize } from "document-schema.js";
|
|
7
6
|
import { ReadMarkdownOptions, WriteMarkdownOptions } from "markdown-codec";
|
|
8
7
|
//#region src/edit/markdown/editor.d.ts
|
|
9
8
|
interface MarkdownBody {
|
|
@@ -15,7 +14,7 @@ interface MarkdownBody {
|
|
|
15
14
|
}
|
|
16
15
|
interface CreateMarkdownEditorOptions {
|
|
17
16
|
readonly clock?: ClockPort;
|
|
18
|
-
readonly pageSize?: PageSize
|
|
17
|
+
readonly pageSize?: PageSize;
|
|
19
18
|
readonly margins?: Margins;
|
|
20
19
|
}
|
|
21
20
|
declare class MarkdownEditor {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.js";
|
|
2
|
-
import { r as Margins, s as PageSize$1 } from "../../geometry-BG4fX9Rw.js";
|
|
3
2
|
import { MarkdownParagraph, ParagraphInit } from "./paragraph.js";
|
|
4
3
|
import { MarkdownList, MarkdownListInit } from "./list.js";
|
|
5
4
|
import { MarkdownTable, TableInit } from "./table.js";
|
|
6
|
-
import { ContentDocument } from "document-schema.js";
|
|
5
|
+
import { ContentDocument, Margins, PageSize } from "document-schema.js";
|
|
7
6
|
import { ReadMarkdownOptions, WriteMarkdownOptions } from "markdown-codec";
|
|
8
7
|
//#region src/edit/markdown/editor.d.ts
|
|
9
8
|
interface MarkdownBody {
|
|
@@ -15,7 +14,7 @@ interface MarkdownBody {
|
|
|
15
14
|
}
|
|
16
15
|
interface CreateMarkdownEditorOptions {
|
|
17
16
|
readonly clock?: ClockPort;
|
|
18
|
-
readonly pageSize?: PageSize
|
|
17
|
+
readonly pageSize?: PageSize;
|
|
19
18
|
readonly margins?: Margins;
|
|
20
19
|
}
|
|
21
20
|
declare class MarkdownEditor {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
|
|
2
|
-
import { s as PageSize } from "../../geometry-DUF273hM.cjs";
|
|
3
2
|
import { OdgPage } from "./page.cjs";
|
|
3
|
+
import { PageSize } from "document-schema.js";
|
|
4
4
|
import { Package } from "odf.js";
|
|
5
5
|
//#region src/edit/odg/editor.d.ts
|
|
6
6
|
declare class OdgEditor {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.js";
|
|
2
|
-
import { s as PageSize } from "../../geometry-BG4fX9Rw.js";
|
|
3
2
|
import { OdgPage } from "./page.js";
|
|
3
|
+
import { PageSize } from "document-schema.js";
|
|
4
4
|
import { Package } from "odf.js";
|
|
5
5
|
//#region src/edit/odg/editor.d.ts
|
|
6
6
|
declare class OdgEditor {
|
package/dist/edit/odg/page.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ImageInit } from "../../image-
|
|
2
|
-
import { t as OdpShape } from "../../shape-
|
|
1
|
+
import { t as ImageInit } from "../../image-3ql9_z1y.cjs";
|
|
2
|
+
import { t as OdpShape } from "../../shape-Cuk0RTZn.cjs";
|
|
3
3
|
import { a as OdgLineVector, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "../../vector-D03KX8Ux.cjs";
|
|
4
4
|
import { Box, ContentVector } from "document-schema.js";
|
|
5
5
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
package/dist/edit/odg/page.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ImageInit } from "../../image-
|
|
2
|
-
import { t as OdpShape } from "../../shape-
|
|
1
|
+
import { t as ImageInit } from "../../image-3ql9_z1y.js";
|
|
2
|
+
import { t as OdpShape } from "../../shape-CCPBGhbV.js";
|
|
3
3
|
import { a as OdgLineVector, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "../../vector-D03KX8Ux.js";
|
|
4
4
|
import { Box, ContentVector } from "document-schema.js";
|
|
5
5
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_xml_fragment = require("../../xml/fragment.cjs");
|
|
3
3
|
const require_xml_entities = require("../../xml/entities.cjs");
|
|
4
|
-
let odf_js = require("odf.js");
|
|
5
4
|
let document_schema_js = require("document-schema.js");
|
|
5
|
+
let odf_js = require("odf.js");
|
|
6
6
|
//#region src/edit/odg/scaffold.ts
|
|
7
7
|
const CONTENT_NS_PREFIXES = [
|
|
8
8
|
"office",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PAGE_SIZE_A4 } from "../../model/geometry.js";
|
|
2
1
|
import { el, txt } from "../../xml/fragment.js";
|
|
3
2
|
import { encodeXmlText } from "../../xml/entities.js";
|
|
3
|
+
import { PAGE_SIZE_A4 } from "document-schema.js";
|
|
4
4
|
import { ODF_MEDIA_TYPES, setDocumentMediaType, syncManifest, xmlnsAttributes } from "odf.js";
|
|
5
5
|
//#region src/edit/odg/scaffold.ts
|
|
6
6
|
const CONTENT_NS_PREFIXES = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
|
|
2
|
-
import { s as PageSize } from "../../geometry-DUF273hM.cjs";
|
|
3
2
|
import { OdpSlide } from "./slide.cjs";
|
|
3
|
+
import { PageSize } from "document-schema.js";
|
|
4
4
|
import { Package } from "odf.js";
|
|
5
5
|
//#region src/edit/odp/editor.d.ts
|
|
6
6
|
declare class OdpEditor {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.js";
|
|
2
|
-
import { s as PageSize } from "../../geometry-BG4fX9Rw.js";
|
|
3
2
|
import { OdpSlide } from "./slide.js";
|
|
3
|
+
import { PageSize } from "document-schema.js";
|
|
4
4
|
import { Package } from "odf.js";
|
|
5
5
|
//#region src/edit/odp/editor.d.ts
|
|
6
6
|
declare class OdpEditor {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MediaContext, r as insertImageFrameMedia, t as ImageInit } from "../../image-
|
|
1
|
+
import { n as MediaContext, r as insertImageFrameMedia, t as ImageInit } from "../../image-3ql9_z1y.cjs";
|
|
2
2
|
export { ImageInit, MediaContext, insertImageFrameMedia };
|
package/dist/edit/odp/image.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MediaContext, r as insertImageFrameMedia, t as ImageInit } from "../../image-
|
|
1
|
+
import { n as MediaContext, r as insertImageFrameMedia, t as ImageInit } from "../../image-3ql9_z1y.js";
|
|
2
2
|
export { ImageInit, MediaContext, insertImageFrameMedia };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_xml_fragment = require("../../xml/fragment.cjs");
|
|
3
3
|
const require_xml_entities = require("../../xml/entities.cjs");
|
|
4
|
-
let odf_js = require("odf.js");
|
|
5
4
|
let document_schema_js = require("document-schema.js");
|
|
5
|
+
let odf_js = require("odf.js");
|
|
6
6
|
//#region src/edit/odp/scaffold.ts
|
|
7
7
|
const CONTENT_NS_PREFIXES = [
|
|
8
8
|
"office",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SLIDE_SIZE_WIDESCREEN } from "../../model/geometry.js";
|
|
2
1
|
import { el, txt } from "../../xml/fragment.js";
|
|
3
2
|
import { encodeXmlText } from "../../xml/entities.js";
|
|
3
|
+
import { SLIDE_SIZE_WIDESCREEN } from "document-schema.js";
|
|
4
4
|
import { ODF_MEDIA_TYPES, setDocumentMediaType, syncManifest, xmlnsAttributes } from "odf.js";
|
|
5
5
|
//#region src/edit/odp/scaffold.ts
|
|
6
6
|
const CONTENT_NS_PREFIXES = [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as buildTextBoxFrame, n as buildImageFrame, r as buildTableFrame, t as OdpShape } from "../../shape-
|
|
1
|
+
import { i as buildTextBoxFrame, n as buildImageFrame, r as buildTableFrame, t as OdpShape } from "../../shape-Cuk0RTZn.cjs";
|
|
2
2
|
export { OdpShape, buildImageFrame, buildTableFrame, buildTextBoxFrame };
|
package/dist/edit/odp/shape.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as buildTextBoxFrame, n as buildImageFrame, r as buildTableFrame, t as OdpShape } from "../../shape-
|
|
1
|
+
import { i as buildTextBoxFrame, n as buildImageFrame, r as buildTableFrame, t as OdpShape } from "../../shape-CCPBGhbV.js";
|
|
2
2
|
export { OdpShape, buildImageFrame, buildTableFrame, buildTextBoxFrame };
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as OdpShape } from "../../shape-B0yAqgxZ.cjs";
|
|
1
|
+
import { t as ImageInit } from "../../image-3ql9_z1y.cjs";
|
|
2
|
+
import { t as OdpShape } from "../../shape-Cuk0RTZn.cjs";
|
|
4
3
|
import { s as OdgVector } from "../../vector-D03KX8Ux.cjs";
|
|
5
|
-
import { a as TableInit, n as OdtTable } from "../../table-
|
|
6
|
-
import { ContentVector } from "document-schema.js";
|
|
4
|
+
import { a as TableInit, n as OdtTable } from "../../table-b9-ipGtZ.cjs";
|
|
5
|
+
import { Box, ContentVector } from "document-schema.js";
|
|
7
6
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
8
7
|
//#region src/edit/odp/slide.d.ts
|
|
9
8
|
interface TextBoxInit {
|
|
10
|
-
readonly frame: Box
|
|
9
|
+
readonly frame: Box;
|
|
11
10
|
readonly text: string;
|
|
12
11
|
}
|
|
13
12
|
interface SlideImageInit extends ImageInit {
|
|
14
|
-
readonly frame: Box
|
|
13
|
+
readonly frame: Box;
|
|
15
14
|
}
|
|
16
15
|
interface SlideTableInit {
|
|
17
|
-
readonly frame: Box
|
|
16
|
+
readonly frame: Box;
|
|
18
17
|
readonly table: TableInit;
|
|
19
18
|
}
|
|
20
19
|
interface SlideContext {
|
package/dist/edit/odp/slide.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as OdpShape } from "../../shape-DGlNMY73.js";
|
|
1
|
+
import { t as ImageInit } from "../../image-3ql9_z1y.js";
|
|
2
|
+
import { t as OdpShape } from "../../shape-CCPBGhbV.js";
|
|
4
3
|
import { s as OdgVector } from "../../vector-D03KX8Ux.js";
|
|
5
|
-
import { a as TableInit, n as OdtTable } from "../../table-
|
|
6
|
-
import { ContentVector } from "document-schema.js";
|
|
4
|
+
import { a as TableInit, n as OdtTable } from "../../table-Dtml8NyR.js";
|
|
5
|
+
import { Box, ContentVector } from "document-schema.js";
|
|
7
6
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
8
7
|
//#region src/edit/odp/slide.d.ts
|
|
9
8
|
interface TextBoxInit {
|
|
10
|
-
readonly frame: Box
|
|
9
|
+
readonly frame: Box;
|
|
11
10
|
readonly text: string;
|
|
12
11
|
}
|
|
13
12
|
interface SlideImageInit extends ImageInit {
|
|
14
|
-
readonly frame: Box
|
|
13
|
+
readonly frame: Box;
|
|
15
14
|
}
|
|
16
15
|
interface SlideTableInit {
|
|
17
|
-
readonly frame: Box
|
|
16
|
+
readonly frame: Box;
|
|
18
17
|
readonly table: TableInit;
|
|
19
18
|
}
|
|
20
19
|
interface SlideContext {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { PAGE_SIZE_A4 as PAGE_SIZE_A4$1 } from "../../model/geometry.js";
|
|
2
1
|
import { el } from "../../xml/fragment.js";
|
|
3
2
|
import { setAttr } from "../../xml/edit.js";
|
|
4
3
|
import { nextStyleName } from "../odt/automatic-styles.js";
|
|
5
4
|
import { COLUMN_REPEAT_ATTR, COLUMN_TAG, HEADER_COLUMNS_TAG, HEADER_ROWS_TAG, ROW_REPEAT_ATTR, ROW_TAG, isElementWithTag, readRunRepeatCount, replaceRun } from "./address.js";
|
|
6
5
|
import { ensureColumnElementDefaultWidth, ensureRowElementDefaultHeight, writeColumnManualBreak, writeRowManualBreak } from "./column-row.js";
|
|
7
6
|
import { attr } from "ooxml.js";
|
|
8
|
-
import { cellReference, parseCellReference } from "document-schema.js";
|
|
7
|
+
import { PAGE_SIZE_A4, cellReference, parseCellReference } from "document-schema.js";
|
|
9
8
|
import { findStyleElement, formatOdfLength, parseMargins, parsePageSize, resolvePageLayoutProperties } from "odf.js";
|
|
10
9
|
//#region src/edit/ods/print-settings.ts
|
|
11
10
|
const STYLES_PART_PATH = "styles.xml";
|
|
@@ -149,7 +148,7 @@ function readSheetPrintSettings(pkg, tableElement) {
|
|
|
149
148
|
columns: manualBreakColumns
|
|
150
149
|
} : void 0;
|
|
151
150
|
return {
|
|
152
|
-
pageSize: pageSize ?? PAGE_SIZE_A4
|
|
151
|
+
pageSize: pageSize ?? PAGE_SIZE_A4,
|
|
153
152
|
margins: margins ?? DEFAULT_MARGINS,
|
|
154
153
|
gridlines: printTokens.has("grid"),
|
|
155
154
|
headers: printTokens.has("headers"),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_xml_fragment = require("../../xml/fragment.cjs");
|
|
3
3
|
const require_xml_entities = require("../../xml/entities.cjs");
|
|
4
|
-
let odf_js = require("odf.js");
|
|
5
4
|
let document_schema_js = require("document-schema.js");
|
|
5
|
+
let odf_js = require("odf.js");
|
|
6
6
|
//#region src/edit/ods/scaffold.ts
|
|
7
7
|
const CONTENT_NS_PREFIXES = [
|
|
8
8
|
"office",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PAGE_SIZE_A4 } from "../../model/geometry.js";
|
|
2
1
|
import { el, txt } from "../../xml/fragment.js";
|
|
3
2
|
import { encodeXmlText } from "../../xml/entities.js";
|
|
3
|
+
import { PAGE_SIZE_A4 } from "document-schema.js";
|
|
4
4
|
import { ODF_MEDIA_TYPES, setDocumentMediaType, syncManifest, xmlnsAttributes } from "odf.js";
|
|
5
5
|
//#region src/edit/ods/scaffold.ts
|
|
6
6
|
const CONTENT_NS_PREFIXES = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
|
|
2
|
-
import { t as OdtParagraph } from "../../paragraph-
|
|
3
|
-
import { n as OdtTable } from "../../table-
|
|
2
|
+
import { t as OdtParagraph } from "../../paragraph-CdGRPSYA.cjs";
|
|
3
|
+
import { n as OdtTable } from "../../table-b9-ipGtZ.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
|
-
import { t as OdtParagraph } from "../../paragraph-
|
|
3
|
-
import { n as OdtTable } from "../../table-
|
|
2
|
+
import { t as OdtParagraph } from "../../paragraph-BPRc-VVV.js";
|
|
3
|
+
import { n as OdtTable } from "../../table-Dtml8NyR.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
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ContentFormula, ContentVector } from "document-schema.js";
|
|
2
|
+
import { n as ParagraphInit, t as OdtParagraph } from "../../paragraph-CdGRPSYA.cjs";
|
|
3
|
+
import { t as OdtList } from "../../list-BT1Zb3PV.cjs";
|
|
4
|
+
import { a as TableInit, n as OdtTable } from "../../table-b9-ipGtZ.cjs";
|
|
5
|
+
import { Box, ContentFormula, ContentVector } from "document-schema.js";
|
|
7
6
|
import { Package } from "odf.js";
|
|
8
7
|
//#region src/edit/odt/editor.d.ts
|
|
9
8
|
interface OdtBody {
|
|
@@ -11,7 +10,7 @@ interface OdtBody {
|
|
|
11
10
|
appendTable(init: TableInit): OdtTable;
|
|
12
11
|
appendList(): OdtList;
|
|
13
12
|
appendPageBreak(): void;
|
|
14
|
-
appendFormula(formula: ContentFormula, frame: Box
|
|
13
|
+
appendFormula(formula: ContentFormula, frame: Box): OdtParagraph;
|
|
15
14
|
appendVectors(vectors: readonly ContentVector[]): OdtParagraph;
|
|
16
15
|
}
|
|
17
16
|
declare class OdtEditor {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as ClockPort } from "../../clock-C7SUuYN0.js";
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ContentFormula, ContentVector } from "document-schema.js";
|
|
2
|
+
import { n as ParagraphInit, t as OdtParagraph } from "../../paragraph-BPRc-VVV.js";
|
|
3
|
+
import { t as OdtList } from "../../list-D9MtQtjK.js";
|
|
4
|
+
import { a as TableInit, n as OdtTable } from "../../table-Dtml8NyR.js";
|
|
5
|
+
import { Box, ContentFormula, ContentVector } from "document-schema.js";
|
|
7
6
|
import { Package } from "odf.js";
|
|
8
7
|
//#region src/edit/odt/editor.d.ts
|
|
9
8
|
interface OdtBody {
|
|
@@ -11,7 +10,7 @@ interface OdtBody {
|
|
|
11
10
|
appendTable(init: TableInit): OdtTable;
|
|
12
11
|
appendList(): OdtList;
|
|
13
12
|
appendPageBreak(): void;
|
|
14
|
-
appendFormula(formula: ContentFormula, frame: Box
|
|
13
|
+
appendFormula(formula: ContentFormula, frame: Box): OdtParagraph;
|
|
15
14
|
appendVectors(vectors: readonly ContentVector[]): OdtParagraph;
|
|
16
15
|
}
|
|
17
16
|
declare class OdtEditor {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContentFormula } from "document-schema.js";
|
|
1
|
+
import { Box, ContentFormula } from "document-schema.js";
|
|
3
2
|
import { Package, XmlElement } from "odf.js";
|
|
4
3
|
//#region src/edit/odt/formula.d.ts
|
|
5
|
-
declare function buildFormulaFrame(href: string, frame: Box
|
|
6
|
-
declare function insertFormulaFrameMedia(pkg: Package, frame: Box
|
|
4
|
+
declare function buildFormulaFrame(href: string, frame: Box): XmlElement;
|
|
5
|
+
declare function insertFormulaFrameMedia(pkg: Package, frame: Box, formula: ContentFormula): XmlElement;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { buildFormulaFrame, insertFormulaFrameMedia };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContentFormula } from "document-schema.js";
|
|
1
|
+
import { Box, ContentFormula } from "document-schema.js";
|
|
3
2
|
import { Package, XmlElement } from "odf.js";
|
|
4
3
|
//#region src/edit/odt/formula.d.ts
|
|
5
|
-
declare function buildFormulaFrame(href: string, frame: Box
|
|
6
|
-
declare function insertFormulaFrameMedia(pkg: Package, frame: Box
|
|
4
|
+
declare function buildFormulaFrame(href: string, frame: Box): XmlElement;
|
|
5
|
+
declare function insertFormulaFrameMedia(pkg: Package, frame: Box, formula: ContentFormula): XmlElement;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { buildFormulaFrame, insertFormulaFrameMedia };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as buildImageFrame, r as insertImageFrameMedia, t as ImageInit } from "../../image-
|
|
1
|
+
import { n as buildImageFrame, r as insertImageFrameMedia, t as ImageInit } from "../../image-Biwtr667.cjs";
|
|
2
2
|
export { ImageInit, buildImageFrame, insertImageFrameMedia };
|
package/dist/edit/odt/image.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as buildImageFrame, r as insertImageFrameMedia, t as ImageInit } from "../../image-
|
|
1
|
+
import { n as buildImageFrame, r as insertImageFrameMedia, t as ImageInit } from "../../image-Biwtr667.js";
|
|
2
2
|
export { ImageInit, buildImageFrame, insertImageFrameMedia };
|
package/dist/edit/odt/list.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as OdtListItem, r as buildList, t as OdtList } from "../../list-
|
|
1
|
+
import { n as OdtListItem, r as buildList, t as OdtList } from "../../list-BT1Zb3PV.cjs";
|
|
2
2
|
export { OdtList, OdtListItem, buildList };
|
package/dist/edit/odt/list.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as OdtListItem, r as buildList, t as OdtList } from "../../list-
|
|
1
|
+
import { n as OdtListItem, r as buildList, t as OdtList } from "../../list-D9MtQtjK.js";
|
|
2
2
|
export { OdtList, OdtListItem, buildList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ParagraphInit, r as buildParagraph, t as OdtParagraph } from "../../paragraph-
|
|
1
|
+
import { n as ParagraphInit, r as buildParagraph, t as OdtParagraph } from "../../paragraph-CdGRPSYA.cjs";
|
|
2
2
|
export { OdtParagraph, ParagraphInit, buildParagraph };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ParagraphInit, r as buildParagraph, t as OdtParagraph } from "../../paragraph-
|
|
1
|
+
import { n as ParagraphInit, r as buildParagraph, t as OdtParagraph } from "../../paragraph-BPRc-VVV.js";
|
|
2
2
|
export { OdtParagraph, ParagraphInit, buildParagraph };
|
package/dist/edit/odt/run.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RunInit, r as buildRun, t as OdtRun } from "../../run-
|
|
1
|
+
import { n as RunInit, r as buildRun, t as OdtRun } from "../../run-mzBHuFWz.cjs";
|
|
2
2
|
export { OdtRun, RunInit, buildRun };
|
package/dist/edit/odt/run.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RunInit, r as buildRun, t as OdtRun } from "../../run-
|
|
1
|
+
import { n as RunInit, r as buildRun, t as OdtRun } from "../../run-mzBHuFWz.js";
|
|
2
2
|
export { OdtRun, RunInit, buildRun };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_xml_fragment = require("../../xml/fragment.cjs");
|
|
3
3
|
const require_xml_entities = require("../../xml/entities.cjs");
|
|
4
|
-
let odf_js = require("odf.js");
|
|
5
4
|
let document_schema_js = require("document-schema.js");
|
|
5
|
+
let odf_js = require("odf.js");
|
|
6
6
|
//#region src/edit/odt/scaffold.ts
|
|
7
7
|
const CONTENT_NS_PREFIXES = [
|
|
8
8
|
"office",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PAGE_SIZE_LETTER } from "../../model/geometry.js";
|
|
2
1
|
import { el, txt } from "../../xml/fragment.js";
|
|
3
2
|
import { encodeXmlText } from "../../xml/entities.js";
|
|
3
|
+
import { PAGE_SIZE_LETTER } from "document-schema.js";
|
|
4
4
|
import { ODF_MEDIA_TYPES, setDocumentMediaType, syncManifest, xmlnsAttributes } from "odf.js";
|
|
5
5
|
//#region src/edit/odt/scaffold.ts
|
|
6
6
|
const CONTENT_NS_PREFIXES = [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableInit, c as readCellDecoration, i as OdtTableRow, n as OdtTable, o as buildCellStyle, r as OdtTableCell, s as buildTable, t as CellDecoration } from "../../table-
|
|
1
|
+
import { a as TableInit, c as readCellDecoration, i as OdtTableRow, n as OdtTable, o as buildCellStyle, r as OdtTableCell, s as buildTable, t as CellDecoration } from "../../table-b9-ipGtZ.cjs";
|
|
2
2
|
export { CellDecoration, OdtTable, OdtTableCell, OdtTableRow, TableInit, buildCellStyle, buildTable, readCellDecoration };
|
package/dist/edit/odt/table.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableInit, c as readCellDecoration, i as OdtTableRow, n as OdtTable, o as buildCellStyle, r as OdtTableCell, s as buildTable, t as CellDecoration } from "../../table-
|
|
1
|
+
import { a as TableInit, c as readCellDecoration, i as OdtTableRow, n as OdtTable, o as buildCellStyle, r as OdtTableCell, s as buildTable, t as CellDecoration } from "../../table-Dtml8NyR.js";
|
|
2
2
|
export { CellDecoration, OdtTable, OdtTableCell, OdtTableRow, TableInit, buildCellStyle, buildTable, readCellDecoration };
|
package/dist/edit/pdf/item.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as wrapItem, S as buildTextItem, _ as buildImageItem, a as PdfItem, b as buildPathItem, c as PdfLinkInit, d as PdfPathItem, f as PdfRectInit, g as buildEllipseItem, h as PdfTextItem, i as PdfImageItem, l as PdfLinkItem, m as PdfTextInit, n as PdfEllipseItem, o as PdfLineInit, p as PdfRectItem, r as PdfImageInit, s as PdfLineItem, t as PdfEllipseInit, u as PdfPathInit, v as buildLineItem, x as buildRectItem, y as buildLinkItem } from "../../item-
|
|
1
|
+
import { C as wrapItem, S as buildTextItem, _ as buildImageItem, a as PdfItem, b as buildPathItem, c as PdfLinkInit, d as PdfPathItem, f as PdfRectInit, g as buildEllipseItem, h as PdfTextItem, i as PdfImageItem, l as PdfLinkItem, m as PdfTextInit, n as PdfEllipseItem, o as PdfLineInit, p as PdfRectItem, r as PdfImageInit, s as PdfLineItem, t as PdfEllipseInit, u as PdfPathInit, v as buildLineItem, x as buildRectItem, y as buildLinkItem } from "../../item-Dj6f1VTE.cjs";
|
|
2
2
|
export { PdfEllipseInit, PdfEllipseItem, PdfImageInit, PdfImageItem, PdfItem, PdfLineInit, PdfLineItem, PdfLinkInit, PdfLinkItem, PdfPathInit, PdfPathItem, PdfRectInit, PdfRectItem, PdfTextInit, PdfTextItem, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
|
package/dist/edit/pdf/item.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as wrapItem, S as buildTextItem, _ as buildImageItem, a as PdfItem, b as buildPathItem, c as PdfLinkInit, d as PdfPathItem, f as PdfRectInit, g as buildEllipseItem, h as PdfTextItem, i as PdfImageItem, l as PdfLinkItem, m as PdfTextInit, n as PdfEllipseItem, o as PdfLineInit, p as PdfRectItem, r as PdfImageInit, s as PdfLineItem, t as PdfEllipseInit, u as PdfPathInit, v as buildLineItem, x as buildRectItem, y as buildLinkItem } from "../../item-
|
|
1
|
+
import { C as wrapItem, S as buildTextItem, _ as buildImageItem, a as PdfItem, b as buildPathItem, c as PdfLinkInit, d as PdfPathItem, f as PdfRectInit, g as buildEllipseItem, h as PdfTextItem, i as PdfImageItem, l as PdfLinkItem, m as PdfTextInit, n as PdfEllipseItem, o as PdfLineInit, p as PdfRectItem, r as PdfImageInit, s as PdfLineItem, t as PdfEllipseInit, u as PdfPathInit, v as buildLineItem, x as buildRectItem, y as buildLinkItem } from "../../item-Dj6f1VTE.js";
|
|
2
2
|
export { PdfEllipseInit, PdfEllipseItem, PdfImageInit, PdfImageItem, PdfItem, PdfLineInit, PdfLineItem, PdfLinkInit, PdfLinkItem, PdfPathInit, PdfPathItem, PdfRectInit, PdfRectItem, PdfTextInit, PdfTextItem, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
|