@rhwp/core 0.6.1 → 0.7.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/package.json +1 -1
- package/rhwp.d.ts +9 -0
- package/rhwp.js +81 -67
- package/rhwp_bg.wasm +0 -0
- package/rhwp_bg.wasm.d.ts +1 -0
package/package.json
CHANGED
package/rhwp.d.ts
CHANGED
|
@@ -1207,6 +1207,14 @@ export class HwpViewer {
|
|
|
1207
1207
|
visiblePages(): Uint32Array;
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
|
+
/**
|
|
1211
|
+
* HWP 파일에서 썸네일 이미지만 경량 추출 (전체 파싱 없이)
|
|
1212
|
+
*
|
|
1213
|
+
* 반환: JSON `{ "format": "png"|"gif", "base64": "...", "width": N, "height": N }`
|
|
1214
|
+
* PrvImage가 없으면 `null` 반환
|
|
1215
|
+
*/
|
|
1216
|
+
export function extractThumbnail(data: Uint8Array): any;
|
|
1217
|
+
|
|
1210
1218
|
/**
|
|
1211
1219
|
* WASM panic hook 초기화 (한 번만 실행)
|
|
1212
1220
|
*/
|
|
@@ -1222,6 +1230,7 @@ export interface InitOutput {
|
|
|
1222
1230
|
readonly init_panic_hook: () => void;
|
|
1223
1231
|
readonly __wbg_hwpdocument_free: (a: number, b: number) => void;
|
|
1224
1232
|
readonly __wbg_hwpviewer_free: (a: number, b: number) => void;
|
|
1233
|
+
readonly extractThumbnail: (a: number, b: number) => any;
|
|
1225
1234
|
readonly hwpdocument_addBookmark: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
1226
1235
|
readonly hwpdocument_applyCellStyle: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
|
|
1227
1236
|
readonly hwpdocument_applyCharFormat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
|
package/rhwp.js
CHANGED
|
@@ -5561,6 +5561,21 @@ export class HwpViewer {
|
|
|
5561
5561
|
}
|
|
5562
5562
|
if (Symbol.dispose) HwpViewer.prototype[Symbol.dispose] = HwpViewer.prototype.free;
|
|
5563
5563
|
|
|
5564
|
+
/**
|
|
5565
|
+
* HWP 파일에서 썸네일 이미지만 경량 추출 (전체 파싱 없이)
|
|
5566
|
+
*
|
|
5567
|
+
* 반환: JSON `{ "format": "png"|"gif", "base64": "...", "width": N, "height": N }`
|
|
5568
|
+
* PrvImage가 없으면 `null` 반환
|
|
5569
|
+
* @param {Uint8Array} data
|
|
5570
|
+
* @returns {any}
|
|
5571
|
+
*/
|
|
5572
|
+
export function extractThumbnail(data) {
|
|
5573
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
5574
|
+
const len0 = WASM_VECTOR_LEN;
|
|
5575
|
+
const ret = wasm.extractThumbnail(ptr0, len0);
|
|
5576
|
+
return ret;
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5564
5579
|
/**
|
|
5565
5580
|
* WASM panic hook 초기화 (한 번만 실행)
|
|
5566
5581
|
*/
|
|
@@ -5583,69 +5598,68 @@ export function version() {
|
|
|
5583
5598
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
5584
5599
|
}
|
|
5585
5600
|
}
|
|
5586
|
-
|
|
5587
5601
|
function __wbg_get_imports() {
|
|
5588
5602
|
const import0 = {
|
|
5589
5603
|
__proto__: null,
|
|
5590
|
-
|
|
5604
|
+
__wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
|
|
5591
5605
|
const ret = arg0 === undefined;
|
|
5592
5606
|
return ret;
|
|
5593
5607
|
},
|
|
5594
|
-
|
|
5608
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
5595
5609
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5596
5610
|
},
|
|
5597
|
-
|
|
5611
|
+
__wbg_addColorStop_e4af4b30913e9aa4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5598
5612
|
arg0.addColorStop(arg1, getStringFromWasm0(arg2, arg3));
|
|
5599
5613
|
}, arguments); },
|
|
5600
|
-
|
|
5614
|
+
__wbg_arcTo_941456c2ac39464e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5601
5615
|
arg0.arcTo(arg1, arg2, arg3, arg4, arg5);
|
|
5602
5616
|
}, arguments); },
|
|
5603
|
-
|
|
5617
|
+
__wbg_arc_817de096f286078c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5604
5618
|
arg0.arc(arg1, arg2, arg3, arg4, arg5);
|
|
5605
5619
|
}, arguments); },
|
|
5606
|
-
|
|
5620
|
+
__wbg_beginPath_6d95cc267dd3e88f: function(arg0) {
|
|
5607
5621
|
arg0.beginPath();
|
|
5608
5622
|
},
|
|
5609
|
-
|
|
5623
|
+
__wbg_bezierCurveTo_ee45420e339643c8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5610
5624
|
arg0.bezierCurveTo(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
5611
5625
|
},
|
|
5612
|
-
|
|
5626
|
+
__wbg_clip_650afbf402c47658: function(arg0) {
|
|
5613
5627
|
arg0.clip();
|
|
5614
5628
|
},
|
|
5615
|
-
|
|
5629
|
+
__wbg_closePath_d9cf40637e9c89c2: function(arg0) {
|
|
5616
5630
|
arg0.closePath();
|
|
5617
5631
|
},
|
|
5618
|
-
|
|
5632
|
+
__wbg_complete_7d890334bda9075e: function(arg0) {
|
|
5619
5633
|
const ret = arg0.complete;
|
|
5620
5634
|
return ret;
|
|
5621
5635
|
},
|
|
5622
|
-
|
|
5636
|
+
__wbg_createElement_bbd4c90086fe6f7b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
5623
5637
|
const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
|
|
5624
5638
|
return ret;
|
|
5625
5639
|
}, arguments); },
|
|
5626
|
-
|
|
5640
|
+
__wbg_createLinearGradient_1ecf06dc64e02f68: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5627
5641
|
const ret = arg0.createLinearGradient(arg1, arg2, arg3, arg4);
|
|
5628
5642
|
return ret;
|
|
5629
5643
|
},
|
|
5630
|
-
|
|
5644
|
+
__wbg_createPattern_665dd581add98e15: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5631
5645
|
const ret = arg0.createPattern(arg1, getStringFromWasm0(arg2, arg3));
|
|
5632
5646
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5633
5647
|
}, arguments); },
|
|
5634
|
-
|
|
5648
|
+
__wbg_createRadialGradient_9c24ef9b8a6ce72f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5635
5649
|
const ret = arg0.createRadialGradient(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
5636
5650
|
return ret;
|
|
5637
5651
|
}, arguments); },
|
|
5638
|
-
|
|
5652
|
+
__wbg_document_7a41071f2f439323: function(arg0) {
|
|
5639
5653
|
const ret = arg0.document;
|
|
5640
5654
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5641
5655
|
},
|
|
5642
|
-
|
|
5656
|
+
__wbg_drawImage_556ab1ffc4c5c68d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
5643
5657
|
arg0.drawImage(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
|
5644
5658
|
}, arguments); },
|
|
5645
|
-
|
|
5659
|
+
__wbg_drawImage_96e533f015039596: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
5646
5660
|
arg0.drawImage(arg1, arg2, arg3, arg4, arg5);
|
|
5647
5661
|
}, arguments); },
|
|
5648
|
-
|
|
5662
|
+
__wbg_ellipse_0303410b3d05bb97: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
5649
5663
|
arg0.ellipse(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
|
|
5650
5664
|
}, arguments); },
|
|
5651
5665
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -5659,24 +5673,24 @@ function __wbg_get_imports() {
|
|
|
5659
5673
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5660
5674
|
}
|
|
5661
5675
|
},
|
|
5662
|
-
|
|
5676
|
+
__wbg_fillRect_992c5a4646ea7a7f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5663
5677
|
arg0.fillRect(arg1, arg2, arg3, arg4);
|
|
5664
5678
|
},
|
|
5665
|
-
|
|
5679
|
+
__wbg_fillText_dabb33ea287042e2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
5666
5680
|
arg0.fillText(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
5667
5681
|
}, arguments); },
|
|
5668
|
-
|
|
5682
|
+
__wbg_fill_ec5da5f3916cf924: function(arg0) {
|
|
5669
5683
|
arg0.fill();
|
|
5670
5684
|
},
|
|
5671
|
-
|
|
5685
|
+
__wbg_getContext_fc146f8ec021d074: function() { return handleError(function (arg0, arg1, arg2) {
|
|
5672
5686
|
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
5673
5687
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5674
5688
|
}, arguments); },
|
|
5675
|
-
|
|
5689
|
+
__wbg_height_528848d067cc2221: function(arg0) {
|
|
5676
5690
|
const ret = arg0.height;
|
|
5677
5691
|
return ret;
|
|
5678
5692
|
},
|
|
5679
|
-
|
|
5693
|
+
__wbg_instanceof_CanvasRenderingContext2d_24a3fe06e62b98d7: function(arg0) {
|
|
5680
5694
|
let result;
|
|
5681
5695
|
try {
|
|
5682
5696
|
result = arg0 instanceof CanvasRenderingContext2D;
|
|
@@ -5686,7 +5700,7 @@ function __wbg_get_imports() {
|
|
|
5686
5700
|
const ret = result;
|
|
5687
5701
|
return ret;
|
|
5688
5702
|
},
|
|
5689
|
-
|
|
5703
|
+
__wbg_instanceof_HtmlCanvasElement_ea4dfc3bb77c734b: function(arg0) {
|
|
5690
5704
|
let result;
|
|
5691
5705
|
try {
|
|
5692
5706
|
result = arg0 instanceof HTMLCanvasElement;
|
|
@@ -5696,7 +5710,7 @@ function __wbg_get_imports() {
|
|
|
5696
5710
|
const ret = result;
|
|
5697
5711
|
return ret;
|
|
5698
5712
|
},
|
|
5699
|
-
|
|
5713
|
+
__wbg_instanceof_Window_cc64c86c8ef9e02b: function(arg0) {
|
|
5700
5714
|
let result;
|
|
5701
5715
|
try {
|
|
5702
5716
|
result = arg0 instanceof Window;
|
|
@@ -5706,17 +5720,17 @@ function __wbg_get_imports() {
|
|
|
5706
5720
|
const ret = result;
|
|
5707
5721
|
return ret;
|
|
5708
5722
|
},
|
|
5709
|
-
|
|
5723
|
+
__wbg_lineTo_c9f1e0dd4824ae31: function(arg0, arg1, arg2) {
|
|
5710
5724
|
arg0.lineTo(arg1, arg2);
|
|
5711
5725
|
},
|
|
5712
|
-
|
|
5726
|
+
__wbg_measureTextWidth_1fba8c01a653f4c4: function(arg0, arg1, arg2, arg3) {
|
|
5713
5727
|
const ret = globalThis.measureTextWidth(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
5714
5728
|
return ret;
|
|
5715
5729
|
},
|
|
5716
|
-
|
|
5730
|
+
__wbg_moveTo_d3deaceb55dc2d80: function(arg0, arg1, arg2) {
|
|
5717
5731
|
arg0.moveTo(arg1, arg2);
|
|
5718
5732
|
},
|
|
5719
|
-
|
|
5733
|
+
__wbg_naturalWidth_901815552da8b0fc: function(arg0) {
|
|
5720
5734
|
const ret = arg0.naturalWidth;
|
|
5721
5735
|
return ret;
|
|
5722
5736
|
},
|
|
@@ -5724,88 +5738,88 @@ function __wbg_get_imports() {
|
|
|
5724
5738
|
const ret = new Error();
|
|
5725
5739
|
return ret;
|
|
5726
5740
|
},
|
|
5727
|
-
|
|
5741
|
+
__wbg_new_682678e2f47e32bc: function() {
|
|
5728
5742
|
const ret = new Array();
|
|
5729
5743
|
return ret;
|
|
5730
5744
|
},
|
|
5731
|
-
|
|
5745
|
+
__wbg_new_ca878e5fdbbbf099: function() { return handleError(function () {
|
|
5732
5746
|
const ret = new Image();
|
|
5733
5747
|
return ret;
|
|
5734
5748
|
}, arguments); },
|
|
5735
|
-
|
|
5749
|
+
__wbg_push_471a5b068a5295f6: function(arg0, arg1) {
|
|
5736
5750
|
const ret = arg0.push(arg1);
|
|
5737
5751
|
return ret;
|
|
5738
5752
|
},
|
|
5739
|
-
|
|
5753
|
+
__wbg_quadraticCurveTo_37ac65747b2aa9f4: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5740
5754
|
arg0.quadraticCurveTo(arg1, arg2, arg3, arg4);
|
|
5741
5755
|
},
|
|
5742
|
-
|
|
5756
|
+
__wbg_rect_a7f5a58f447e85c2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5743
5757
|
arg0.rect(arg1, arg2, arg3, arg4);
|
|
5744
5758
|
},
|
|
5745
|
-
|
|
5759
|
+
__wbg_restore_f103803ad0dc390b: function(arg0) {
|
|
5746
5760
|
arg0.restore();
|
|
5747
5761
|
},
|
|
5748
|
-
|
|
5762
|
+
__wbg_rotate_fb8a7a0e39ad85a6: function() { return handleError(function (arg0, arg1) {
|
|
5749
5763
|
arg0.rotate(arg1);
|
|
5750
5764
|
}, arguments); },
|
|
5751
|
-
|
|
5765
|
+
__wbg_save_5b07d6d1028c3e4d: function(arg0) {
|
|
5752
5766
|
arg0.save();
|
|
5753
5767
|
},
|
|
5754
|
-
|
|
5768
|
+
__wbg_scale_c41a145cbdf9e3c0: function() { return handleError(function (arg0, arg1, arg2) {
|
|
5755
5769
|
arg0.scale(arg1, arg2);
|
|
5756
5770
|
}, arguments); },
|
|
5757
|
-
|
|
5771
|
+
__wbg_setLineDash_c273ecd8ca7d242d: function() { return handleError(function (arg0, arg1) {
|
|
5758
5772
|
arg0.setLineDash(arg1);
|
|
5759
5773
|
}, arguments); },
|
|
5760
|
-
|
|
5774
|
+
__wbg_set_fillStyle_88f4ccfb74d7de05: function(arg0, arg1) {
|
|
5761
5775
|
arg0.fillStyle = arg1;
|
|
5762
5776
|
},
|
|
5763
|
-
|
|
5777
|
+
__wbg_set_fillStyle_a6dc6303c382ed50: function(arg0, arg1) {
|
|
5764
5778
|
arg0.fillStyle = arg1;
|
|
5765
5779
|
},
|
|
5766
|
-
|
|
5780
|
+
__wbg_set_fillStyle_e51447e54357dc46: function(arg0, arg1, arg2) {
|
|
5767
5781
|
arg0.fillStyle = getStringFromWasm0(arg1, arg2);
|
|
5768
5782
|
},
|
|
5769
|
-
|
|
5783
|
+
__wbg_set_font_295aa505e45244aa: function(arg0, arg1, arg2) {
|
|
5770
5784
|
arg0.font = getStringFromWasm0(arg1, arg2);
|
|
5771
5785
|
},
|
|
5772
|
-
|
|
5786
|
+
__wbg_set_globalAlpha_1660b0603161d11b: function(arg0, arg1) {
|
|
5773
5787
|
arg0.globalAlpha = arg1;
|
|
5774
5788
|
},
|
|
5775
|
-
|
|
5789
|
+
__wbg_set_height_be9b2b920bd68401: function(arg0, arg1) {
|
|
5776
5790
|
arg0.height = arg1 >>> 0;
|
|
5777
5791
|
},
|
|
5778
|
-
|
|
5792
|
+
__wbg_set_lineCap_63624e83cb57fb8b: function(arg0, arg1, arg2) {
|
|
5779
5793
|
arg0.lineCap = getStringFromWasm0(arg1, arg2);
|
|
5780
5794
|
},
|
|
5781
|
-
|
|
5795
|
+
__wbg_set_lineWidth_2fae105117e1a89f: function(arg0, arg1) {
|
|
5782
5796
|
arg0.lineWidth = arg1;
|
|
5783
5797
|
},
|
|
5784
|
-
|
|
5798
|
+
__wbg_set_shadowBlur_f9653d1a9e1573ef: function(arg0, arg1) {
|
|
5785
5799
|
arg0.shadowBlur = arg1;
|
|
5786
5800
|
},
|
|
5787
|
-
|
|
5801
|
+
__wbg_set_shadowColor_5882e8ce2ded629b: function(arg0, arg1, arg2) {
|
|
5788
5802
|
arg0.shadowColor = getStringFromWasm0(arg1, arg2);
|
|
5789
5803
|
},
|
|
5790
|
-
|
|
5804
|
+
__wbg_set_shadowOffsetX_1392477384fa4640: function(arg0, arg1) {
|
|
5791
5805
|
arg0.shadowOffsetX = arg1;
|
|
5792
5806
|
},
|
|
5793
|
-
|
|
5807
|
+
__wbg_set_shadowOffsetY_34fbe4164fc72313: function(arg0, arg1) {
|
|
5794
5808
|
arg0.shadowOffsetY = arg1;
|
|
5795
5809
|
},
|
|
5796
|
-
|
|
5810
|
+
__wbg_set_src_59f1be1c833b4918: function(arg0, arg1, arg2) {
|
|
5797
5811
|
arg0.src = getStringFromWasm0(arg1, arg2);
|
|
5798
5812
|
},
|
|
5799
|
-
|
|
5813
|
+
__wbg_set_strokeStyle_0429d48dae657e53: function(arg0, arg1, arg2) {
|
|
5800
5814
|
arg0.strokeStyle = getStringFromWasm0(arg1, arg2);
|
|
5801
5815
|
},
|
|
5802
|
-
|
|
5816
|
+
__wbg_set_textAlign_e1a83482b00339b8: function(arg0, arg1, arg2) {
|
|
5803
5817
|
arg0.textAlign = getStringFromWasm0(arg1, arg2);
|
|
5804
5818
|
},
|
|
5805
|
-
|
|
5819
|
+
__wbg_set_textBaseline_8662e97190d0164a: function(arg0, arg1, arg2) {
|
|
5806
5820
|
arg0.textBaseline = getStringFromWasm0(arg1, arg2);
|
|
5807
5821
|
},
|
|
5808
|
-
|
|
5822
|
+
__wbg_set_width_5cda41d4d06a14dd: function(arg0, arg1) {
|
|
5809
5823
|
arg0.width = arg1 >>> 0;
|
|
5810
5824
|
},
|
|
5811
5825
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -5815,35 +5829,35 @@ function __wbg_get_imports() {
|
|
|
5815
5829
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5816
5830
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5817
5831
|
},
|
|
5818
|
-
|
|
5832
|
+
__wbg_static_accessor_GLOBAL_8cfadc87a297ca02: function() {
|
|
5819
5833
|
const ret = typeof global === 'undefined' ? null : global;
|
|
5820
5834
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5821
5835
|
},
|
|
5822
|
-
|
|
5836
|
+
__wbg_static_accessor_GLOBAL_THIS_602256ae5c8f42cf: function() {
|
|
5823
5837
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
5824
5838
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5825
5839
|
},
|
|
5826
|
-
|
|
5840
|
+
__wbg_static_accessor_SELF_e445c1c7484aecc3: function() {
|
|
5827
5841
|
const ret = typeof self === 'undefined' ? null : self;
|
|
5828
5842
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5829
5843
|
},
|
|
5830
|
-
|
|
5844
|
+
__wbg_static_accessor_WINDOW_f20e8576ef1e0f17: function() {
|
|
5831
5845
|
const ret = typeof window === 'undefined' ? null : window;
|
|
5832
5846
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
5833
5847
|
},
|
|
5834
|
-
|
|
5848
|
+
__wbg_strokeRect_502699d92aeb85f1: function(arg0, arg1, arg2, arg3, arg4) {
|
|
5835
5849
|
arg0.strokeRect(arg1, arg2, arg3, arg4);
|
|
5836
5850
|
},
|
|
5837
|
-
|
|
5851
|
+
__wbg_strokeText_fd5393a1c9f02f23: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
5838
5852
|
arg0.strokeText(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
5839
5853
|
}, arguments); },
|
|
5840
|
-
|
|
5854
|
+
__wbg_stroke_42f07013960cf81b: function(arg0) {
|
|
5841
5855
|
arg0.stroke();
|
|
5842
5856
|
},
|
|
5843
|
-
|
|
5857
|
+
__wbg_translate_34989493d69eaecd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
5844
5858
|
arg0.translate(arg1, arg2);
|
|
5845
5859
|
}, arguments); },
|
|
5846
|
-
|
|
5860
|
+
__wbg_width_5adcb07d04d08bdf: function(arg0) {
|
|
5847
5861
|
const ret = arg0.width;
|
|
5848
5862
|
return ret;
|
|
5849
5863
|
},
|
package/rhwp_bg.wasm
CHANGED
|
Binary file
|
package/rhwp_bg.wasm.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export const version: () => [number, number];
|
|
|
5
5
|
export const init_panic_hook: () => void;
|
|
6
6
|
export const __wbg_hwpdocument_free: (a: number, b: number) => void;
|
|
7
7
|
export const __wbg_hwpviewer_free: (a: number, b: number) => void;
|
|
8
|
+
export const extractThumbnail: (a: number, b: number) => any;
|
|
8
9
|
export const hwpdocument_addBookmark: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
9
10
|
export const hwpdocument_applyCellStyle: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
|
|
10
11
|
export const hwpdocument_applyCharFormat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
|