@embedpdf/engine-runtime 3.0.0-next.4 → 3.0.0-next.6
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/core/pdf-functions.generated.d.ts +90 -0
- package/dist/index.browser.js +2 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.node.cjs +2 -0
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +2 -0
- package/dist/index.node.js.map +1 -1
- package/package.json +10 -10
|
@@ -297,6 +297,8 @@ export interface PdfFunctions {
|
|
|
297
297
|
EPDFPage_RemoveAnnotByObjectNumber: (arg0: Ptr, arg1: number) => boolean;
|
|
298
298
|
EPDFPage_RemoveAnnotRaw: (arg0: Ptr, arg1: number, arg2: number) => boolean;
|
|
299
299
|
EPDFText_GetCharGeometry: (arg0: Ptr, arg1: number, arg2: Ptr) => boolean;
|
|
300
|
+
EPDFText_GetCharToTextMap: (arg0: Ptr, arg1: Ptr, arg2: number) => number;
|
|
301
|
+
EPDFText_GetTextFull: (arg0: Ptr, arg1: Ptr, arg2: number) => number;
|
|
300
302
|
EPDFText_RedactInQuads: (arg0: Ptr, arg1: Ptr, arg2: number, arg3: boolean, arg4: boolean) => boolean;
|
|
301
303
|
EPDFText_RedactInRect: (arg0: Ptr, arg1: Ptr, arg2: boolean, arg3: boolean) => boolean;
|
|
302
304
|
FORM_CanRedo: (arg0: Ptr, arg1: Ptr) => boolean;
|
|
@@ -13806,6 +13808,94 @@ export declare const pdfFunctionSignatures: {
|
|
|
13806
13808
|
};
|
|
13807
13809
|
};
|
|
13808
13810
|
};
|
|
13811
|
+
readonly EPDFText_GetCharToTextMap: {
|
|
13812
|
+
readonly params: readonly [{
|
|
13813
|
+
readonly ts: "Ptr";
|
|
13814
|
+
readonly wasm: {
|
|
13815
|
+
readonly kind: "pointer";
|
|
13816
|
+
readonly cwrap: "number";
|
|
13817
|
+
};
|
|
13818
|
+
readonly native: {
|
|
13819
|
+
readonly kind: "pointer";
|
|
13820
|
+
readonly cwrap: "bigint";
|
|
13821
|
+
};
|
|
13822
|
+
}, {
|
|
13823
|
+
readonly ts: "Ptr";
|
|
13824
|
+
readonly wasm: {
|
|
13825
|
+
readonly kind: "pointer";
|
|
13826
|
+
readonly cwrap: "number";
|
|
13827
|
+
};
|
|
13828
|
+
readonly native: {
|
|
13829
|
+
readonly kind: "pointer";
|
|
13830
|
+
readonly cwrap: "bigint";
|
|
13831
|
+
};
|
|
13832
|
+
}, {
|
|
13833
|
+
readonly ts: "number";
|
|
13834
|
+
readonly wasm: {
|
|
13835
|
+
readonly kind: "i32";
|
|
13836
|
+
readonly cwrap: "number";
|
|
13837
|
+
};
|
|
13838
|
+
readonly native: {
|
|
13839
|
+
readonly kind: "i32";
|
|
13840
|
+
readonly cwrap: "number";
|
|
13841
|
+
};
|
|
13842
|
+
}];
|
|
13843
|
+
readonly result: {
|
|
13844
|
+
readonly ts: "number";
|
|
13845
|
+
readonly wasm: {
|
|
13846
|
+
readonly kind: "i32";
|
|
13847
|
+
readonly cwrap: "number";
|
|
13848
|
+
};
|
|
13849
|
+
readonly native: {
|
|
13850
|
+
readonly kind: "i32";
|
|
13851
|
+
readonly cwrap: "number";
|
|
13852
|
+
};
|
|
13853
|
+
};
|
|
13854
|
+
};
|
|
13855
|
+
readonly EPDFText_GetTextFull: {
|
|
13856
|
+
readonly params: readonly [{
|
|
13857
|
+
readonly ts: "Ptr";
|
|
13858
|
+
readonly wasm: {
|
|
13859
|
+
readonly kind: "pointer";
|
|
13860
|
+
readonly cwrap: "number";
|
|
13861
|
+
};
|
|
13862
|
+
readonly native: {
|
|
13863
|
+
readonly kind: "pointer";
|
|
13864
|
+
readonly cwrap: "bigint";
|
|
13865
|
+
};
|
|
13866
|
+
}, {
|
|
13867
|
+
readonly ts: "Ptr";
|
|
13868
|
+
readonly wasm: {
|
|
13869
|
+
readonly kind: "pointer";
|
|
13870
|
+
readonly cwrap: "number";
|
|
13871
|
+
};
|
|
13872
|
+
readonly native: {
|
|
13873
|
+
readonly kind: "pointer";
|
|
13874
|
+
readonly cwrap: "bigint";
|
|
13875
|
+
};
|
|
13876
|
+
}, {
|
|
13877
|
+
readonly ts: "number";
|
|
13878
|
+
readonly wasm: {
|
|
13879
|
+
readonly kind: "i32";
|
|
13880
|
+
readonly cwrap: "number";
|
|
13881
|
+
};
|
|
13882
|
+
readonly native: {
|
|
13883
|
+
readonly kind: "i32";
|
|
13884
|
+
readonly cwrap: "number";
|
|
13885
|
+
};
|
|
13886
|
+
}];
|
|
13887
|
+
readonly result: {
|
|
13888
|
+
readonly ts: "number";
|
|
13889
|
+
readonly wasm: {
|
|
13890
|
+
readonly kind: "i32";
|
|
13891
|
+
readonly cwrap: "number";
|
|
13892
|
+
};
|
|
13893
|
+
readonly native: {
|
|
13894
|
+
readonly kind: "i32";
|
|
13895
|
+
readonly cwrap: "number";
|
|
13896
|
+
};
|
|
13897
|
+
};
|
|
13898
|
+
};
|
|
13809
13899
|
readonly EPDFText_RedactInQuads: {
|
|
13810
13900
|
readonly params: readonly [{
|
|
13811
13901
|
readonly ts: "Ptr";
|
package/dist/index.browser.js
CHANGED
|
@@ -401,6 +401,8 @@ const pdfFunctionSignatures = {
|
|
|
401
401
|
EPDFPage_RemoveAnnotByObjectNumber: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }], result: { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } } },
|
|
402
402
|
EPDFPage_RemoveAnnotRaw: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }], result: { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } } },
|
|
403
403
|
EPDFText_GetCharGeometry: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }, { "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }], result: { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } } },
|
|
404
|
+
EPDFText_GetCharToTextMap: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }], result: { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } } },
|
|
405
|
+
EPDFText_GetTextFull: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }], result: { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } } },
|
|
404
406
|
EPDFText_RedactInQuads: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "number", "wasm": { "kind": "i32", "cwrap": "number" }, "native": { "kind": "i32", "cwrap": "number" } }, { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } }, { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } }], result: { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } } },
|
|
405
407
|
EPDFText_RedactInRect: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } }, { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } }], result: { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } } },
|
|
406
408
|
FORM_CanRedo: { params: [{ "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }, { "ts": "Ptr", "wasm": { "kind": "pointer", "cwrap": "number" }, "native": { "kind": "pointer", "cwrap": "bigint" } }], result: { "ts": "boolean", "wasm": { "kind": "bool", "cwrap": "boolean" }, "native": { "kind": "bool", "cwrap": "boolean" } } },
|