odf.js 2.4.23 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/a1-5e9veCyu.d.cts +18 -0
- package/dist/a1-5e9veCyu.d.ts +18 -0
- package/dist/base64--HuymRl_.d.cts +5 -0
- package/dist/base64--HuymRl_.d.ts +5 -0
- package/dist/build-XSm3I8LT.d.cts +5 -0
- package/dist/build-Z1KRkSEB.d.ts +5 -0
- package/dist/cascade-8u4q16_U.d.ts +22 -0
- package/dist/cascade-qYa3mgnE.d.cts +22 -0
- package/dist/codec-CqVFFwD0.d.ts +107 -0
- package/dist/codec-Dg0R3WGd.d.cts +107 -0
- package/dist/codec.d.cts +2 -72
- package/dist/codec.d.ts +2 -72
- package/dist/color-CqXjt_to.d.cts +6 -0
- package/dist/color-CqXjt_to.d.ts +6 -0
- package/dist/embedded-CNMqOrnt.d.ts +13 -0
- package/dist/embedded-D7Kr1Sce.d.cts +13 -0
- package/dist/entities-BZlXvHqu.d.cts +5 -0
- package/dist/entities-BZlXvHqu.d.ts +5 -0
- package/dist/form-BC-wb1M2.d.cts +31 -0
- package/dist/form-DcGOX5RW.d.ts +31 -0
- package/dist/fragment-B1ZV7T5Z.d.ts +6 -0
- package/dist/fragment-B1og_8uA.d.cts +6 -0
- package/dist/geometry-DnhkIhAM.d.ts +12 -0
- package/dist/geometry-lKWJ_ifA.d.cts +12 -0
- package/dist/image/sniff.d.cts +1 -4
- package/dist/image/sniff.d.ts +1 -4
- package/dist/index.d.cts +43 -43
- package/dist/index.d.ts +43 -43
- package/dist/manifest-CmsCOCEi.d.cts +40 -0
- package/dist/manifest-xxJ4FpSe.d.ts +40 -0
- package/dist/manifest.cjs +0 -1
- package/dist/manifest.d.cts +2 -41
- package/dist/manifest.d.ts +2 -41
- package/dist/manifest.js +1 -1
- package/dist/masterpage-7nBnqFj-.d.ts +8 -0
- package/dist/masterpage-EmefIRgy.d.cts +8 -0
- package/dist/media-type-BOLkcHkJ.d.cts +20 -0
- package/dist/media-type-BOLkcHkJ.d.ts +20 -0
- package/dist/media-type.d.cts +1 -19
- package/dist/media-type.d.ts +1 -19
- package/dist/metadata-32LoP2TK.d.ts +7 -0
- package/dist/metadata-frJqeeSB.d.cts +7 -0
- package/dist/mimetype-BcLX0N-N.d.cts +6 -0
- package/dist/mimetype-uF-RHNpR.d.ts +6 -0
- package/dist/mimetype.cjs +0 -1
- package/dist/mimetype.d.cts +2 -7
- package/dist/mimetype.d.ts +2 -7
- package/dist/mimetype.js +1 -1
- package/dist/ns-Cihto3Fx.d.cts +33 -0
- package/dist/ns-Cihto3Fx.d.ts +33 -0
- package/dist/ns.d.cts +1 -32
- package/dist/ns.d.ts +1 -32
- package/dist/package-io/read.d.cts +1 -4
- package/dist/package-io/read.d.ts +1 -4
- package/dist/package-io/write.d.cts +1 -6
- package/dist/package-io/write.d.ts +1 -6
- package/dist/paragraph-9ii2naJC.d.cts +7 -0
- package/dist/paragraph-DWNnedIE.d.ts +7 -0
- package/dist/parse-A8_8sdpX.d.ts +5 -0
- package/dist/parse-CP5FLZqv.d.cts +5 -0
- package/dist/path-DE7wkIcz.d.cts +34 -0
- package/dist/path-DE7wkIcz.d.ts +34 -0
- package/dist/properties-BF_Fv6B3.d.cts +44 -0
- package/dist/properties-DjAIdPry.d.ts +44 -0
- package/dist/query-P-Y5DK0-.d.cts +9 -0
- package/dist/query-sECN-7vU.d.ts +9 -0
- package/dist/read-B0aBfNRf.d.ts +10 -0
- package/dist/read-BKS_zlGG.d.cts +10 -0
- package/dist/read-Bd16x8VD.d.cts +10 -0
- package/dist/read-BkFbEves.d.ts +15 -0
- package/dist/read-Bleh4LfR.d.ts +14 -0
- package/dist/read-BoIUENWq.d.ts +28 -0
- package/dist/read-C7gT8wtc.d.ts +10 -0
- package/dist/read-CFMsXSl7.d.cts +5 -0
- package/dist/read-CxdHrV1m.d.ts +10 -0
- package/dist/read-D4DKvOY7.d.cts +10 -0
- package/dist/read-DNNf5_6n.d.cts +15 -0
- package/dist/read-DapcRIZV.d.cts +10 -0
- package/dist/read-DhLNXgiM.d.ts +5 -0
- package/dist/read-Dn9qyBBs.d.ts +10 -0
- package/dist/read-DrdmKX0x.d.cts +28 -0
- package/dist/read-DyR9HfLT.d.cts +14 -0
- package/dist/registry-Dy6pjoh3.d.cts +37 -0
- package/dist/registry-R43n1hcL.d.ts +37 -0
- package/dist/report-BuCJ7_YU.d.cts +48 -0
- package/dist/report-MpwUgXbA.d.ts +48 -0
- package/dist/serialize-9xvti0FF.d.cts +7 -0
- package/dist/serialize-DvaE_t5D.d.ts +7 -0
- package/dist/shapes-BJAtBY24.d.ts +18 -0
- package/dist/shapes-CHc96HKu.d.cts +18 -0
- package/dist/sniff-DjpnUZRp.d.cts +5 -0
- package/dist/sniff-DjpnUZRp.d.ts +5 -0
- package/dist/span-BtmvlqZH.d.cts +5 -0
- package/dist/span-KXroEGuH.d.ts +5 -0
- package/dist/style-CwuPFm34.d.cts +2 -0
- package/dist/style-Jzwx2Q-Y.d.ts +2 -0
- package/dist/styles/properties.cjs +0 -1
- package/dist/styles/properties.d.cts +2 -45
- package/dist/styles/properties.d.ts +2 -45
- package/dist/styles/properties.js +1 -1
- package/dist/styles/registry.d.cts +1 -36
- package/dist/styles/registry.d.ts +1 -36
- package/dist/styles/serialize.d.cts +1 -6
- package/dist/styles/serialize.d.ts +1 -6
- package/dist/styles/span.d.cts +1 -4
- package/dist/styles/span.d.ts +1 -4
- package/dist/subdocument-CIxH3a5V.d.cts +8 -0
- package/dist/subdocument-DQNQF7wV.d.ts +8 -0
- package/dist/table-D81TZyBn.d.ts +14 -0
- package/dist/table-sweV3r9n.d.cts +14 -0
- package/dist/text-Cal14ZaX.d.cts +8 -0
- package/dist/text-CkNojpZm.d.ts +8 -0
- package/dist/transform-C7GrZZdR.d.ts +26 -0
- package/dist/transform-DKEjydnm.d.cts +26 -0
- package/dist/typed/draw/embedded.d.cts +1 -12
- package/dist/typed/draw/embedded.d.ts +1 -12
- package/dist/typed/draw/shapes.d.cts +1 -17
- package/dist/typed/draw/shapes.d.ts +1 -17
- package/dist/typed/formula/read.d.cts +1 -13
- package/dist/typed/formula/read.d.ts +1 -13
- package/dist/typed/odb/form.d.cts +1 -30
- package/dist/typed/odb/form.d.ts +1 -30
- package/dist/typed/odb/read.d.cts +1 -27
- package/dist/typed/odb/read.d.ts +1 -27
- package/dist/typed/odb/report.d.cts +1 -47
- package/dist/typed/odb/report.d.ts +1 -47
- package/dist/typed/odb/subdocument.d.cts +1 -7
- package/dist/typed/odb/subdocument.d.ts +1 -7
- package/dist/typed/odg/read.d.cts +1 -9
- package/dist/typed/odg/read.d.ts +1 -9
- package/dist/typed/odm/read.d.cts +1 -14
- package/dist/typed/odm/read.d.ts +1 -14
- package/dist/typed/odp/read.d.cts +1 -9
- package/dist/typed/odp/read.d.ts +1 -9
- package/dist/typed/ods/read.d.cts +1 -9
- package/dist/typed/ods/read.d.ts +1 -9
- package/dist/typed/odt/read.d.cts +1 -9
- package/dist/typed/odt/read.d.ts +1 -9
- package/dist/typed/shared/a1.d.cts +1 -17
- package/dist/typed/shared/a1.d.ts +1 -17
- package/dist/typed/shared/cascade.d.cts +1 -21
- package/dist/typed/shared/cascade.d.ts +1 -21
- package/dist/typed/shared/color.d.cts +1 -5
- package/dist/typed/shared/color.d.ts +1 -5
- package/dist/typed/shared/geometry.d.cts +1 -11
- package/dist/typed/shared/geometry.d.ts +1 -11
- package/dist/typed/shared/masterpage.d.cts +1 -7
- package/dist/typed/shared/masterpage.d.ts +1 -7
- package/dist/typed/shared/metadata.d.cts +1 -6
- package/dist/typed/shared/metadata.d.ts +1 -6
- package/dist/typed/shared/paragraph.d.cts +1 -6
- package/dist/typed/shared/paragraph.d.ts +1 -6
- package/dist/typed/shared/path.d.cts +1 -33
- package/dist/typed/shared/path.d.ts +1 -33
- package/dist/typed/shared/style.d.cts +1 -1
- package/dist/typed/shared/style.d.ts +1 -1
- package/dist/typed/shared/table.d.cts +1 -13
- package/dist/typed/shared/table.d.ts +1 -13
- package/dist/typed/shared/text.d.cts +1 -7
- package/dist/typed/shared/text.d.ts +1 -7
- package/dist/typed/shared/transform.d.cts +1 -25
- package/dist/typed/shared/transform.d.ts +1 -25
- package/dist/util/base64.d.cts +1 -4
- package/dist/util/base64.d.ts +1 -4
- package/dist/write-C0nwVuPI.d.ts +7 -0
- package/dist/write-Dfb2tirK.d.cts +7 -0
- package/dist/xml/build.d.cts +1 -4
- package/dist/xml/build.d.ts +1 -4
- package/dist/xml/entities.d.cts +1 -4
- package/dist/xml/entities.d.ts +1 -4
- package/dist/xml/fragment.d.cts +1 -5
- package/dist/xml/fragment.d.ts +1 -5
- package/dist/xml/parse.d.cts +1 -4
- package/dist/xml/parse.d.ts +1 -4
- package/dist/xml/query.d.cts +1 -8
- package/dist/xml/query.d.ts +1 -8
- package/dist/zip-ie17sOo5.d.cts +9 -0
- package/dist/zip-ie17sOo5.d.ts +9 -0
- package/dist/zip.d.cts +1 -8
- package/dist/zip.d.ts +1 -8
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/ns.d.ts
|
|
2
|
+
declare const ODF_NAMESPACES: Readonly<{
|
|
3
|
+
office: "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
4
|
+
style: "urn:oasis:names:tc:opendocument:xmlns:style:1.0";
|
|
5
|
+
text: "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
6
|
+
table: "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
7
|
+
draw: "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0";
|
|
8
|
+
fo: "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0";
|
|
9
|
+
svg: "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0";
|
|
10
|
+
xlink: "http://www.w3.org/1999/xlink";
|
|
11
|
+
dc: "http://purl.org/dc/elements/1.1/";
|
|
12
|
+
meta: "urn:oasis:names:tc:opendocument:xmlns:meta:1.0";
|
|
13
|
+
number: "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0";
|
|
14
|
+
chart: "urn:oasis:names:tc:opendocument:xmlns:chart:1.0";
|
|
15
|
+
dr3d: "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0";
|
|
16
|
+
math: "http://www.w3.org/1998/Math/MathML";
|
|
17
|
+
form: "urn:oasis:names:tc:opendocument:xmlns:form:1.0";
|
|
18
|
+
script: "urn:oasis:names:tc:opendocument:xmlns:script:1.0";
|
|
19
|
+
config: "urn:oasis:names:tc:opendocument:xmlns:config:1.0";
|
|
20
|
+
presentation: "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0";
|
|
21
|
+
smil: "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0";
|
|
22
|
+
anim: "urn:oasis:names:tc:opendocument:xmlns:animation:1.0";
|
|
23
|
+
xforms: "http://www.w3.org/2002/xforms";
|
|
24
|
+
xsd: "http://www.w3.org/2001/XMLSchema";
|
|
25
|
+
xsi: "http://www.w3.org/2001/XMLSchema-instance";
|
|
26
|
+
manifest: "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0";
|
|
27
|
+
db: "urn:oasis:names:tc:opendocument:xmlns:database:1.0";
|
|
28
|
+
rpt: "http://openoffice.org/2005/report";
|
|
29
|
+
}>;
|
|
30
|
+
type OdfNamespacePrefix = keyof typeof ODF_NAMESPACES;
|
|
31
|
+
declare function xmlnsAttributes(prefixes: readonly OdfNamespacePrefix[]): Record<string, string>;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { OdfNamespacePrefix as n, xmlnsAttributes as r, ODF_NAMESPACES as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/ns.d.ts
|
|
2
|
+
declare const ODF_NAMESPACES: Readonly<{
|
|
3
|
+
office: "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
4
|
+
style: "urn:oasis:names:tc:opendocument:xmlns:style:1.0";
|
|
5
|
+
text: "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
6
|
+
table: "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
7
|
+
draw: "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0";
|
|
8
|
+
fo: "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0";
|
|
9
|
+
svg: "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0";
|
|
10
|
+
xlink: "http://www.w3.org/1999/xlink";
|
|
11
|
+
dc: "http://purl.org/dc/elements/1.1/";
|
|
12
|
+
meta: "urn:oasis:names:tc:opendocument:xmlns:meta:1.0";
|
|
13
|
+
number: "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0";
|
|
14
|
+
chart: "urn:oasis:names:tc:opendocument:xmlns:chart:1.0";
|
|
15
|
+
dr3d: "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0";
|
|
16
|
+
math: "http://www.w3.org/1998/Math/MathML";
|
|
17
|
+
form: "urn:oasis:names:tc:opendocument:xmlns:form:1.0";
|
|
18
|
+
script: "urn:oasis:names:tc:opendocument:xmlns:script:1.0";
|
|
19
|
+
config: "urn:oasis:names:tc:opendocument:xmlns:config:1.0";
|
|
20
|
+
presentation: "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0";
|
|
21
|
+
smil: "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0";
|
|
22
|
+
anim: "urn:oasis:names:tc:opendocument:xmlns:animation:1.0";
|
|
23
|
+
xforms: "http://www.w3.org/2002/xforms";
|
|
24
|
+
xsd: "http://www.w3.org/2001/XMLSchema";
|
|
25
|
+
xsi: "http://www.w3.org/2001/XMLSchema-instance";
|
|
26
|
+
manifest: "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0";
|
|
27
|
+
db: "urn:oasis:names:tc:opendocument:xmlns:database:1.0";
|
|
28
|
+
rpt: "http://openoffice.org/2005/report";
|
|
29
|
+
}>;
|
|
30
|
+
type OdfNamespacePrefix = keyof typeof ODF_NAMESPACES;
|
|
31
|
+
declare function xmlnsAttributes(prefixes: readonly OdfNamespacePrefix[]): Record<string, string>;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { OdfNamespacePrefix as n, xmlnsAttributes as r, ODF_NAMESPACES as t };
|
package/dist/ns.d.cts
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ODF_NAMESPACES: Readonly<{
|
|
3
|
-
office: "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
4
|
-
style: "urn:oasis:names:tc:opendocument:xmlns:style:1.0";
|
|
5
|
-
text: "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
6
|
-
table: "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
7
|
-
draw: "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0";
|
|
8
|
-
fo: "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0";
|
|
9
|
-
svg: "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0";
|
|
10
|
-
xlink: "http://www.w3.org/1999/xlink";
|
|
11
|
-
dc: "http://purl.org/dc/elements/1.1/";
|
|
12
|
-
meta: "urn:oasis:names:tc:opendocument:xmlns:meta:1.0";
|
|
13
|
-
number: "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0";
|
|
14
|
-
chart: "urn:oasis:names:tc:opendocument:xmlns:chart:1.0";
|
|
15
|
-
dr3d: "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0";
|
|
16
|
-
math: "http://www.w3.org/1998/Math/MathML";
|
|
17
|
-
form: "urn:oasis:names:tc:opendocument:xmlns:form:1.0";
|
|
18
|
-
script: "urn:oasis:names:tc:opendocument:xmlns:script:1.0";
|
|
19
|
-
config: "urn:oasis:names:tc:opendocument:xmlns:config:1.0";
|
|
20
|
-
presentation: "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0";
|
|
21
|
-
smil: "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0";
|
|
22
|
-
anim: "urn:oasis:names:tc:opendocument:xmlns:animation:1.0";
|
|
23
|
-
xforms: "http://www.w3.org/2002/xforms";
|
|
24
|
-
xsd: "http://www.w3.org/2001/XMLSchema";
|
|
25
|
-
xsi: "http://www.w3.org/2001/XMLSchema-instance";
|
|
26
|
-
manifest: "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0";
|
|
27
|
-
db: "urn:oasis:names:tc:opendocument:xmlns:database:1.0";
|
|
28
|
-
rpt: "http://openoffice.org/2005/report";
|
|
29
|
-
}>;
|
|
30
|
-
type OdfNamespacePrefix = keyof typeof ODF_NAMESPACES;
|
|
31
|
-
declare function xmlnsAttributes(prefixes: readonly OdfNamespacePrefix[]): Record<string, string>;
|
|
32
|
-
//#endregion
|
|
1
|
+
import { n as OdfNamespacePrefix, r as xmlnsAttributes, t as ODF_NAMESPACES } from "./ns-Cihto3Fx.cjs";
|
|
33
2
|
export { ODF_NAMESPACES, OdfNamespacePrefix, xmlnsAttributes };
|
package/dist/ns.d.ts
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ODF_NAMESPACES: Readonly<{
|
|
3
|
-
office: "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
4
|
-
style: "urn:oasis:names:tc:opendocument:xmlns:style:1.0";
|
|
5
|
-
text: "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
6
|
-
table: "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
7
|
-
draw: "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0";
|
|
8
|
-
fo: "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0";
|
|
9
|
-
svg: "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0";
|
|
10
|
-
xlink: "http://www.w3.org/1999/xlink";
|
|
11
|
-
dc: "http://purl.org/dc/elements/1.1/";
|
|
12
|
-
meta: "urn:oasis:names:tc:opendocument:xmlns:meta:1.0";
|
|
13
|
-
number: "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0";
|
|
14
|
-
chart: "urn:oasis:names:tc:opendocument:xmlns:chart:1.0";
|
|
15
|
-
dr3d: "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0";
|
|
16
|
-
math: "http://www.w3.org/1998/Math/MathML";
|
|
17
|
-
form: "urn:oasis:names:tc:opendocument:xmlns:form:1.0";
|
|
18
|
-
script: "urn:oasis:names:tc:opendocument:xmlns:script:1.0";
|
|
19
|
-
config: "urn:oasis:names:tc:opendocument:xmlns:config:1.0";
|
|
20
|
-
presentation: "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0";
|
|
21
|
-
smil: "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0";
|
|
22
|
-
anim: "urn:oasis:names:tc:opendocument:xmlns:animation:1.0";
|
|
23
|
-
xforms: "http://www.w3.org/2002/xforms";
|
|
24
|
-
xsd: "http://www.w3.org/2001/XMLSchema";
|
|
25
|
-
xsi: "http://www.w3.org/2001/XMLSchema-instance";
|
|
26
|
-
manifest: "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0";
|
|
27
|
-
db: "urn:oasis:names:tc:opendocument:xmlns:database:1.0";
|
|
28
|
-
rpt: "http://openoffice.org/2005/report";
|
|
29
|
-
}>;
|
|
30
|
-
type OdfNamespacePrefix = keyof typeof ODF_NAMESPACES;
|
|
31
|
-
declare function xmlnsAttributes(prefixes: readonly OdfNamespacePrefix[]): Record<string, string>;
|
|
32
|
-
//#endregion
|
|
1
|
+
import { n as OdfNamespacePrefix, r as xmlnsAttributes, t as ODF_NAMESPACES } from "./ns-Cihto3Fx.js";
|
|
33
2
|
export { ODF_NAMESPACES, OdfNamespacePrefix, xmlnsAttributes };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/package-io/write.d.ts
|
|
3
|
-
declare const MIMETYPE_PART = "mimetype";
|
|
4
|
-
declare const MANIFEST_PART = "META-INF/manifest.xml";
|
|
5
|
-
declare function serializePackage(pkg: Package): Uint8Array<ArrayBuffer>;
|
|
6
|
-
//#endregion
|
|
1
|
+
import { n as MIMETYPE_PART, r as serializePackage, t as MANIFEST_PART } from "../write-Dfb2tirK.cjs";
|
|
7
2
|
export { MANIFEST_PART, MIMETYPE_PART, serializePackage };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/package-io/write.d.ts
|
|
3
|
-
declare const MIMETYPE_PART = "mimetype";
|
|
4
|
-
declare const MANIFEST_PART = "META-INF/manifest.xml";
|
|
5
|
-
declare function serializePackage(pkg: Package): Uint8Array<ArrayBuffer>;
|
|
6
|
-
//#endregion
|
|
1
|
+
import { n as MIMETYPE_PART, r as serializePackage, t as MANIFEST_PART } from "../write-C0nwVuPI.js";
|
|
7
2
|
export { MANIFEST_PART, MIMETYPE_PART, serializePackage };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { l as XmlElement } from "./node-CkBWRjNR.cjs";
|
|
2
|
+
import { Package } from "./model/package.cjs";
|
|
3
|
+
import { ContentParagraph } from "document-schema.js";
|
|
4
|
+
//#region src/typed/shared/paragraph.d.ts
|
|
5
|
+
declare function readOdfParagraph(pElement: XmlElement, pkg: Package): ContentParagraph;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { readOdfParagraph as t };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { l as XmlElement } from "./node-CkBWRjNR.js";
|
|
2
|
+
import { Package } from "./model/package.js";
|
|
3
|
+
import { ContentParagraph } from "document-schema.js";
|
|
4
|
+
//#region src/typed/shared/paragraph.d.ts
|
|
5
|
+
declare function readOdfParagraph(pElement: XmlElement, pkg: Package): ContentParagraph;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { readOdfParagraph as t };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Box, ContentPathPoint, ContentSubpath } from "document-schema.js";
|
|
2
|
+
//#region src/typed/shared/path.d.ts
|
|
3
|
+
interface OdfRawPoint {
|
|
4
|
+
readonly x: number;
|
|
5
|
+
readonly y: number;
|
|
6
|
+
}
|
|
7
|
+
type OdfRawSegment = {
|
|
8
|
+
readonly kind: 'line';
|
|
9
|
+
readonly to: OdfRawPoint;
|
|
10
|
+
} | {
|
|
11
|
+
readonly kind: 'cubic';
|
|
12
|
+
readonly control1: OdfRawPoint;
|
|
13
|
+
readonly control2: OdfRawPoint;
|
|
14
|
+
readonly to: OdfRawPoint;
|
|
15
|
+
};
|
|
16
|
+
interface OdfRawSubpath {
|
|
17
|
+
readonly start: OdfRawPoint;
|
|
18
|
+
readonly segments: readonly OdfRawSegment[];
|
|
19
|
+
readonly closed: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface OdfViewBox {
|
|
22
|
+
readonly minX: number;
|
|
23
|
+
readonly minY: number;
|
|
24
|
+
readonly width: number;
|
|
25
|
+
readonly height: number;
|
|
26
|
+
}
|
|
27
|
+
declare function parseOdfViewBox(value: string): OdfViewBox | undefined;
|
|
28
|
+
declare function parseOdfPointsList(value: string): OdfRawPoint[];
|
|
29
|
+
declare function rawSubpathFromPoints(points: readonly OdfRawPoint[], closed: boolean): OdfRawSubpath | undefined;
|
|
30
|
+
declare function parseOdfPathData(d: string): OdfRawSubpath[];
|
|
31
|
+
declare function scaleOdfRawPoint(point: OdfRawPoint, viewBox: OdfViewBox, frame: Box): ContentPathPoint;
|
|
32
|
+
declare function buildOdfSubpaths(rawSubpaths: readonly OdfRawSubpath[], viewBox: OdfViewBox, frame: Box): ContentSubpath[];
|
|
33
|
+
//#endregion
|
|
34
|
+
export { buildOdfSubpaths as a, parseOdfViewBox as c, OdfViewBox as i, rawSubpathFromPoints as l, OdfRawSegment as n, parseOdfPathData as o, OdfRawSubpath as r, parseOdfPointsList as s, OdfRawPoint as t, scaleOdfRawPoint as u };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Box, ContentPathPoint, ContentSubpath } from "document-schema.js";
|
|
2
|
+
//#region src/typed/shared/path.d.ts
|
|
3
|
+
interface OdfRawPoint {
|
|
4
|
+
readonly x: number;
|
|
5
|
+
readonly y: number;
|
|
6
|
+
}
|
|
7
|
+
type OdfRawSegment = {
|
|
8
|
+
readonly kind: 'line';
|
|
9
|
+
readonly to: OdfRawPoint;
|
|
10
|
+
} | {
|
|
11
|
+
readonly kind: 'cubic';
|
|
12
|
+
readonly control1: OdfRawPoint;
|
|
13
|
+
readonly control2: OdfRawPoint;
|
|
14
|
+
readonly to: OdfRawPoint;
|
|
15
|
+
};
|
|
16
|
+
interface OdfRawSubpath {
|
|
17
|
+
readonly start: OdfRawPoint;
|
|
18
|
+
readonly segments: readonly OdfRawSegment[];
|
|
19
|
+
readonly closed: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface OdfViewBox {
|
|
22
|
+
readonly minX: number;
|
|
23
|
+
readonly minY: number;
|
|
24
|
+
readonly width: number;
|
|
25
|
+
readonly height: number;
|
|
26
|
+
}
|
|
27
|
+
declare function parseOdfViewBox(value: string): OdfViewBox | undefined;
|
|
28
|
+
declare function parseOdfPointsList(value: string): OdfRawPoint[];
|
|
29
|
+
declare function rawSubpathFromPoints(points: readonly OdfRawPoint[], closed: boolean): OdfRawSubpath | undefined;
|
|
30
|
+
declare function parseOdfPathData(d: string): OdfRawSubpath[];
|
|
31
|
+
declare function scaleOdfRawPoint(point: OdfRawPoint, viewBox: OdfViewBox, frame: Box): ContentPathPoint;
|
|
32
|
+
declare function buildOdfSubpaths(rawSubpaths: readonly OdfRawSubpath[], viewBox: OdfViewBox, frame: Box): ContentSubpath[];
|
|
33
|
+
//#endregion
|
|
34
|
+
export { buildOdfSubpaths as a, parseOdfViewBox as c, OdfViewBox as i, rawSubpathFromPoints as l, OdfRawSegment as n, parseOdfPathData as o, OdfRawSubpath as r, parseOdfPointsList as s, OdfRawPoint as t, scaleOdfRawPoint as u };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { l as XmlElement, t as Attribute } from "./node-CkBWRjNR.cjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/styles/properties.d.ts
|
|
4
|
+
declare const StylePropertiesSchema: z.ZodObject<{
|
|
5
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
10
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
r: z.ZodNumber;
|
|
13
|
+
g: z.ZodNumber;
|
|
14
|
+
b: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
alignment: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
left: "left";
|
|
18
|
+
center: "center";
|
|
19
|
+
right: "right";
|
|
20
|
+
justify: "justify";
|
|
21
|
+
}>>;
|
|
22
|
+
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
spacingAfterPt: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
type StyleProperties = z.infer<typeof StylePropertiesSchema>;
|
|
29
|
+
interface ParsedProperties {
|
|
30
|
+
properties: Partial<StyleProperties>;
|
|
31
|
+
hasUnknown: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare function formatPt(valuePt: number): string;
|
|
34
|
+
declare function formatPercentageMultiplier(multiplier: number): string;
|
|
35
|
+
declare function parseTextProperties(element: XmlElement): ParsedProperties;
|
|
36
|
+
declare function parseParagraphProperties(element: XmlElement): ParsedProperties;
|
|
37
|
+
declare function parseStyleElementProperties(styleElement: XmlElement): {
|
|
38
|
+
properties: StyleProperties;
|
|
39
|
+
hasUnknown: boolean;
|
|
40
|
+
};
|
|
41
|
+
declare function textPropertiesToAttributes(properties: StyleProperties): Attribute[];
|
|
42
|
+
declare function paragraphPropertiesToAttributes(properties: StyleProperties): Attribute[];
|
|
43
|
+
//#endregion
|
|
44
|
+
export { formatPt as a, parseStyleElementProperties as c, formatPercentageMultiplier as i, parseTextProperties as l, StyleProperties as n, paragraphPropertiesToAttributes as o, StylePropertiesSchema as r, parseParagraphProperties as s, ParsedProperties as t, textPropertiesToAttributes as u };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { l as XmlElement, t as Attribute } from "./node-CkBWRjNR.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/styles/properties.d.ts
|
|
4
|
+
declare const StylePropertiesSchema: z.ZodObject<{
|
|
5
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
10
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
r: z.ZodNumber;
|
|
13
|
+
g: z.ZodNumber;
|
|
14
|
+
b: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
alignment: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
left: "left";
|
|
18
|
+
center: "center";
|
|
19
|
+
right: "right";
|
|
20
|
+
justify: "justify";
|
|
21
|
+
}>>;
|
|
22
|
+
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
spacingAfterPt: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
type StyleProperties = z.infer<typeof StylePropertiesSchema>;
|
|
29
|
+
interface ParsedProperties {
|
|
30
|
+
properties: Partial<StyleProperties>;
|
|
31
|
+
hasUnknown: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare function formatPt(valuePt: number): string;
|
|
34
|
+
declare function formatPercentageMultiplier(multiplier: number): string;
|
|
35
|
+
declare function parseTextProperties(element: XmlElement): ParsedProperties;
|
|
36
|
+
declare function parseParagraphProperties(element: XmlElement): ParsedProperties;
|
|
37
|
+
declare function parseStyleElementProperties(styleElement: XmlElement): {
|
|
38
|
+
properties: StyleProperties;
|
|
39
|
+
hasUnknown: boolean;
|
|
40
|
+
};
|
|
41
|
+
declare function textPropertiesToAttributes(properties: StyleProperties): Attribute[];
|
|
42
|
+
declare function paragraphPropertiesToAttributes(properties: StyleProperties): Attribute[];
|
|
43
|
+
//#endregion
|
|
44
|
+
export { formatPt as a, parseStyleElementProperties as c, formatPercentageMultiplier as i, parseTextProperties as l, StyleProperties as n, paragraphPropertiesToAttributes as o, StylePropertiesSchema as r, parseParagraphProperties as s, ParsedProperties as t, textPropertiesToAttributes as u };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { d as XmlNode, l as XmlElement } from "./node-CkBWRjNR.cjs";
|
|
2
|
+
//#region src/xml/query.d.ts
|
|
3
|
+
declare function rootElement(nodes: readonly XmlNode[]): XmlElement | undefined;
|
|
4
|
+
declare function findChildElement(nodes: readonly XmlNode[], tag: string): XmlElement | undefined;
|
|
5
|
+
declare function childrenWithTag(element: XmlElement, tag: string): XmlElement[];
|
|
6
|
+
declare function elementsWithTag(nodes: readonly XmlNode[], tag: string): XmlElement[];
|
|
7
|
+
declare function attrValue(element: XmlElement, name: string): string | undefined;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { rootElement as a, findChildElement as i, childrenWithTag as n, elementsWithTag as r, attrValue as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { d as XmlNode, l as XmlElement } from "./node-CkBWRjNR.js";
|
|
2
|
+
//#region src/xml/query.d.ts
|
|
3
|
+
declare function rootElement(nodes: readonly XmlNode[]): XmlElement | undefined;
|
|
4
|
+
declare function findChildElement(nodes: readonly XmlNode[], tag: string): XmlElement | undefined;
|
|
5
|
+
declare function childrenWithTag(element: XmlElement, tag: string): XmlElement[];
|
|
6
|
+
declare function elementsWithTag(nodes: readonly XmlNode[], tag: string): XmlElement[];
|
|
7
|
+
declare function attrValue(element: XmlElement, name: string): string | undefined;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { rootElement as a, findChildElement as i, childrenWithTag as n, elementsWithTag as r, attrValue as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.js";
|
|
2
|
+
import { ContentSheet, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/ods/read.d.ts
|
|
4
|
+
interface OdsDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
sheets: ContentSheet[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOds(pkg: Package): OdsDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOds as n, OdsDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.cjs";
|
|
2
|
+
import { ContentSection, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/odt/read.d.ts
|
|
4
|
+
interface OdtDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
sections: ContentSection[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOdt(pkg: Package): OdtDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOdt as n, OdtDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.cjs";
|
|
2
|
+
import { ContentSlide, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/odp/read.d.ts
|
|
4
|
+
interface OdpDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
slides: ContentSlide[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOdp(pkg: Package): OdpDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOdp as n, OdpDocument as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { d as XmlNode } from "./node-CkBWRjNR.js";
|
|
2
|
+
import { Package } from "./model/package.js";
|
|
3
|
+
//#region src/typed/odm/read.d.ts
|
|
4
|
+
interface OdmSection {
|
|
5
|
+
name: string;
|
|
6
|
+
href: string;
|
|
7
|
+
filterName?: string;
|
|
8
|
+
inlineContent?: readonly XmlNode[];
|
|
9
|
+
}
|
|
10
|
+
interface OdmDocument {
|
|
11
|
+
sections: readonly OdmSection[];
|
|
12
|
+
}
|
|
13
|
+
declare function readOdm(pkg: Package): OdmDocument;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { OdmSection as n, readOdm as r, OdmDocument as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { d as XmlNode, l as XmlElement } from "./node-CkBWRjNR.js";
|
|
2
|
+
import { Package } from "./model/package.js";
|
|
3
|
+
import { ContentDocument, LayoutMetadata } from "document-schema.js";
|
|
4
|
+
//#region src/typed/formula/read.d.ts
|
|
5
|
+
interface OdfFormulaDocument {
|
|
6
|
+
starMath?: string;
|
|
7
|
+
mathml: XmlNode[];
|
|
8
|
+
metadata: LayoutMetadata;
|
|
9
|
+
}
|
|
10
|
+
declare function findMathRoot(nodes: readonly XmlNode[]): XmlElement | undefined;
|
|
11
|
+
declare function readOdfFormula(pkg: Package): OdfFormulaDocument;
|
|
12
|
+
declare function readOdfFormulaDocument(pkg: Package): ContentDocument;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { readOdfFormulaDocument as i, findMathRoot as n, readOdfFormula as r, OdfFormulaDocument as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Package } from "./model/package.js";
|
|
2
|
+
//#region src/typed/odb/read.d.ts
|
|
3
|
+
interface OdbConnectionInfo {
|
|
4
|
+
type: 'embedded' | 'external';
|
|
5
|
+
driverClass?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
}
|
|
8
|
+
interface OdbQueryInfo {
|
|
9
|
+
name: string;
|
|
10
|
+
command: string;
|
|
11
|
+
escapeProcessing?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface OdbComponentInfo {
|
|
14
|
+
name: string;
|
|
15
|
+
href: string;
|
|
16
|
+
asTemplate?: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface OdbInventory {
|
|
19
|
+
connection: OdbConnectionInfo | undefined;
|
|
20
|
+
tables: string[];
|
|
21
|
+
queries: OdbQueryInfo[];
|
|
22
|
+
forms: OdbComponentInfo[];
|
|
23
|
+
reports: OdbComponentInfo[];
|
|
24
|
+
}
|
|
25
|
+
declare function resolveOdbComponent(pkg: Package, kind: 'form' | 'report', name: string): OdbComponentInfo;
|
|
26
|
+
declare function readOdbInventory(pkg: Package): OdbInventory;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { readOdbInventory as a, OdbQueryInfo as i, OdbConnectionInfo as n, resolveOdbComponent as o, OdbInventory as r, OdbComponentInfo as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.js";
|
|
2
|
+
import { ContentDrawPage, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/odg/read.d.ts
|
|
4
|
+
interface OdgDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
pages: ContentDrawPage[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOdg(pkg: Package): OdgDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOdg as n, OdgDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.js";
|
|
2
|
+
import { ContentSlide, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/odp/read.d.ts
|
|
4
|
+
interface OdpDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
slides: ContentSlide[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOdp(pkg: Package): OdpDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOdp as n, OdpDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.cjs";
|
|
2
|
+
import { ContentSheet, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/ods/read.d.ts
|
|
4
|
+
interface OdsDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
sheets: ContentSheet[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOds(pkg: Package): OdsDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOds as n, OdsDocument as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { d as XmlNode } from "./node-CkBWRjNR.cjs";
|
|
2
|
+
import { Package } from "./model/package.cjs";
|
|
3
|
+
//#region src/typed/odm/read.d.ts
|
|
4
|
+
interface OdmSection {
|
|
5
|
+
name: string;
|
|
6
|
+
href: string;
|
|
7
|
+
filterName?: string;
|
|
8
|
+
inlineContent?: readonly XmlNode[];
|
|
9
|
+
}
|
|
10
|
+
interface OdmDocument {
|
|
11
|
+
sections: readonly OdmSection[];
|
|
12
|
+
}
|
|
13
|
+
declare function readOdm(pkg: Package): OdmDocument;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { OdmSection as n, readOdm as r, OdmDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.cjs";
|
|
2
|
+
import { ContentDrawPage, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/odg/read.d.ts
|
|
4
|
+
interface OdgDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
pages: ContentDrawPage[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOdg(pkg: Package): OdgDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOdg as n, OdgDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Package } from "./model/package.js";
|
|
2
|
+
import { ContentSection, LayoutMetadata } from "document-schema.js";
|
|
3
|
+
//#region src/typed/odt/read.d.ts
|
|
4
|
+
interface OdtDocument {
|
|
5
|
+
metadata: LayoutMetadata;
|
|
6
|
+
sections: ContentSection[];
|
|
7
|
+
}
|
|
8
|
+
declare function readOdt(pkg: Package): OdtDocument;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { readOdt as n, OdtDocument as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Package } from "./model/package.cjs";
|
|
2
|
+
//#region src/typed/odb/read.d.ts
|
|
3
|
+
interface OdbConnectionInfo {
|
|
4
|
+
type: 'embedded' | 'external';
|
|
5
|
+
driverClass?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
}
|
|
8
|
+
interface OdbQueryInfo {
|
|
9
|
+
name: string;
|
|
10
|
+
command: string;
|
|
11
|
+
escapeProcessing?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface OdbComponentInfo {
|
|
14
|
+
name: string;
|
|
15
|
+
href: string;
|
|
16
|
+
asTemplate?: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface OdbInventory {
|
|
19
|
+
connection: OdbConnectionInfo | undefined;
|
|
20
|
+
tables: string[];
|
|
21
|
+
queries: OdbQueryInfo[];
|
|
22
|
+
forms: OdbComponentInfo[];
|
|
23
|
+
reports: OdbComponentInfo[];
|
|
24
|
+
}
|
|
25
|
+
declare function resolveOdbComponent(pkg: Package, kind: 'form' | 'report', name: string): OdbComponentInfo;
|
|
26
|
+
declare function readOdbInventory(pkg: Package): OdbInventory;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { readOdbInventory as a, OdbQueryInfo as i, OdbConnectionInfo as n, resolveOdbComponent as o, OdbInventory as r, OdbComponentInfo as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { d as XmlNode, l as XmlElement } from "./node-CkBWRjNR.cjs";
|
|
2
|
+
import { Package } from "./model/package.cjs";
|
|
3
|
+
import { ContentDocument, LayoutMetadata } from "document-schema.js";
|
|
4
|
+
//#region src/typed/formula/read.d.ts
|
|
5
|
+
interface OdfFormulaDocument {
|
|
6
|
+
starMath?: string;
|
|
7
|
+
mathml: XmlNode[];
|
|
8
|
+
metadata: LayoutMetadata;
|
|
9
|
+
}
|
|
10
|
+
declare function findMathRoot(nodes: readonly XmlNode[]): XmlElement | undefined;
|
|
11
|
+
declare function readOdfFormula(pkg: Package): OdfFormulaDocument;
|
|
12
|
+
declare function readOdfFormulaDocument(pkg: Package): ContentDocument;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { readOdfFormulaDocument as i, findMathRoot as n, readOdfFormula as r, OdfFormulaDocument as t };
|