pdf-oxide-wasm 0.3.68 → 0.3.70
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/bundler/pdf_oxide.d.ts +6 -2
- package/bundler/pdf_oxide_bg.js +73 -69
- package/bundler/pdf_oxide_bg.wasm +0 -0
- package/nodejs/pdf_oxide.d.ts +6 -2
- package/nodejs/pdf_oxide.js +73 -69
- package/nodejs/pdf_oxide_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/pdf_oxide.d.ts +6 -2
- package/web/pdf_oxide.js +73 -69
- package/web/pdf_oxide_bg.wasm +0 -0
package/bundler/pdf_oxide.d.ts
CHANGED
|
@@ -1021,7 +1021,7 @@ export class WasmPdfDocument {
|
|
|
1021
1021
|
* Extract span-level data from a page.
|
|
1022
1022
|
*
|
|
1023
1023
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
1024
|
-
* font_weight, is_italic, color, etc.
|
|
1024
|
+
* font_weight, is_italic, color, sequence, etc.
|
|
1025
1025
|
*
|
|
1026
1026
|
* Optional `reading_order`: `"column_aware"` for XY-Cut column detection,
|
|
1027
1027
|
* or `"top_to_bottom"` (default).
|
|
@@ -1066,7 +1066,11 @@ export class WasmPdfDocument {
|
|
|
1066
1066
|
* Extract word-level data from a page.
|
|
1067
1067
|
*
|
|
1068
1068
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
1069
|
-
* font_weight, is_italic, is_bold.
|
|
1069
|
+
* font_weight, is_italic, is_bold, sequence.
|
|
1070
|
+
*
|
|
1071
|
+
* `sequence` is the content-stream emission order of the originating
|
|
1072
|
+
* span, letting callers tell words drawn consecutively in the content
|
|
1073
|
+
* stream apart from ones that are merely spatially close.
|
|
1070
1074
|
*/
|
|
1071
1075
|
extractWords(page_index: number, region?: Float32Array | null): any;
|
|
1072
1076
|
/**
|
package/bundler/pdf_oxide_bg.js
CHANGED
|
@@ -3796,7 +3796,7 @@ export class WasmPdfDocument {
|
|
|
3796
3796
|
* Extract span-level data from a page.
|
|
3797
3797
|
*
|
|
3798
3798
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
3799
|
-
* font_weight, is_italic, color, etc.
|
|
3799
|
+
* font_weight, is_italic, color, sequence, etc.
|
|
3800
3800
|
*
|
|
3801
3801
|
* Optional `reading_order`: `"column_aware"` for XY-Cut column detection,
|
|
3802
3802
|
* or `"top_to_bottom"` (default).
|
|
@@ -4004,7 +4004,11 @@ export class WasmPdfDocument {
|
|
|
4004
4004
|
* Extract word-level data from a page.
|
|
4005
4005
|
*
|
|
4006
4006
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
4007
|
-
* font_weight, is_italic, is_bold.
|
|
4007
|
+
* font_weight, is_italic, is_bold, sequence.
|
|
4008
|
+
*
|
|
4009
|
+
* `sequence` is the content-stream emission order of the originating
|
|
4010
|
+
* span, letting callers tell words drawn consecutively in the content
|
|
4011
|
+
* stream apart from ones that are merely spatially close.
|
|
4008
4012
|
* @param {number} page_index
|
|
4009
4013
|
* @param {Float32Array | null} [region]
|
|
4010
4014
|
* @returns {any}
|
|
@@ -6587,11 +6591,11 @@ export function splitByBookmarks(src_bytes, title_prefix, ignore_case, level, in
|
|
|
6587
6591
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
6588
6592
|
}
|
|
6589
6593
|
}
|
|
6590
|
-
export function
|
|
6594
|
+
export function __wbg_Error_92b29b0548f8b746(arg0, arg1) {
|
|
6591
6595
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
6592
6596
|
return addHeapObject(ret);
|
|
6593
6597
|
}
|
|
6594
|
-
export function
|
|
6598
|
+
export function __wbg_Number_9a4e0ecb0fa16705(arg0) {
|
|
6595
6599
|
const ret = Number(getObject(arg0));
|
|
6596
6600
|
return ret;
|
|
6597
6601
|
}
|
|
@@ -6602,68 +6606,68 @@ export function __wbg_String_8564e559799eccda(arg0, arg1) {
|
|
|
6602
6606
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6603
6607
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6604
6608
|
}
|
|
6605
|
-
export function
|
|
6609
|
+
export function __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f(arg0, arg1) {
|
|
6606
6610
|
const v = getObject(arg1);
|
|
6607
6611
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
6608
6612
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
6609
6613
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6610
6614
|
}
|
|
6611
|
-
export function
|
|
6615
|
+
export function __wbg___wbindgen_boolean_get_fa956cfa2d1bd751(arg0) {
|
|
6612
6616
|
const v = getObject(arg0);
|
|
6613
6617
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
6614
6618
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
6615
6619
|
}
|
|
6616
|
-
export function
|
|
6620
|
+
export function __wbg___wbindgen_debug_string_c25d447a39f5578f(arg0, arg1) {
|
|
6617
6621
|
const ret = debugString(getObject(arg1));
|
|
6618
6622
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
6619
6623
|
const len1 = WASM_VECTOR_LEN;
|
|
6620
6624
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6621
6625
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6622
6626
|
}
|
|
6623
|
-
export function
|
|
6627
|
+
export function __wbg___wbindgen_in_aca499c5de7ff5e5(arg0, arg1) {
|
|
6624
6628
|
const ret = getObject(arg0) in getObject(arg1);
|
|
6625
6629
|
return ret;
|
|
6626
6630
|
}
|
|
6627
|
-
export function
|
|
6631
|
+
export function __wbg___wbindgen_is_bigint_2f76dc55065b4273(arg0) {
|
|
6628
6632
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
6629
6633
|
return ret;
|
|
6630
6634
|
}
|
|
6631
|
-
export function
|
|
6635
|
+
export function __wbg___wbindgen_is_function_1ff95bcc5517c252(arg0) {
|
|
6632
6636
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
6633
6637
|
return ret;
|
|
6634
6638
|
}
|
|
6635
|
-
export function
|
|
6639
|
+
export function __wbg___wbindgen_is_null_ea9085d691f535d3(arg0) {
|
|
6636
6640
|
const ret = getObject(arg0) === null;
|
|
6637
6641
|
return ret;
|
|
6638
6642
|
}
|
|
6639
|
-
export function
|
|
6643
|
+
export function __wbg___wbindgen_is_object_a27215656b807791(arg0) {
|
|
6640
6644
|
const val = getObject(arg0);
|
|
6641
6645
|
const ret = typeof(val) === 'object' && val !== null;
|
|
6642
6646
|
return ret;
|
|
6643
6647
|
}
|
|
6644
|
-
export function
|
|
6648
|
+
export function __wbg___wbindgen_is_string_ea5e6cc2e4141dfe(arg0) {
|
|
6645
6649
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
6646
6650
|
return ret;
|
|
6647
6651
|
}
|
|
6648
|
-
export function
|
|
6652
|
+
export function __wbg___wbindgen_is_undefined_c05833b95a3cf397(arg0) {
|
|
6649
6653
|
const ret = getObject(arg0) === undefined;
|
|
6650
6654
|
return ret;
|
|
6651
6655
|
}
|
|
6652
|
-
export function
|
|
6656
|
+
export function __wbg___wbindgen_jsval_eq_e659fcf7b0e32763(arg0, arg1) {
|
|
6653
6657
|
const ret = getObject(arg0) === getObject(arg1);
|
|
6654
6658
|
return ret;
|
|
6655
6659
|
}
|
|
6656
|
-
export function
|
|
6660
|
+
export function __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170(arg0, arg1) {
|
|
6657
6661
|
const ret = getObject(arg0) == getObject(arg1);
|
|
6658
6662
|
return ret;
|
|
6659
6663
|
}
|
|
6660
|
-
export function
|
|
6664
|
+
export function __wbg___wbindgen_number_get_394265ed1e1b84ee(arg0, arg1) {
|
|
6661
6665
|
const obj = getObject(arg1);
|
|
6662
6666
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
6663
6667
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
6664
6668
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6665
6669
|
}
|
|
6666
|
-
export function
|
|
6670
|
+
export function __wbg___wbindgen_string_get_b0ca35b86a603356(arg0, arg1) {
|
|
6667
6671
|
const obj = getObject(arg1);
|
|
6668
6672
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
6669
6673
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -6671,21 +6675,21 @@ export function __wbg___wbindgen_string_get_71bb4348194e31f0(arg0, arg1) {
|
|
|
6671
6675
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6672
6676
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6673
6677
|
}
|
|
6674
|
-
export function
|
|
6678
|
+
export function __wbg___wbindgen_throw_344f42d3211c4765(arg0, arg1) {
|
|
6675
6679
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
6676
6680
|
}
|
|
6677
|
-
export function
|
|
6681
|
+
export function __wbg_call_8a2dd23819f8a60a() { return handleError(function (arg0, arg1) {
|
|
6678
6682
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
6679
6683
|
return addHeapObject(ret);
|
|
6680
6684
|
}, arguments); }
|
|
6681
|
-
export function
|
|
6685
|
+
export function __wbg_debug_cf53e2612c84e4ee(arg0, arg1, arg2, arg3) {
|
|
6682
6686
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6683
6687
|
}
|
|
6684
|
-
export function
|
|
6688
|
+
export function __wbg_done_89b2b13e91a60321(arg0) {
|
|
6685
6689
|
const ret = getObject(arg0).done;
|
|
6686
6690
|
return ret;
|
|
6687
6691
|
}
|
|
6688
|
-
export function
|
|
6692
|
+
export function __wbg_error_657700d53a73881f(arg0, arg1, arg2, arg3) {
|
|
6689
6693
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6690
6694
|
}
|
|
6691
6695
|
export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
|
|
@@ -6699,37 +6703,37 @@ export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
|
|
|
6699
6703
|
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
6700
6704
|
}
|
|
6701
6705
|
}
|
|
6702
|
-
export function
|
|
6706
|
+
export function __wbg_fromCodePoint_a952b701bbb83fa4() { return handleError(function (arg0) {
|
|
6703
6707
|
const ret = String.fromCodePoint(arg0 >>> 0);
|
|
6704
6708
|
return addHeapObject(ret);
|
|
6705
6709
|
}, arguments); }
|
|
6706
|
-
export function
|
|
6710
|
+
export function __wbg_from_13e323c65fc8f464(arg0) {
|
|
6707
6711
|
const ret = Array.from(getObject(arg0));
|
|
6708
6712
|
return addHeapObject(ret);
|
|
6709
6713
|
}
|
|
6710
|
-
export function
|
|
6714
|
+
export function __wbg_getRandomValues_bf16787eede473f5() { return handleError(function (arg0, arg1) {
|
|
6711
6715
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6712
6716
|
}, arguments); }
|
|
6713
6717
|
export function __wbg_getRandomValues_cc7f052a444bb2ce() { return handleError(function (arg0, arg1) {
|
|
6714
6718
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6715
6719
|
}, arguments); }
|
|
6716
|
-
export function
|
|
6720
|
+
export function __wbg_getTime_d6f070c088c9b5ed(arg0) {
|
|
6717
6721
|
const ret = getObject(arg0).getTime();
|
|
6718
6722
|
return ret;
|
|
6719
6723
|
}
|
|
6720
|
-
export function
|
|
6724
|
+
export function __wbg_getTimezoneOffset_dc9862c79e5a81a3(arg0) {
|
|
6721
6725
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
6722
6726
|
return ret;
|
|
6723
6727
|
}
|
|
6724
|
-
export function
|
|
6728
|
+
export function __wbg_get_507a50627bffa49b(arg0, arg1) {
|
|
6725
6729
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6726
6730
|
return addHeapObject(ret);
|
|
6727
6731
|
}
|
|
6728
|
-
export function
|
|
6732
|
+
export function __wbg_get_c7eb1f358a7654df() { return handleError(function (arg0, arg1) {
|
|
6729
6733
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
6730
6734
|
return addHeapObject(ret);
|
|
6731
6735
|
}, arguments); }
|
|
6732
|
-
export function
|
|
6736
|
+
export function __wbg_get_unchecked_6e0ad6d2a41b06f6(arg0, arg1) {
|
|
6733
6737
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6734
6738
|
return addHeapObject(ret);
|
|
6735
6739
|
}
|
|
@@ -6737,10 +6741,10 @@ export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
|
|
|
6737
6741
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
6738
6742
|
return addHeapObject(ret);
|
|
6739
6743
|
}
|
|
6740
|
-
export function
|
|
6744
|
+
export function __wbg_info_79f5309d69d9c70e(arg0, arg1, arg2, arg3) {
|
|
6741
6745
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6742
6746
|
}
|
|
6743
|
-
export function
|
|
6747
|
+
export function __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb(arg0) {
|
|
6744
6748
|
let result;
|
|
6745
6749
|
try {
|
|
6746
6750
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -6750,7 +6754,7 @@ export function __wbg_instanceof_ArrayBuffer_2a7bb09fee70c2da(arg0) {
|
|
|
6750
6754
|
const ret = result;
|
|
6751
6755
|
return ret;
|
|
6752
6756
|
}
|
|
6753
|
-
export function
|
|
6757
|
+
export function __wbg_instanceof_Uint8Array_309b927aaf7a3fc7(arg0) {
|
|
6754
6758
|
let result;
|
|
6755
6759
|
try {
|
|
6756
6760
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -6760,30 +6764,30 @@ export function __wbg_instanceof_Uint8Array_f080092dc70f5d58(arg0) {
|
|
|
6760
6764
|
const ret = result;
|
|
6761
6765
|
return ret;
|
|
6762
6766
|
}
|
|
6763
|
-
export function
|
|
6767
|
+
export function __wbg_isArray_0677c962b281d01a(arg0) {
|
|
6764
6768
|
const ret = Array.isArray(getObject(arg0));
|
|
6765
6769
|
return ret;
|
|
6766
6770
|
}
|
|
6767
|
-
export function
|
|
6771
|
+
export function __wbg_isSafeInteger_04f36e4056f1b851(arg0) {
|
|
6768
6772
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
6769
6773
|
return ret;
|
|
6770
6774
|
}
|
|
6771
|
-
export function
|
|
6775
|
+
export function __wbg_iterator_6f722e4a93058b71() {
|
|
6772
6776
|
const ret = Symbol.iterator;
|
|
6773
6777
|
return addHeapObject(ret);
|
|
6774
6778
|
}
|
|
6775
|
-
export function
|
|
6779
|
+
export function __wbg_length_1f0964f4a5e2c6d8(arg0) {
|
|
6776
6780
|
const ret = getObject(arg0).length;
|
|
6777
6781
|
return ret;
|
|
6778
6782
|
}
|
|
6779
|
-
export function
|
|
6783
|
+
export function __wbg_length_370319915dc99107(arg0) {
|
|
6780
6784
|
const ret = getObject(arg0).length;
|
|
6781
6785
|
return ret;
|
|
6782
6786
|
}
|
|
6783
|
-
export function
|
|
6787
|
+
export function __wbg_log_a45418e25b210a4c(arg0, arg1, arg2, arg3) {
|
|
6784
6788
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6785
6789
|
}
|
|
6786
|
-
export function
|
|
6790
|
+
export function __wbg_new_0_3da9e97f24fc69be() {
|
|
6787
6791
|
const ret = new Date();
|
|
6788
6792
|
return addHeapObject(ret);
|
|
6789
6793
|
}
|
|
@@ -6791,57 +6795,57 @@ export function __wbg_new_227d7c05414eb861() {
|
|
|
6791
6795
|
const ret = new Error();
|
|
6792
6796
|
return addHeapObject(ret);
|
|
6793
6797
|
}
|
|
6794
|
-
export function
|
|
6795
|
-
const ret = new
|
|
6798
|
+
export function __wbg_new_32b398fb48b6d94a() {
|
|
6799
|
+
const ret = new Array();
|
|
6796
6800
|
return addHeapObject(ret);
|
|
6797
6801
|
}
|
|
6798
|
-
export function
|
|
6802
|
+
export function __wbg_new_7796ffc7ed656783() {
|
|
6799
6803
|
const ret = new Map();
|
|
6800
6804
|
return addHeapObject(ret);
|
|
6801
6805
|
}
|
|
6802
|
-
export function
|
|
6803
|
-
const ret = new Array();
|
|
6804
|
-
return addHeapObject(ret);
|
|
6805
|
-
}
|
|
6806
|
-
export function __wbg_new_47ab770c8bd3b6bb(arg0) {
|
|
6806
|
+
export function __wbg_new_cc984128914cfc6f(arg0) {
|
|
6807
6807
|
const ret = new Date(getObject(arg0));
|
|
6808
6808
|
return addHeapObject(ret);
|
|
6809
6809
|
}
|
|
6810
|
-
export function
|
|
6810
|
+
export function __wbg_new_cd45aabdf6073e84(arg0) {
|
|
6811
6811
|
const ret = new Uint8Array(getObject(arg0));
|
|
6812
6812
|
return addHeapObject(ret);
|
|
6813
6813
|
}
|
|
6814
|
-
export function
|
|
6815
|
-
const ret = new
|
|
6814
|
+
export function __wbg_new_da52cf8fe3429cb2() {
|
|
6815
|
+
const ret = new Object();
|
|
6816
6816
|
return addHeapObject(ret);
|
|
6817
6817
|
}
|
|
6818
|
-
export function
|
|
6819
|
-
const ret =
|
|
6818
|
+
export function __wbg_new_from_slice_77cdfb7977362f3c(arg0, arg1) {
|
|
6819
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
6820
6820
|
return addHeapObject(ret);
|
|
6821
|
-
}
|
|
6822
|
-
export function
|
|
6821
|
+
}
|
|
6822
|
+
export function __wbg_next_6dbf2c0ac8cde20f(arg0) {
|
|
6823
6823
|
const ret = getObject(arg0).next;
|
|
6824
6824
|
return addHeapObject(ret);
|
|
6825
6825
|
}
|
|
6826
|
-
export function
|
|
6826
|
+
export function __wbg_next_71f2aa1cb3d1e37e() { return handleError(function (arg0) {
|
|
6827
|
+
const ret = getObject(arg0).next();
|
|
6828
|
+
return addHeapObject(ret);
|
|
6829
|
+
}, arguments); }
|
|
6830
|
+
export function __wbg_prototypesetcall_4770620bbe4688a0(arg0, arg1, arg2) {
|
|
6827
6831
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
6828
6832
|
}
|
|
6829
|
-
export function
|
|
6833
|
+
export function __wbg_push_d2ae3af0c1217ae6(arg0, arg1) {
|
|
6830
6834
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
6831
6835
|
return ret;
|
|
6832
6836
|
}
|
|
6833
|
-
export function
|
|
6834
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6835
|
-
return ret;
|
|
6836
|
-
}, arguments); }
|
|
6837
|
-
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
6838
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6839
|
-
}
|
|
6840
|
-
export function __wbg_set_9a1d61e17de7054c(arg0, arg1, arg2) {
|
|
6837
|
+
export function __wbg_set_575dd786d51585f8(arg0, arg1, arg2) {
|
|
6841
6838
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
6842
6839
|
return addHeapObject(ret);
|
|
6843
6840
|
}
|
|
6844
|
-
export function
|
|
6841
|
+
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
6842
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6843
|
+
}
|
|
6844
|
+
export function __wbg_set_8535240470bf2500() { return handleError(function (arg0, arg1, arg2) {
|
|
6845
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6846
|
+
return ret;
|
|
6847
|
+
}, arguments); }
|
|
6848
|
+
export function __wbg_set_8a16b38e4805b298(arg0, arg1, arg2) {
|
|
6845
6849
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
6846
6850
|
}
|
|
6847
6851
|
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
@@ -6851,11 +6855,11 @@ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
|
6851
6855
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6852
6856
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6853
6857
|
}
|
|
6854
|
-
export function
|
|
6858
|
+
export function __wbg_value_a5d5488a9589444a(arg0) {
|
|
6855
6859
|
const ret = getObject(arg0).value;
|
|
6856
6860
|
return addHeapObject(ret);
|
|
6857
6861
|
}
|
|
6858
|
-
export function
|
|
6862
|
+
export function __wbg_warn_77c4eb4a21e10a21(arg0, arg1, arg2, arg3) {
|
|
6859
6863
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6860
6864
|
}
|
|
6861
6865
|
export function __wbg_wasmsignature_new(arg0) {
|
|
Binary file
|
package/nodejs/pdf_oxide.d.ts
CHANGED
|
@@ -1021,7 +1021,7 @@ export class WasmPdfDocument {
|
|
|
1021
1021
|
* Extract span-level data from a page.
|
|
1022
1022
|
*
|
|
1023
1023
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
1024
|
-
* font_weight, is_italic, color, etc.
|
|
1024
|
+
* font_weight, is_italic, color, sequence, etc.
|
|
1025
1025
|
*
|
|
1026
1026
|
* Optional `reading_order`: `"column_aware"` for XY-Cut column detection,
|
|
1027
1027
|
* or `"top_to_bottom"` (default).
|
|
@@ -1066,7 +1066,11 @@ export class WasmPdfDocument {
|
|
|
1066
1066
|
* Extract word-level data from a page.
|
|
1067
1067
|
*
|
|
1068
1068
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
1069
|
-
* font_weight, is_italic, is_bold.
|
|
1069
|
+
* font_weight, is_italic, is_bold, sequence.
|
|
1070
|
+
*
|
|
1071
|
+
* `sequence` is the content-stream emission order of the originating
|
|
1072
|
+
* span, letting callers tell words drawn consecutively in the content
|
|
1073
|
+
* stream apart from ones that are merely spatially close.
|
|
1070
1074
|
*/
|
|
1071
1075
|
extractWords(page_index: number, region?: Float32Array | null): any;
|
|
1072
1076
|
/**
|
package/nodejs/pdf_oxide.js
CHANGED
|
@@ -3816,7 +3816,7 @@ class WasmPdfDocument {
|
|
|
3816
3816
|
* Extract span-level data from a page.
|
|
3817
3817
|
*
|
|
3818
3818
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
3819
|
-
* font_weight, is_italic, color, etc.
|
|
3819
|
+
* font_weight, is_italic, color, sequence, etc.
|
|
3820
3820
|
*
|
|
3821
3821
|
* Optional `reading_order`: `"column_aware"` for XY-Cut column detection,
|
|
3822
3822
|
* or `"top_to_bottom"` (default).
|
|
@@ -4024,7 +4024,11 @@ class WasmPdfDocument {
|
|
|
4024
4024
|
* Extract word-level data from a page.
|
|
4025
4025
|
*
|
|
4026
4026
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
4027
|
-
* font_weight, is_italic, is_bold.
|
|
4027
|
+
* font_weight, is_italic, is_bold, sequence.
|
|
4028
|
+
*
|
|
4029
|
+
* `sequence` is the content-stream emission order of the originating
|
|
4030
|
+
* span, letting callers tell words drawn consecutively in the content
|
|
4031
|
+
* stream apart from ones that are merely spatially close.
|
|
4028
4032
|
* @param {number} page_index
|
|
4029
4033
|
* @param {Float32Array | null} [region]
|
|
4030
4034
|
* @returns {any}
|
|
@@ -6629,11 +6633,11 @@ exports.splitByBookmarks = splitByBookmarks;
|
|
|
6629
6633
|
function __wbg_get_imports() {
|
|
6630
6634
|
const import0 = {
|
|
6631
6635
|
__proto__: null,
|
|
6632
|
-
|
|
6636
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
6633
6637
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
6634
6638
|
return addHeapObject(ret);
|
|
6635
6639
|
},
|
|
6636
|
-
|
|
6640
|
+
__wbg_Number_9a4e0ecb0fa16705: function(arg0) {
|
|
6637
6641
|
const ret = Number(getObject(arg0));
|
|
6638
6642
|
return ret;
|
|
6639
6643
|
},
|
|
@@ -6644,68 +6648,68 @@ function __wbg_get_imports() {
|
|
|
6644
6648
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6645
6649
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6646
6650
|
},
|
|
6647
|
-
|
|
6651
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
6648
6652
|
const v = getObject(arg1);
|
|
6649
6653
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
6650
6654
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
6651
6655
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6652
6656
|
},
|
|
6653
|
-
|
|
6657
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
6654
6658
|
const v = getObject(arg0);
|
|
6655
6659
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
6656
6660
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
6657
6661
|
},
|
|
6658
|
-
|
|
6662
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
6659
6663
|
const ret = debugString(getObject(arg1));
|
|
6660
6664
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
6661
6665
|
const len1 = WASM_VECTOR_LEN;
|
|
6662
6666
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6663
6667
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6664
6668
|
},
|
|
6665
|
-
|
|
6669
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
6666
6670
|
const ret = getObject(arg0) in getObject(arg1);
|
|
6667
6671
|
return ret;
|
|
6668
6672
|
},
|
|
6669
|
-
|
|
6673
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
6670
6674
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
6671
6675
|
return ret;
|
|
6672
6676
|
},
|
|
6673
|
-
|
|
6677
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
6674
6678
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
6675
6679
|
return ret;
|
|
6676
6680
|
},
|
|
6677
|
-
|
|
6681
|
+
__wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
|
|
6678
6682
|
const ret = getObject(arg0) === null;
|
|
6679
6683
|
return ret;
|
|
6680
6684
|
},
|
|
6681
|
-
|
|
6685
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
6682
6686
|
const val = getObject(arg0);
|
|
6683
6687
|
const ret = typeof(val) === 'object' && val !== null;
|
|
6684
6688
|
return ret;
|
|
6685
6689
|
},
|
|
6686
|
-
|
|
6690
|
+
__wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
|
|
6687
6691
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
6688
6692
|
return ret;
|
|
6689
6693
|
},
|
|
6690
|
-
|
|
6694
|
+
__wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
|
|
6691
6695
|
const ret = getObject(arg0) === undefined;
|
|
6692
6696
|
return ret;
|
|
6693
6697
|
},
|
|
6694
|
-
|
|
6698
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
6695
6699
|
const ret = getObject(arg0) === getObject(arg1);
|
|
6696
6700
|
return ret;
|
|
6697
6701
|
},
|
|
6698
|
-
|
|
6702
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
6699
6703
|
const ret = getObject(arg0) == getObject(arg1);
|
|
6700
6704
|
return ret;
|
|
6701
6705
|
},
|
|
6702
|
-
|
|
6706
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
6703
6707
|
const obj = getObject(arg1);
|
|
6704
6708
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
6705
6709
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
6706
6710
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6707
6711
|
},
|
|
6708
|
-
|
|
6712
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
6709
6713
|
const obj = getObject(arg1);
|
|
6710
6714
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
6711
6715
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -6713,21 +6717,21 @@ function __wbg_get_imports() {
|
|
|
6713
6717
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6714
6718
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6715
6719
|
},
|
|
6716
|
-
|
|
6720
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
6717
6721
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
6718
6722
|
},
|
|
6719
|
-
|
|
6723
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
6720
6724
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
6721
6725
|
return addHeapObject(ret);
|
|
6722
6726
|
}, arguments); },
|
|
6723
|
-
|
|
6727
|
+
__wbg_debug_cf53e2612c84e4ee: function(arg0, arg1, arg2, arg3) {
|
|
6724
6728
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6725
6729
|
},
|
|
6726
|
-
|
|
6730
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
6727
6731
|
const ret = getObject(arg0).done;
|
|
6728
6732
|
return ret;
|
|
6729
6733
|
},
|
|
6730
|
-
|
|
6734
|
+
__wbg_error_657700d53a73881f: function(arg0, arg1, arg2, arg3) {
|
|
6731
6735
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6732
6736
|
},
|
|
6733
6737
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -6741,37 +6745,37 @@ function __wbg_get_imports() {
|
|
|
6741
6745
|
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
6742
6746
|
}
|
|
6743
6747
|
},
|
|
6744
|
-
|
|
6748
|
+
__wbg_fromCodePoint_a952b701bbb83fa4: function() { return handleError(function (arg0) {
|
|
6745
6749
|
const ret = String.fromCodePoint(arg0 >>> 0);
|
|
6746
6750
|
return addHeapObject(ret);
|
|
6747
6751
|
}, arguments); },
|
|
6748
|
-
|
|
6752
|
+
__wbg_from_13e323c65fc8f464: function(arg0) {
|
|
6749
6753
|
const ret = Array.from(getObject(arg0));
|
|
6750
6754
|
return addHeapObject(ret);
|
|
6751
6755
|
},
|
|
6752
|
-
|
|
6756
|
+
__wbg_getRandomValues_bf16787eede473f5: function() { return handleError(function (arg0, arg1) {
|
|
6753
6757
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6754
6758
|
}, arguments); },
|
|
6755
6759
|
__wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
|
|
6756
6760
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6757
6761
|
}, arguments); },
|
|
6758
|
-
|
|
6762
|
+
__wbg_getTime_d6f070c088c9b5ed: function(arg0) {
|
|
6759
6763
|
const ret = getObject(arg0).getTime();
|
|
6760
6764
|
return ret;
|
|
6761
6765
|
},
|
|
6762
|
-
|
|
6766
|
+
__wbg_getTimezoneOffset_dc9862c79e5a81a3: function(arg0) {
|
|
6763
6767
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
6764
6768
|
return ret;
|
|
6765
6769
|
},
|
|
6766
|
-
|
|
6770
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
6767
6771
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6768
6772
|
return addHeapObject(ret);
|
|
6769
6773
|
},
|
|
6770
|
-
|
|
6774
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
6771
6775
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
6772
6776
|
return addHeapObject(ret);
|
|
6773
6777
|
}, arguments); },
|
|
6774
|
-
|
|
6778
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
6775
6779
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6776
6780
|
return addHeapObject(ret);
|
|
6777
6781
|
},
|
|
@@ -6779,10 +6783,10 @@ function __wbg_get_imports() {
|
|
|
6779
6783
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
6780
6784
|
return addHeapObject(ret);
|
|
6781
6785
|
},
|
|
6782
|
-
|
|
6786
|
+
__wbg_info_79f5309d69d9c70e: function(arg0, arg1, arg2, arg3) {
|
|
6783
6787
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6784
6788
|
},
|
|
6785
|
-
|
|
6789
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
6786
6790
|
let result;
|
|
6787
6791
|
try {
|
|
6788
6792
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -6792,7 +6796,7 @@ function __wbg_get_imports() {
|
|
|
6792
6796
|
const ret = result;
|
|
6793
6797
|
return ret;
|
|
6794
6798
|
},
|
|
6795
|
-
|
|
6799
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
6796
6800
|
let result;
|
|
6797
6801
|
try {
|
|
6798
6802
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -6802,30 +6806,30 @@ function __wbg_get_imports() {
|
|
|
6802
6806
|
const ret = result;
|
|
6803
6807
|
return ret;
|
|
6804
6808
|
},
|
|
6805
|
-
|
|
6809
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
6806
6810
|
const ret = Array.isArray(getObject(arg0));
|
|
6807
6811
|
return ret;
|
|
6808
6812
|
},
|
|
6809
|
-
|
|
6813
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
6810
6814
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
6811
6815
|
return ret;
|
|
6812
6816
|
},
|
|
6813
|
-
|
|
6817
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
6814
6818
|
const ret = Symbol.iterator;
|
|
6815
6819
|
return addHeapObject(ret);
|
|
6816
6820
|
},
|
|
6817
|
-
|
|
6821
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
6818
6822
|
const ret = getObject(arg0).length;
|
|
6819
6823
|
return ret;
|
|
6820
6824
|
},
|
|
6821
|
-
|
|
6825
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
6822
6826
|
const ret = getObject(arg0).length;
|
|
6823
6827
|
return ret;
|
|
6824
6828
|
},
|
|
6825
|
-
|
|
6829
|
+
__wbg_log_a45418e25b210a4c: function(arg0, arg1, arg2, arg3) {
|
|
6826
6830
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6827
6831
|
},
|
|
6828
|
-
|
|
6832
|
+
__wbg_new_0_3da9e97f24fc69be: function() {
|
|
6829
6833
|
const ret = new Date();
|
|
6830
6834
|
return addHeapObject(ret);
|
|
6831
6835
|
},
|
|
@@ -6833,57 +6837,57 @@ function __wbg_get_imports() {
|
|
|
6833
6837
|
const ret = new Error();
|
|
6834
6838
|
return addHeapObject(ret);
|
|
6835
6839
|
},
|
|
6836
|
-
|
|
6837
|
-
const ret = new
|
|
6840
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
6841
|
+
const ret = new Array();
|
|
6838
6842
|
return addHeapObject(ret);
|
|
6839
6843
|
},
|
|
6840
|
-
|
|
6844
|
+
__wbg_new_7796ffc7ed656783: function() {
|
|
6841
6845
|
const ret = new Map();
|
|
6842
6846
|
return addHeapObject(ret);
|
|
6843
6847
|
},
|
|
6844
|
-
|
|
6845
|
-
const ret = new Array();
|
|
6846
|
-
return addHeapObject(ret);
|
|
6847
|
-
},
|
|
6848
|
-
__wbg_new_47ab770c8bd3b6bb: function(arg0) {
|
|
6848
|
+
__wbg_new_cc984128914cfc6f: function(arg0) {
|
|
6849
6849
|
const ret = new Date(getObject(arg0));
|
|
6850
6850
|
return addHeapObject(ret);
|
|
6851
6851
|
},
|
|
6852
|
-
|
|
6852
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
6853
6853
|
const ret = new Uint8Array(getObject(arg0));
|
|
6854
6854
|
return addHeapObject(ret);
|
|
6855
6855
|
},
|
|
6856
|
-
|
|
6857
|
-
const ret = new
|
|
6856
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
6857
|
+
const ret = new Object();
|
|
6858
6858
|
return addHeapObject(ret);
|
|
6859
6859
|
},
|
|
6860
|
-
|
|
6861
|
-
const ret =
|
|
6860
|
+
__wbg_new_from_slice_77cdfb7977362f3c: function(arg0, arg1) {
|
|
6861
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
6862
6862
|
return addHeapObject(ret);
|
|
6863
|
-
},
|
|
6864
|
-
|
|
6863
|
+
},
|
|
6864
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
6865
6865
|
const ret = getObject(arg0).next;
|
|
6866
6866
|
return addHeapObject(ret);
|
|
6867
6867
|
},
|
|
6868
|
-
|
|
6868
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
6869
|
+
const ret = getObject(arg0).next();
|
|
6870
|
+
return addHeapObject(ret);
|
|
6871
|
+
}, arguments); },
|
|
6872
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
6869
6873
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
6870
6874
|
},
|
|
6871
|
-
|
|
6875
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
6872
6876
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
6873
6877
|
return ret;
|
|
6874
6878
|
},
|
|
6875
|
-
|
|
6876
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6877
|
-
return ret;
|
|
6878
|
-
}, arguments); },
|
|
6879
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
6880
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6881
|
-
},
|
|
6882
|
-
__wbg_set_9a1d61e17de7054c: function(arg0, arg1, arg2) {
|
|
6879
|
+
__wbg_set_575dd786d51585f8: function(arg0, arg1, arg2) {
|
|
6883
6880
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
6884
6881
|
return addHeapObject(ret);
|
|
6885
6882
|
},
|
|
6886
|
-
|
|
6883
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
6884
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6885
|
+
},
|
|
6886
|
+
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
6887
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6888
|
+
return ret;
|
|
6889
|
+
}, arguments); },
|
|
6890
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
6887
6891
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
6888
6892
|
},
|
|
6889
6893
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -6893,11 +6897,11 @@ function __wbg_get_imports() {
|
|
|
6893
6897
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6894
6898
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6895
6899
|
},
|
|
6896
|
-
|
|
6900
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
6897
6901
|
const ret = getObject(arg0).value;
|
|
6898
6902
|
return addHeapObject(ret);
|
|
6899
6903
|
},
|
|
6900
|
-
|
|
6904
|
+
__wbg_warn_77c4eb4a21e10a21: function(arg0, arg1, arg2, arg3) {
|
|
6901
6905
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6902
6906
|
},
|
|
6903
6907
|
__wbg_wasmsignature_new: function(arg0) {
|
package/nodejs/pdf_oxide_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdf-oxide-wasm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.70",
|
|
4
4
|
"description": "Fast, zero-dependency PDF toolkit for Node.js, browsers, and edge runtimes — text extraction, markdown/HTML conversion, search, form filling, creation, and editing. Rust core compiled to WebAssembly.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
package/web/pdf_oxide.d.ts
CHANGED
|
@@ -1021,7 +1021,7 @@ export class WasmPdfDocument {
|
|
|
1021
1021
|
* Extract span-level data from a page.
|
|
1022
1022
|
*
|
|
1023
1023
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
1024
|
-
* font_weight, is_italic, color, etc.
|
|
1024
|
+
* font_weight, is_italic, color, sequence, etc.
|
|
1025
1025
|
*
|
|
1026
1026
|
* Optional `reading_order`: `"column_aware"` for XY-Cut column detection,
|
|
1027
1027
|
* or `"top_to_bottom"` (default).
|
|
@@ -1066,7 +1066,11 @@ export class WasmPdfDocument {
|
|
|
1066
1066
|
* Extract word-level data from a page.
|
|
1067
1067
|
*
|
|
1068
1068
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
1069
|
-
* font_weight, is_italic, is_bold.
|
|
1069
|
+
* font_weight, is_italic, is_bold, sequence.
|
|
1070
|
+
*
|
|
1071
|
+
* `sequence` is the content-stream emission order of the originating
|
|
1072
|
+
* span, letting callers tell words drawn consecutively in the content
|
|
1073
|
+
* stream apart from ones that are merely spatially close.
|
|
1070
1074
|
*/
|
|
1071
1075
|
extractWords(page_index: number, region?: Float32Array | null): any;
|
|
1072
1076
|
/**
|
package/web/pdf_oxide.js
CHANGED
|
@@ -3798,7 +3798,7 @@ export class WasmPdfDocument {
|
|
|
3798
3798
|
* Extract span-level data from a page.
|
|
3799
3799
|
*
|
|
3800
3800
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
3801
|
-
* font_weight, is_italic, color, etc.
|
|
3801
|
+
* font_weight, is_italic, color, sequence, etc.
|
|
3802
3802
|
*
|
|
3803
3803
|
* Optional `reading_order`: `"column_aware"` for XY-Cut column detection,
|
|
3804
3804
|
* or `"top_to_bottom"` (default).
|
|
@@ -4006,7 +4006,11 @@ export class WasmPdfDocument {
|
|
|
4006
4006
|
* Extract word-level data from a page.
|
|
4007
4007
|
*
|
|
4008
4008
|
* Returns an array of objects with: text, bbox, font_name, font_size,
|
|
4009
|
-
* font_weight, is_italic, is_bold.
|
|
4009
|
+
* font_weight, is_italic, is_bold, sequence.
|
|
4010
|
+
*
|
|
4011
|
+
* `sequence` is the content-stream emission order of the originating
|
|
4012
|
+
* span, letting callers tell words drawn consecutively in the content
|
|
4013
|
+
* stream apart from ones that are merely spatially close.
|
|
4010
4014
|
* @param {number} page_index
|
|
4011
4015
|
* @param {Float32Array | null} [region]
|
|
4012
4016
|
* @returns {any}
|
|
@@ -6592,11 +6596,11 @@ export function splitByBookmarks(src_bytes, title_prefix, ignore_case, level, in
|
|
|
6592
6596
|
function __wbg_get_imports() {
|
|
6593
6597
|
const import0 = {
|
|
6594
6598
|
__proto__: null,
|
|
6595
|
-
|
|
6599
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
6596
6600
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
6597
6601
|
return addHeapObject(ret);
|
|
6598
6602
|
},
|
|
6599
|
-
|
|
6603
|
+
__wbg_Number_9a4e0ecb0fa16705: function(arg0) {
|
|
6600
6604
|
const ret = Number(getObject(arg0));
|
|
6601
6605
|
return ret;
|
|
6602
6606
|
},
|
|
@@ -6607,68 +6611,68 @@ function __wbg_get_imports() {
|
|
|
6607
6611
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6608
6612
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6609
6613
|
},
|
|
6610
|
-
|
|
6614
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
6611
6615
|
const v = getObject(arg1);
|
|
6612
6616
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
6613
6617
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
6614
6618
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6615
6619
|
},
|
|
6616
|
-
|
|
6620
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
6617
6621
|
const v = getObject(arg0);
|
|
6618
6622
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
6619
6623
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
6620
6624
|
},
|
|
6621
|
-
|
|
6625
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
6622
6626
|
const ret = debugString(getObject(arg1));
|
|
6623
6627
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
6624
6628
|
const len1 = WASM_VECTOR_LEN;
|
|
6625
6629
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6626
6630
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6627
6631
|
},
|
|
6628
|
-
|
|
6632
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
6629
6633
|
const ret = getObject(arg0) in getObject(arg1);
|
|
6630
6634
|
return ret;
|
|
6631
6635
|
},
|
|
6632
|
-
|
|
6636
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
6633
6637
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
6634
6638
|
return ret;
|
|
6635
6639
|
},
|
|
6636
|
-
|
|
6640
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
6637
6641
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
6638
6642
|
return ret;
|
|
6639
6643
|
},
|
|
6640
|
-
|
|
6644
|
+
__wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
|
|
6641
6645
|
const ret = getObject(arg0) === null;
|
|
6642
6646
|
return ret;
|
|
6643
6647
|
},
|
|
6644
|
-
|
|
6648
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
6645
6649
|
const val = getObject(arg0);
|
|
6646
6650
|
const ret = typeof(val) === 'object' && val !== null;
|
|
6647
6651
|
return ret;
|
|
6648
6652
|
},
|
|
6649
|
-
|
|
6653
|
+
__wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
|
|
6650
6654
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
6651
6655
|
return ret;
|
|
6652
6656
|
},
|
|
6653
|
-
|
|
6657
|
+
__wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
|
|
6654
6658
|
const ret = getObject(arg0) === undefined;
|
|
6655
6659
|
return ret;
|
|
6656
6660
|
},
|
|
6657
|
-
|
|
6661
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
6658
6662
|
const ret = getObject(arg0) === getObject(arg1);
|
|
6659
6663
|
return ret;
|
|
6660
6664
|
},
|
|
6661
|
-
|
|
6665
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
6662
6666
|
const ret = getObject(arg0) == getObject(arg1);
|
|
6663
6667
|
return ret;
|
|
6664
6668
|
},
|
|
6665
|
-
|
|
6669
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
6666
6670
|
const obj = getObject(arg1);
|
|
6667
6671
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
6668
6672
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
6669
6673
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6670
6674
|
},
|
|
6671
|
-
|
|
6675
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
6672
6676
|
const obj = getObject(arg1);
|
|
6673
6677
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
6674
6678
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -6676,21 +6680,21 @@ function __wbg_get_imports() {
|
|
|
6676
6680
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6677
6681
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6678
6682
|
},
|
|
6679
|
-
|
|
6683
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
6680
6684
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
6681
6685
|
},
|
|
6682
|
-
|
|
6686
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
6683
6687
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
6684
6688
|
return addHeapObject(ret);
|
|
6685
6689
|
}, arguments); },
|
|
6686
|
-
|
|
6690
|
+
__wbg_debug_cf53e2612c84e4ee: function(arg0, arg1, arg2, arg3) {
|
|
6687
6691
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6688
6692
|
},
|
|
6689
|
-
|
|
6693
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
6690
6694
|
const ret = getObject(arg0).done;
|
|
6691
6695
|
return ret;
|
|
6692
6696
|
},
|
|
6693
|
-
|
|
6697
|
+
__wbg_error_657700d53a73881f: function(arg0, arg1, arg2, arg3) {
|
|
6694
6698
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6695
6699
|
},
|
|
6696
6700
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -6704,37 +6708,37 @@ function __wbg_get_imports() {
|
|
|
6704
6708
|
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
6705
6709
|
}
|
|
6706
6710
|
},
|
|
6707
|
-
|
|
6711
|
+
__wbg_fromCodePoint_a952b701bbb83fa4: function() { return handleError(function (arg0) {
|
|
6708
6712
|
const ret = String.fromCodePoint(arg0 >>> 0);
|
|
6709
6713
|
return addHeapObject(ret);
|
|
6710
6714
|
}, arguments); },
|
|
6711
|
-
|
|
6715
|
+
__wbg_from_13e323c65fc8f464: function(arg0) {
|
|
6712
6716
|
const ret = Array.from(getObject(arg0));
|
|
6713
6717
|
return addHeapObject(ret);
|
|
6714
6718
|
},
|
|
6715
|
-
|
|
6719
|
+
__wbg_getRandomValues_bf16787eede473f5: function() { return handleError(function (arg0, arg1) {
|
|
6716
6720
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6717
6721
|
}, arguments); },
|
|
6718
6722
|
__wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
|
|
6719
6723
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6720
6724
|
}, arguments); },
|
|
6721
|
-
|
|
6725
|
+
__wbg_getTime_d6f070c088c9b5ed: function(arg0) {
|
|
6722
6726
|
const ret = getObject(arg0).getTime();
|
|
6723
6727
|
return ret;
|
|
6724
6728
|
},
|
|
6725
|
-
|
|
6729
|
+
__wbg_getTimezoneOffset_dc9862c79e5a81a3: function(arg0) {
|
|
6726
6730
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
6727
6731
|
return ret;
|
|
6728
6732
|
},
|
|
6729
|
-
|
|
6733
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
6730
6734
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6731
6735
|
return addHeapObject(ret);
|
|
6732
6736
|
},
|
|
6733
|
-
|
|
6737
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
6734
6738
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
6735
6739
|
return addHeapObject(ret);
|
|
6736
6740
|
}, arguments); },
|
|
6737
|
-
|
|
6741
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
6738
6742
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6739
6743
|
return addHeapObject(ret);
|
|
6740
6744
|
},
|
|
@@ -6742,10 +6746,10 @@ function __wbg_get_imports() {
|
|
|
6742
6746
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
6743
6747
|
return addHeapObject(ret);
|
|
6744
6748
|
},
|
|
6745
|
-
|
|
6749
|
+
__wbg_info_79f5309d69d9c70e: function(arg0, arg1, arg2, arg3) {
|
|
6746
6750
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6747
6751
|
},
|
|
6748
|
-
|
|
6752
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
6749
6753
|
let result;
|
|
6750
6754
|
try {
|
|
6751
6755
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -6755,7 +6759,7 @@ function __wbg_get_imports() {
|
|
|
6755
6759
|
const ret = result;
|
|
6756
6760
|
return ret;
|
|
6757
6761
|
},
|
|
6758
|
-
|
|
6762
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
6759
6763
|
let result;
|
|
6760
6764
|
try {
|
|
6761
6765
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -6765,30 +6769,30 @@ function __wbg_get_imports() {
|
|
|
6765
6769
|
const ret = result;
|
|
6766
6770
|
return ret;
|
|
6767
6771
|
},
|
|
6768
|
-
|
|
6772
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
6769
6773
|
const ret = Array.isArray(getObject(arg0));
|
|
6770
6774
|
return ret;
|
|
6771
6775
|
},
|
|
6772
|
-
|
|
6776
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
6773
6777
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
6774
6778
|
return ret;
|
|
6775
6779
|
},
|
|
6776
|
-
|
|
6780
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
6777
6781
|
const ret = Symbol.iterator;
|
|
6778
6782
|
return addHeapObject(ret);
|
|
6779
6783
|
},
|
|
6780
|
-
|
|
6784
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
6781
6785
|
const ret = getObject(arg0).length;
|
|
6782
6786
|
return ret;
|
|
6783
6787
|
},
|
|
6784
|
-
|
|
6788
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
6785
6789
|
const ret = getObject(arg0).length;
|
|
6786
6790
|
return ret;
|
|
6787
6791
|
},
|
|
6788
|
-
|
|
6792
|
+
__wbg_log_a45418e25b210a4c: function(arg0, arg1, arg2, arg3) {
|
|
6789
6793
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6790
6794
|
},
|
|
6791
|
-
|
|
6795
|
+
__wbg_new_0_3da9e97f24fc69be: function() {
|
|
6792
6796
|
const ret = new Date();
|
|
6793
6797
|
return addHeapObject(ret);
|
|
6794
6798
|
},
|
|
@@ -6796,57 +6800,57 @@ function __wbg_get_imports() {
|
|
|
6796
6800
|
const ret = new Error();
|
|
6797
6801
|
return addHeapObject(ret);
|
|
6798
6802
|
},
|
|
6799
|
-
|
|
6800
|
-
const ret = new
|
|
6803
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
6804
|
+
const ret = new Array();
|
|
6801
6805
|
return addHeapObject(ret);
|
|
6802
6806
|
},
|
|
6803
|
-
|
|
6807
|
+
__wbg_new_7796ffc7ed656783: function() {
|
|
6804
6808
|
const ret = new Map();
|
|
6805
6809
|
return addHeapObject(ret);
|
|
6806
6810
|
},
|
|
6807
|
-
|
|
6808
|
-
const ret = new Array();
|
|
6809
|
-
return addHeapObject(ret);
|
|
6810
|
-
},
|
|
6811
|
-
__wbg_new_47ab770c8bd3b6bb: function(arg0) {
|
|
6811
|
+
__wbg_new_cc984128914cfc6f: function(arg0) {
|
|
6812
6812
|
const ret = new Date(getObject(arg0));
|
|
6813
6813
|
return addHeapObject(ret);
|
|
6814
6814
|
},
|
|
6815
|
-
|
|
6815
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
6816
6816
|
const ret = new Uint8Array(getObject(arg0));
|
|
6817
6817
|
return addHeapObject(ret);
|
|
6818
6818
|
},
|
|
6819
|
-
|
|
6820
|
-
const ret = new
|
|
6819
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
6820
|
+
const ret = new Object();
|
|
6821
6821
|
return addHeapObject(ret);
|
|
6822
6822
|
},
|
|
6823
|
-
|
|
6824
|
-
const ret =
|
|
6823
|
+
__wbg_new_from_slice_77cdfb7977362f3c: function(arg0, arg1) {
|
|
6824
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
6825
6825
|
return addHeapObject(ret);
|
|
6826
|
-
},
|
|
6827
|
-
|
|
6826
|
+
},
|
|
6827
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
6828
6828
|
const ret = getObject(arg0).next;
|
|
6829
6829
|
return addHeapObject(ret);
|
|
6830
6830
|
},
|
|
6831
|
-
|
|
6831
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
6832
|
+
const ret = getObject(arg0).next();
|
|
6833
|
+
return addHeapObject(ret);
|
|
6834
|
+
}, arguments); },
|
|
6835
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
6832
6836
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
6833
6837
|
},
|
|
6834
|
-
|
|
6838
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
6835
6839
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
6836
6840
|
return ret;
|
|
6837
6841
|
},
|
|
6838
|
-
|
|
6839
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6840
|
-
return ret;
|
|
6841
|
-
}, arguments); },
|
|
6842
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
6843
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6844
|
-
},
|
|
6845
|
-
__wbg_set_9a1d61e17de7054c: function(arg0, arg1, arg2) {
|
|
6842
|
+
__wbg_set_575dd786d51585f8: function(arg0, arg1, arg2) {
|
|
6846
6843
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
6847
6844
|
return addHeapObject(ret);
|
|
6848
6845
|
},
|
|
6849
|
-
|
|
6846
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
6847
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6848
|
+
},
|
|
6849
|
+
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
6850
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6851
|
+
return ret;
|
|
6852
|
+
}, arguments); },
|
|
6853
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
6850
6854
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
6851
6855
|
},
|
|
6852
6856
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -6856,11 +6860,11 @@ function __wbg_get_imports() {
|
|
|
6856
6860
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6857
6861
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6858
6862
|
},
|
|
6859
|
-
|
|
6863
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
6860
6864
|
const ret = getObject(arg0).value;
|
|
6861
6865
|
return addHeapObject(ret);
|
|
6862
6866
|
},
|
|
6863
|
-
|
|
6867
|
+
__wbg_warn_77c4eb4a21e10a21: function(arg0, arg1, arg2, arg3) {
|
|
6864
6868
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6865
6869
|
},
|
|
6866
6870
|
__wbg_wasmsignature_new: function(arg0) {
|
package/web/pdf_oxide_bg.wasm
CHANGED
|
Binary file
|