docx-wasm 0.0.274-image-test2 → 0.0.274-image-test5
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/node/pkg/docx_wasm.d.ts +23 -23
- package/dist/node/pkg/docx_wasm.js +44 -19
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +17 -17
- package/dist/web/pkg/docx_wasm.d.ts +23 -23
- package/dist/web/pkg/docx_wasm_bg.js +44 -19
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +17 -17
- package/package.json +1 -1
|
@@ -21,16 +21,17 @@ export function readDocx(buf: Uint8Array): string;
|
|
|
21
21
|
*/
|
|
22
22
|
export function createRunFonts(): RunFonts;
|
|
23
23
|
/**
|
|
24
|
-
* @returns {LineSpacing}
|
|
25
|
-
*/
|
|
26
|
-
export function createLineSpacing(): LineSpacing;
|
|
27
|
-
/**
|
|
28
24
|
* @param {string} style_id
|
|
29
25
|
* @param {number} style_type
|
|
30
26
|
* @returns {Style}
|
|
31
27
|
*/
|
|
32
28
|
export function createStyle(style_id: string, style_type: number): Style;
|
|
33
29
|
/**
|
|
30
|
+
* @param {number} position
|
|
31
|
+
* @returns {TableCellBorder}
|
|
32
|
+
*/
|
|
33
|
+
export function createTableCellBorder(position: number): TableCellBorder;
|
|
34
|
+
/**
|
|
34
35
|
* @returns {TableRow}
|
|
35
36
|
*/
|
|
36
37
|
export function createTableRow(): TableRow;
|
|
@@ -53,10 +54,9 @@ export function createHeader(): Header;
|
|
|
53
54
|
*/
|
|
54
55
|
export function createInsert(run: Run): Insert;
|
|
55
56
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* @returns {TableCellBorder}
|
|
57
|
+
* @returns {LineSpacing}
|
|
58
58
|
*/
|
|
59
|
-
export function
|
|
59
|
+
export function createLineSpacing(): LineSpacing;
|
|
60
60
|
/**
|
|
61
61
|
* @param {number} id
|
|
62
62
|
* @param {number} start
|
|
@@ -197,6 +197,22 @@ export enum VMergeType {
|
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
*/
|
|
200
|
+
export enum BreakType {
|
|
201
|
+
Page,
|
|
202
|
+
Column,
|
|
203
|
+
TextWrapping,
|
|
204
|
+
Unsupported,
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
*/
|
|
208
|
+
export enum FieldCharType {
|
|
209
|
+
Begin,
|
|
210
|
+
Separate,
|
|
211
|
+
End,
|
|
212
|
+
Unsupported,
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
*/
|
|
200
216
|
export enum LineSpacingType {
|
|
201
217
|
Auto,
|
|
202
218
|
AtLeast,
|
|
@@ -260,14 +276,6 @@ export enum TextDirectionType {
|
|
|
260
276
|
}
|
|
261
277
|
/**
|
|
262
278
|
*/
|
|
263
|
-
export enum BreakType {
|
|
264
|
-
Page,
|
|
265
|
-
Column,
|
|
266
|
-
TextWrapping,
|
|
267
|
-
Unsupported,
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
*/
|
|
271
279
|
export enum VertAlignType {
|
|
272
280
|
Baseline,
|
|
273
281
|
SuperScript,
|
|
@@ -408,14 +416,6 @@ export enum DocGridType {
|
|
|
408
416
|
}
|
|
409
417
|
/**
|
|
410
418
|
*/
|
|
411
|
-
export enum FieldCharType {
|
|
412
|
-
Begin,
|
|
413
|
-
Separate,
|
|
414
|
-
End,
|
|
415
|
-
Unsupported,
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
*/
|
|
419
419
|
export enum RelativeFromHType {
|
|
420
420
|
/**
|
|
421
421
|
* Specifies that the horizontal positioning shall be
|
|
@@ -172,14 +172,6 @@ module.exports.createRunFonts = function() {
|
|
|
172
172
|
return RunFonts.__wrap(ret);
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
/**
|
|
176
|
-
* @returns {LineSpacing}
|
|
177
|
-
*/
|
|
178
|
-
module.exports.createLineSpacing = function() {
|
|
179
|
-
var ret = wasm.createLineSpacing();
|
|
180
|
-
return LineSpacing.__wrap(ret);
|
|
181
|
-
};
|
|
182
|
-
|
|
183
175
|
/**
|
|
184
176
|
* @param {string} style_id
|
|
185
177
|
* @param {number} style_type
|
|
@@ -195,6 +187,15 @@ module.exports.createStyle = function(style_id, style_type) {
|
|
|
195
187
|
function isLikeNone(x) {
|
|
196
188
|
return x === undefined || x === null;
|
|
197
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* @param {number} position
|
|
192
|
+
* @returns {TableCellBorder}
|
|
193
|
+
*/
|
|
194
|
+
module.exports.createTableCellBorder = function(position) {
|
|
195
|
+
var ret = wasm.createTableCellBorder(position);
|
|
196
|
+
return TableCellBorder.__wrap(ret);
|
|
197
|
+
};
|
|
198
|
+
|
|
198
199
|
/**
|
|
199
200
|
* @returns {TableRow}
|
|
200
201
|
*/
|
|
@@ -244,12 +245,11 @@ module.exports.createInsert = function(run) {
|
|
|
244
245
|
};
|
|
245
246
|
|
|
246
247
|
/**
|
|
247
|
-
* @
|
|
248
|
-
* @returns {TableCellBorder}
|
|
248
|
+
* @returns {LineSpacing}
|
|
249
249
|
*/
|
|
250
|
-
module.exports.
|
|
251
|
-
var ret = wasm.
|
|
252
|
-
return
|
|
250
|
+
module.exports.createLineSpacing = function() {
|
|
251
|
+
var ret = wasm.createLineSpacing();
|
|
252
|
+
return LineSpacing.__wrap(ret);
|
|
253
253
|
};
|
|
254
254
|
|
|
255
255
|
/**
|
|
@@ -446,6 +446,12 @@ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,
|
|
|
446
446
|
module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
447
447
|
/**
|
|
448
448
|
*/
|
|
449
|
+
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
450
|
+
/**
|
|
451
|
+
*/
|
|
452
|
+
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
453
|
+
/**
|
|
454
|
+
*/
|
|
449
455
|
module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
450
456
|
/**
|
|
451
457
|
*/
|
|
@@ -455,9 +461,6 @@ module.exports.ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Sol
|
|
|
455
461
|
module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
|
|
456
462
|
/**
|
|
457
463
|
*/
|
|
458
|
-
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
459
|
-
/**
|
|
460
|
-
*/
|
|
461
464
|
module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
462
465
|
/**
|
|
463
466
|
*/
|
|
@@ -500,9 +503,6 @@ module.exports.WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct
|
|
|
500
503
|
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
501
504
|
/**
|
|
502
505
|
*/
|
|
503
|
-
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
504
|
-
/**
|
|
505
|
-
*/
|
|
506
506
|
module.exports.RelativeFromHType = Object.freeze({
|
|
507
507
|
/**
|
|
508
508
|
* Specifies that the horizontal positioning shall be
|
|
@@ -3334,6 +3334,31 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
|
3334
3334
|
return addHeapObject(ret);
|
|
3335
3335
|
};
|
|
3336
3336
|
|
|
3337
|
+
module.exports.__wbg_new_693216e109162396 = function() {
|
|
3338
|
+
var ret = new Error();
|
|
3339
|
+
return addHeapObject(ret);
|
|
3340
|
+
};
|
|
3341
|
+
|
|
3342
|
+
module.exports.__wbg_stack_0ddaca5d1abfb52f = function(arg0, arg1) {
|
|
3343
|
+
var ret = getObject(arg1).stack;
|
|
3344
|
+
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3345
|
+
var len0 = WASM_VECTOR_LEN;
|
|
3346
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
3347
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
3348
|
+
};
|
|
3349
|
+
|
|
3350
|
+
module.exports.__wbg_error_09919627ac0992f5 = function(arg0, arg1) {
|
|
3351
|
+
try {
|
|
3352
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
3353
|
+
} finally {
|
|
3354
|
+
wasm.__wbindgen_free(arg0, arg1);
|
|
3355
|
+
}
|
|
3356
|
+
};
|
|
3357
|
+
|
|
3358
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
3359
|
+
takeObject(arg0);
|
|
3360
|
+
};
|
|
3361
|
+
|
|
3337
3362
|
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
3338
3363
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3339
3364
|
};
|
|
Binary file
|
|
@@ -28,14 +28,6 @@ export function runfonts_hi_ansi_theme(a: number, b: number, c: number): number;
|
|
|
28
28
|
export function runfonts_cs_theme(a: number, b: number, c: number): number;
|
|
29
29
|
export function runfonts_east_asia_theme(a: number, b: number, c: number): number;
|
|
30
30
|
export function runfonts_hint(a: number, b: number, c: number): number;
|
|
31
|
-
export function __wbg_linespacing_free(a: number): void;
|
|
32
|
-
export function createLineSpacing(): number;
|
|
33
|
-
export function linespacing_line_rule(a: number, b: number): number;
|
|
34
|
-
export function linespacing_before(a: number, b: number): number;
|
|
35
|
-
export function linespacing_after(a: number, b: number): number;
|
|
36
|
-
export function linespacing_before_lines(a: number, b: number): number;
|
|
37
|
-
export function linespacing_after_lines(a: number, b: number): number;
|
|
38
|
-
export function linespacing_line(a: number, b: number): number;
|
|
39
31
|
export function __wbg_style_free(a: number): void;
|
|
40
32
|
export function createStyle(a: number, b: number, c: number): number;
|
|
41
33
|
export function style_name(a: number, b: number, c: number): number;
|
|
@@ -52,6 +44,14 @@ export function style_indent(a: number, b: number, c: number, d: number, e: numb
|
|
|
52
44
|
export function style_outline_lvl(a: number, b: number): number;
|
|
53
45
|
export function style_table_property(a: number, b: number): number;
|
|
54
46
|
export function style_table_cell_property(a: number, b: number): number;
|
|
47
|
+
export function __wbg_tablecellborder_free(a: number): void;
|
|
48
|
+
export function createTableCellBorder(a: number): number;
|
|
49
|
+
export function tablecellborder_size(a: number, b: number): number;
|
|
50
|
+
export function tablecellborder_color(a: number, b: number, c: number): number;
|
|
51
|
+
export function tablecellborder_border_type(a: number, b: number): number;
|
|
52
|
+
export function tablecellborder_get_size(a: number): number;
|
|
53
|
+
export function tablecellborder_get_color(a: number, b: number): void;
|
|
54
|
+
export function tablecellborder_get_border_type(a: number): number;
|
|
55
55
|
export function __wbg_tablerow_free(a: number): void;
|
|
56
56
|
export function createTableRow(): number;
|
|
57
57
|
export function tablerow_add_cell(a: number, b: number): number;
|
|
@@ -67,21 +67,21 @@ export function __wbg_footer_free(a: number): void;
|
|
|
67
67
|
export function createFooter(): number;
|
|
68
68
|
export function footer_add_paragraph(a: number, b: number): number;
|
|
69
69
|
export function footer_add_table(a: number, b: number): number;
|
|
70
|
-
export function __wbg_header_free(a: number): void;
|
|
71
70
|
export function createHeader(): number;
|
|
72
71
|
export function header_add_paragraph(a: number, b: number): number;
|
|
73
72
|
export function header_add_table(a: number, b: number): number;
|
|
74
73
|
export function __wbg_insert_free(a: number): void;
|
|
75
74
|
export function createInsert(a: number): number;
|
|
76
75
|
export function insert_date(a: number, b: number, c: number): number;
|
|
77
|
-
export function
|
|
78
|
-
export function
|
|
79
|
-
export function
|
|
80
|
-
export function
|
|
81
|
-
export function
|
|
82
|
-
export function
|
|
83
|
-
export function
|
|
84
|
-
export function
|
|
76
|
+
export function __wbg_linespacing_free(a: number): void;
|
|
77
|
+
export function createLineSpacing(): number;
|
|
78
|
+
export function linespacing_line_rule(a: number, b: number): number;
|
|
79
|
+
export function linespacing_before(a: number, b: number): number;
|
|
80
|
+
export function linespacing_after(a: number, b: number): number;
|
|
81
|
+
export function linespacing_before_lines(a: number, b: number): number;
|
|
82
|
+
export function linespacing_after_lines(a: number, b: number): number;
|
|
83
|
+
export function linespacing_line(a: number, b: number): number;
|
|
84
|
+
export function __wbg_header_free(a: number): void;
|
|
85
85
|
export function insert_author(a: number, b: number, c: number): number;
|
|
86
86
|
export function __wbg_level_free(a: number): void;
|
|
87
87
|
export function createLevel(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number;
|
|
@@ -21,16 +21,17 @@ export function readDocx(buf: Uint8Array): string;
|
|
|
21
21
|
*/
|
|
22
22
|
export function createRunFonts(): RunFonts;
|
|
23
23
|
/**
|
|
24
|
-
* @returns {LineSpacing}
|
|
25
|
-
*/
|
|
26
|
-
export function createLineSpacing(): LineSpacing;
|
|
27
|
-
/**
|
|
28
24
|
* @param {string} style_id
|
|
29
25
|
* @param {number} style_type
|
|
30
26
|
* @returns {Style}
|
|
31
27
|
*/
|
|
32
28
|
export function createStyle(style_id: string, style_type: number): Style;
|
|
33
29
|
/**
|
|
30
|
+
* @param {number} position
|
|
31
|
+
* @returns {TableCellBorder}
|
|
32
|
+
*/
|
|
33
|
+
export function createTableCellBorder(position: number): TableCellBorder;
|
|
34
|
+
/**
|
|
34
35
|
* @returns {TableRow}
|
|
35
36
|
*/
|
|
36
37
|
export function createTableRow(): TableRow;
|
|
@@ -53,10 +54,9 @@ export function createHeader(): Header;
|
|
|
53
54
|
*/
|
|
54
55
|
export function createInsert(run: Run): Insert;
|
|
55
56
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* @returns {TableCellBorder}
|
|
57
|
+
* @returns {LineSpacing}
|
|
58
58
|
*/
|
|
59
|
-
export function
|
|
59
|
+
export function createLineSpacing(): LineSpacing;
|
|
60
60
|
/**
|
|
61
61
|
* @param {number} id
|
|
62
62
|
* @param {number} start
|
|
@@ -197,6 +197,22 @@ export enum VMergeType {
|
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
*/
|
|
200
|
+
export enum BreakType {
|
|
201
|
+
Page,
|
|
202
|
+
Column,
|
|
203
|
+
TextWrapping,
|
|
204
|
+
Unsupported,
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
*/
|
|
208
|
+
export enum FieldCharType {
|
|
209
|
+
Begin,
|
|
210
|
+
Separate,
|
|
211
|
+
End,
|
|
212
|
+
Unsupported,
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
*/
|
|
200
216
|
export enum LineSpacingType {
|
|
201
217
|
Auto,
|
|
202
218
|
AtLeast,
|
|
@@ -260,14 +276,6 @@ export enum TextDirectionType {
|
|
|
260
276
|
}
|
|
261
277
|
/**
|
|
262
278
|
*/
|
|
263
|
-
export enum BreakType {
|
|
264
|
-
Page,
|
|
265
|
-
Column,
|
|
266
|
-
TextWrapping,
|
|
267
|
-
Unsupported,
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
*/
|
|
271
279
|
export enum VertAlignType {
|
|
272
280
|
Baseline,
|
|
273
281
|
SuperScript,
|
|
@@ -408,14 +416,6 @@ export enum DocGridType {
|
|
|
408
416
|
}
|
|
409
417
|
/**
|
|
410
418
|
*/
|
|
411
|
-
export enum FieldCharType {
|
|
412
|
-
Begin,
|
|
413
|
-
Separate,
|
|
414
|
-
End,
|
|
415
|
-
Unsupported,
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
*/
|
|
419
419
|
export enum RelativeFromHType {
|
|
420
420
|
/**
|
|
421
421
|
* Specifies that the horizontal positioning shall be
|
|
@@ -173,14 +173,6 @@ export function createRunFonts() {
|
|
|
173
173
|
return RunFonts.__wrap(ret);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
/**
|
|
177
|
-
* @returns {LineSpacing}
|
|
178
|
-
*/
|
|
179
|
-
export function createLineSpacing() {
|
|
180
|
-
var ret = wasm.createLineSpacing();
|
|
181
|
-
return LineSpacing.__wrap(ret);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
176
|
/**
|
|
185
177
|
* @param {string} style_id
|
|
186
178
|
* @param {number} style_type
|
|
@@ -196,6 +188,15 @@ export function createStyle(style_id, style_type) {
|
|
|
196
188
|
function isLikeNone(x) {
|
|
197
189
|
return x === undefined || x === null;
|
|
198
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* @param {number} position
|
|
193
|
+
* @returns {TableCellBorder}
|
|
194
|
+
*/
|
|
195
|
+
export function createTableCellBorder(position) {
|
|
196
|
+
var ret = wasm.createTableCellBorder(position);
|
|
197
|
+
return TableCellBorder.__wrap(ret);
|
|
198
|
+
}
|
|
199
|
+
|
|
199
200
|
/**
|
|
200
201
|
* @returns {TableRow}
|
|
201
202
|
*/
|
|
@@ -245,12 +246,11 @@ export function createInsert(run) {
|
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
/**
|
|
248
|
-
* @
|
|
249
|
-
* @returns {TableCellBorder}
|
|
249
|
+
* @returns {LineSpacing}
|
|
250
250
|
*/
|
|
251
|
-
export function
|
|
252
|
-
var ret = wasm.
|
|
253
|
-
return
|
|
251
|
+
export function createLineSpacing() {
|
|
252
|
+
var ret = wasm.createLineSpacing();
|
|
253
|
+
return LineSpacing.__wrap(ret);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
/**
|
|
@@ -447,6 +447,12 @@ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1
|
|
|
447
447
|
export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
448
448
|
/**
|
|
449
449
|
*/
|
|
450
|
+
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
451
|
+
/**
|
|
452
|
+
*/
|
|
453
|
+
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
454
|
+
/**
|
|
455
|
+
*/
|
|
450
456
|
export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
451
457
|
/**
|
|
452
458
|
*/
|
|
@@ -456,9 +462,6 @@ export const ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid
|
|
|
456
462
|
export const TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
|
|
457
463
|
/**
|
|
458
464
|
*/
|
|
459
|
-
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
460
|
-
/**
|
|
461
|
-
*/
|
|
462
465
|
export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
463
466
|
/**
|
|
464
467
|
*/
|
|
@@ -501,9 +504,6 @@ export const WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2
|
|
|
501
504
|
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
502
505
|
/**
|
|
503
506
|
*/
|
|
504
|
-
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
505
|
-
/**
|
|
506
|
-
*/
|
|
507
507
|
export const RelativeFromHType = Object.freeze({
|
|
508
508
|
/**
|
|
509
509
|
* Specifies that the horizontal positioning shall be
|
|
@@ -3307,6 +3307,31 @@ export function __wbindgen_string_new(arg0, arg1) {
|
|
|
3307
3307
|
return addHeapObject(ret);
|
|
3308
3308
|
};
|
|
3309
3309
|
|
|
3310
|
+
export function __wbg_new_693216e109162396() {
|
|
3311
|
+
var ret = new Error();
|
|
3312
|
+
return addHeapObject(ret);
|
|
3313
|
+
};
|
|
3314
|
+
|
|
3315
|
+
export function __wbg_stack_0ddaca5d1abfb52f(arg0, arg1) {
|
|
3316
|
+
var ret = getObject(arg1).stack;
|
|
3317
|
+
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3318
|
+
var len0 = WASM_VECTOR_LEN;
|
|
3319
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
3320
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
3321
|
+
};
|
|
3322
|
+
|
|
3323
|
+
export function __wbg_error_09919627ac0992f5(arg0, arg1) {
|
|
3324
|
+
try {
|
|
3325
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
3326
|
+
} finally {
|
|
3327
|
+
wasm.__wbindgen_free(arg0, arg1);
|
|
3328
|
+
}
|
|
3329
|
+
};
|
|
3330
|
+
|
|
3331
|
+
export function __wbindgen_object_drop_ref(arg0) {
|
|
3332
|
+
takeObject(arg0);
|
|
3333
|
+
};
|
|
3334
|
+
|
|
3310
3335
|
export function __wbindgen_throw(arg0, arg1) {
|
|
3311
3336
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3312
3337
|
};
|
|
Binary file
|
|
@@ -28,14 +28,6 @@ export function runfonts_hi_ansi_theme(a: number, b: number, c: number): number;
|
|
|
28
28
|
export function runfonts_cs_theme(a: number, b: number, c: number): number;
|
|
29
29
|
export function runfonts_east_asia_theme(a: number, b: number, c: number): number;
|
|
30
30
|
export function runfonts_hint(a: number, b: number, c: number): number;
|
|
31
|
-
export function __wbg_linespacing_free(a: number): void;
|
|
32
|
-
export function createLineSpacing(): number;
|
|
33
|
-
export function linespacing_line_rule(a: number, b: number): number;
|
|
34
|
-
export function linespacing_before(a: number, b: number): number;
|
|
35
|
-
export function linespacing_after(a: number, b: number): number;
|
|
36
|
-
export function linespacing_before_lines(a: number, b: number): number;
|
|
37
|
-
export function linespacing_after_lines(a: number, b: number): number;
|
|
38
|
-
export function linespacing_line(a: number, b: number): number;
|
|
39
31
|
export function __wbg_style_free(a: number): void;
|
|
40
32
|
export function createStyle(a: number, b: number, c: number): number;
|
|
41
33
|
export function style_name(a: number, b: number, c: number): number;
|
|
@@ -52,6 +44,14 @@ export function style_indent(a: number, b: number, c: number, d: number, e: numb
|
|
|
52
44
|
export function style_outline_lvl(a: number, b: number): number;
|
|
53
45
|
export function style_table_property(a: number, b: number): number;
|
|
54
46
|
export function style_table_cell_property(a: number, b: number): number;
|
|
47
|
+
export function __wbg_tablecellborder_free(a: number): void;
|
|
48
|
+
export function createTableCellBorder(a: number): number;
|
|
49
|
+
export function tablecellborder_size(a: number, b: number): number;
|
|
50
|
+
export function tablecellborder_color(a: number, b: number, c: number): number;
|
|
51
|
+
export function tablecellborder_border_type(a: number, b: number): number;
|
|
52
|
+
export function tablecellborder_get_size(a: number): number;
|
|
53
|
+
export function tablecellborder_get_color(a: number, b: number): void;
|
|
54
|
+
export function tablecellborder_get_border_type(a: number): number;
|
|
55
55
|
export function __wbg_tablerow_free(a: number): void;
|
|
56
56
|
export function createTableRow(): number;
|
|
57
57
|
export function tablerow_add_cell(a: number, b: number): number;
|
|
@@ -67,21 +67,21 @@ export function __wbg_footer_free(a: number): void;
|
|
|
67
67
|
export function createFooter(): number;
|
|
68
68
|
export function footer_add_paragraph(a: number, b: number): number;
|
|
69
69
|
export function footer_add_table(a: number, b: number): number;
|
|
70
|
-
export function __wbg_header_free(a: number): void;
|
|
71
70
|
export function createHeader(): number;
|
|
72
71
|
export function header_add_paragraph(a: number, b: number): number;
|
|
73
72
|
export function header_add_table(a: number, b: number): number;
|
|
74
73
|
export function __wbg_insert_free(a: number): void;
|
|
75
74
|
export function createInsert(a: number): number;
|
|
76
75
|
export function insert_date(a: number, b: number, c: number): number;
|
|
77
|
-
export function
|
|
78
|
-
export function
|
|
79
|
-
export function
|
|
80
|
-
export function
|
|
81
|
-
export function
|
|
82
|
-
export function
|
|
83
|
-
export function
|
|
84
|
-
export function
|
|
76
|
+
export function __wbg_linespacing_free(a: number): void;
|
|
77
|
+
export function createLineSpacing(): number;
|
|
78
|
+
export function linespacing_line_rule(a: number, b: number): number;
|
|
79
|
+
export function linespacing_before(a: number, b: number): number;
|
|
80
|
+
export function linespacing_after(a: number, b: number): number;
|
|
81
|
+
export function linespacing_before_lines(a: number, b: number): number;
|
|
82
|
+
export function linespacing_after_lines(a: number, b: number): number;
|
|
83
|
+
export function linespacing_line(a: number, b: number): number;
|
|
84
|
+
export function __wbg_header_free(a: number): void;
|
|
85
85
|
export function insert_author(a: number, b: number, c: number): number;
|
|
86
86
|
export function __wbg_level_free(a: number): void;
|
|
87
87
|
export function createLevel(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number;
|