docx-wasm 0.0.231 → 0.0.235-beta0
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/json/numbering.d.ts +2 -0
- package/dist/node/json/table.d.ts +10 -4
- package/dist/node/pkg/docx_wasm.d.ts +35 -35
- package/dist/node/pkg/docx_wasm.js +10 -10
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +1 -1
- package/dist/web/json/numbering.d.ts +2 -0
- package/dist/web/json/table.d.ts +10 -4
- package/dist/web/pkg/docx_wasm.d.ts +35 -35
- package/dist/web/pkg/docx_wasm_bg.js +10 -10
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ParagraphPropertyJSON } from "./paragraph";
|
|
2
|
+
import { RunPropertyJSON } from "./run";
|
|
2
3
|
export declare type LevelJSON = {
|
|
3
4
|
level: number;
|
|
4
5
|
start: number;
|
|
@@ -7,6 +8,7 @@ export declare type LevelJSON = {
|
|
|
7
8
|
jc: string;
|
|
8
9
|
suffix: "tab" | "nothing" | "space";
|
|
9
10
|
paragraphProperty: ParagraphPropertyJSON;
|
|
11
|
+
runProperty: RunPropertyJSON;
|
|
10
12
|
pstyle: string | null;
|
|
11
13
|
levelRestart: number | null;
|
|
12
14
|
};
|
|
@@ -30,12 +30,18 @@ export declare type TableRowPropertyJSON = {
|
|
|
30
30
|
widthBefore: number | null;
|
|
31
31
|
};
|
|
32
32
|
export declare type TableCellJSON = {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
type: "tableCell";
|
|
34
|
+
data: {
|
|
35
|
+
children: TableCellChildJSON[];
|
|
36
|
+
property: TableCellPropertyJSON;
|
|
37
|
+
};
|
|
35
38
|
};
|
|
36
39
|
export declare type TableRowJSON = {
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
type: "tableRow";
|
|
41
|
+
data: {
|
|
42
|
+
cells: TableCellJSON[];
|
|
43
|
+
property: TableRowPropertyJSON;
|
|
44
|
+
};
|
|
39
45
|
};
|
|
40
46
|
export declare type TableCellMarginJSON = {
|
|
41
47
|
val: number;
|
|
@@ -136,12 +136,6 @@ export enum StyleType {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
*/
|
|
139
|
-
export enum TableLayoutType {
|
|
140
|
-
Fixed,
|
|
141
|
-
Autofit,
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
*/
|
|
145
139
|
export enum WidthType {
|
|
146
140
|
DXA,
|
|
147
141
|
Auto,
|
|
@@ -173,16 +167,6 @@ export enum TableCellBorderPosition {
|
|
|
173
167
|
}
|
|
174
168
|
/**
|
|
175
169
|
*/
|
|
176
|
-
export enum TabLeaderType {
|
|
177
|
-
Dot,
|
|
178
|
-
Heavy,
|
|
179
|
-
Hyphen,
|
|
180
|
-
MiddleDot,
|
|
181
|
-
None,
|
|
182
|
-
Underscore,
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
*/
|
|
186
170
|
export enum VMergeType {
|
|
187
171
|
Continue,
|
|
188
172
|
Restart,
|
|
@@ -233,14 +217,6 @@ export enum DocGridType {
|
|
|
233
217
|
}
|
|
234
218
|
/**
|
|
235
219
|
*/
|
|
236
|
-
export enum FieldCharType {
|
|
237
|
-
Begin,
|
|
238
|
-
Separate,
|
|
239
|
-
End,
|
|
240
|
-
Unsupported,
|
|
241
|
-
}
|
|
242
|
-
/**
|
|
243
|
-
*/
|
|
244
220
|
export enum LineSpacingType {
|
|
245
221
|
Auto,
|
|
246
222
|
AtLeast,
|
|
@@ -261,17 +237,9 @@ export enum TabValueType {
|
|
|
261
237
|
}
|
|
262
238
|
/**
|
|
263
239
|
*/
|
|
264
|
-
export enum
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
Rl,
|
|
268
|
-
RlV,
|
|
269
|
-
Tb,
|
|
270
|
-
TbV,
|
|
271
|
-
TbRlV,
|
|
272
|
-
TbRl,
|
|
273
|
-
BtLr,
|
|
274
|
-
LrTbV,
|
|
240
|
+
export enum TableLayoutType {
|
|
241
|
+
Fixed,
|
|
242
|
+
Autofit,
|
|
275
243
|
}
|
|
276
244
|
/**
|
|
277
245
|
*/
|
|
@@ -283,6 +251,14 @@ export enum BreakType {
|
|
|
283
251
|
}
|
|
284
252
|
/**
|
|
285
253
|
*/
|
|
254
|
+
export enum FieldCharType {
|
|
255
|
+
Begin,
|
|
256
|
+
Separate,
|
|
257
|
+
End,
|
|
258
|
+
Unsupported,
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
*/
|
|
286
262
|
export enum ShdType {
|
|
287
263
|
Nil,
|
|
288
264
|
Clear,
|
|
@@ -325,6 +301,20 @@ export enum ShdType {
|
|
|
325
301
|
}
|
|
326
302
|
/**
|
|
327
303
|
*/
|
|
304
|
+
export enum TextDirectionType {
|
|
305
|
+
Lr,
|
|
306
|
+
LrV,
|
|
307
|
+
Rl,
|
|
308
|
+
RlV,
|
|
309
|
+
Tb,
|
|
310
|
+
TbV,
|
|
311
|
+
TbRlV,
|
|
312
|
+
TbRl,
|
|
313
|
+
BtLr,
|
|
314
|
+
LrTbV,
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
*/
|
|
328
318
|
export enum VertAlignType {
|
|
329
319
|
Baseline,
|
|
330
320
|
SuperScript,
|
|
@@ -402,6 +392,16 @@ export enum LevelSuffixType {
|
|
|
402
392
|
}
|
|
403
393
|
/**
|
|
404
394
|
*/
|
|
395
|
+
export enum TabLeaderType {
|
|
396
|
+
Dot,
|
|
397
|
+
Heavy,
|
|
398
|
+
Hyphen,
|
|
399
|
+
MiddleDot,
|
|
400
|
+
None,
|
|
401
|
+
Underscore,
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
*/
|
|
405
405
|
export class AbstractNumbering {
|
|
406
406
|
free(): void;
|
|
407
407
|
/**
|
|
@@ -410,9 +410,6 @@ module.exports.createNumbering = function(id, abstract_num_id) {
|
|
|
410
410
|
module.exports.StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
|
|
411
411
|
/**
|
|
412
412
|
*/
|
|
413
|
-
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
414
|
-
/**
|
|
415
|
-
*/
|
|
416
413
|
module.exports.WidthType = Object.freeze({ DXA:0,"0":"DXA",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
|
|
417
414
|
/**
|
|
418
415
|
*/
|
|
@@ -422,9 +419,6 @@ module.exports.TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"
|
|
|
422
419
|
module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
|
|
423
420
|
/**
|
|
424
421
|
*/
|
|
425
|
-
module.exports.TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
|
|
426
|
-
/**
|
|
427
|
-
*/
|
|
428
422
|
module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
429
423
|
/**
|
|
430
424
|
*/
|
|
@@ -446,24 +440,27 @@ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",H
|
|
|
446
440
|
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
447
441
|
/**
|
|
448
442
|
*/
|
|
449
|
-
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
450
|
-
/**
|
|
451
|
-
*/
|
|
452
443
|
module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
453
444
|
/**
|
|
454
445
|
*/
|
|
455
446
|
module.exports.TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
|
|
456
447
|
/**
|
|
457
448
|
*/
|
|
458
|
-
module.exports.
|
|
449
|
+
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
459
450
|
/**
|
|
460
451
|
*/
|
|
461
452
|
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
462
453
|
/**
|
|
463
454
|
*/
|
|
455
|
+
module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
456
|
+
/**
|
|
457
|
+
*/
|
|
464
458
|
module.exports.ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
|
|
465
459
|
/**
|
|
466
460
|
*/
|
|
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", });
|
|
462
|
+
/**
|
|
463
|
+
*/
|
|
467
464
|
module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
468
465
|
/**
|
|
469
466
|
*/
|
|
@@ -482,6 +479,9 @@ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtL
|
|
|
482
479
|
module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
|
|
483
480
|
/**
|
|
484
481
|
*/
|
|
482
|
+
module.exports.TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
|
|
483
|
+
/**
|
|
484
|
+
*/
|
|
485
485
|
class AbstractNumbering {
|
|
486
486
|
|
|
487
487
|
static __wrap(ptr) {
|
|
Binary file
|
|
@@ -208,6 +208,7 @@ export function __wbg_footer_free(a: number): void;
|
|
|
208
208
|
export function createFooter(): number;
|
|
209
209
|
export function footer_add_paragraph(a: number, b: number): number;
|
|
210
210
|
export function footer_add_table(a: number, b: number): number;
|
|
211
|
+
export function __wbg_header_free(a: number): void;
|
|
211
212
|
export function createHeader(): number;
|
|
212
213
|
export function header_add_paragraph(a: number, b: number): number;
|
|
213
214
|
export function header_add_table(a: number, b: number): number;
|
|
@@ -223,7 +224,6 @@ export function linespacing_before_lines(a: number, b: number): number;
|
|
|
223
224
|
export function linespacing_after_lines(a: number, b: number): number;
|
|
224
225
|
export function linespacing_line(a: number, b: number): number;
|
|
225
226
|
export function insert_author(a: number, b: number, c: number): number;
|
|
226
|
-
export function __wbg_header_free(a: number): void;
|
|
227
227
|
export function __wbg_abstractnumbering_free(a: number): void;
|
|
228
228
|
export function createAbstractNumbering(a: number): number;
|
|
229
229
|
export function abstractnumbering_add_level(a: number, b: number): number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ParagraphPropertyJSON } from "./paragraph";
|
|
2
|
+
import { RunPropertyJSON } from "./run";
|
|
2
3
|
export declare type LevelJSON = {
|
|
3
4
|
level: number;
|
|
4
5
|
start: number;
|
|
@@ -7,6 +8,7 @@ export declare type LevelJSON = {
|
|
|
7
8
|
jc: string;
|
|
8
9
|
suffix: "tab" | "nothing" | "space";
|
|
9
10
|
paragraphProperty: ParagraphPropertyJSON;
|
|
11
|
+
runProperty: RunPropertyJSON;
|
|
10
12
|
pstyle: string | null;
|
|
11
13
|
levelRestart: number | null;
|
|
12
14
|
};
|
package/dist/web/json/table.d.ts
CHANGED
|
@@ -30,12 +30,18 @@ export declare type TableRowPropertyJSON = {
|
|
|
30
30
|
widthBefore: number | null;
|
|
31
31
|
};
|
|
32
32
|
export declare type TableCellJSON = {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
type: "tableCell";
|
|
34
|
+
data: {
|
|
35
|
+
children: TableCellChildJSON[];
|
|
36
|
+
property: TableCellPropertyJSON;
|
|
37
|
+
};
|
|
35
38
|
};
|
|
36
39
|
export declare type TableRowJSON = {
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
type: "tableRow";
|
|
41
|
+
data: {
|
|
42
|
+
cells: TableCellJSON[];
|
|
43
|
+
property: TableRowPropertyJSON;
|
|
44
|
+
};
|
|
39
45
|
};
|
|
40
46
|
export declare type TableCellMarginJSON = {
|
|
41
47
|
val: number;
|
|
@@ -136,12 +136,6 @@ export enum StyleType {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
*/
|
|
139
|
-
export enum TableLayoutType {
|
|
140
|
-
Fixed,
|
|
141
|
-
Autofit,
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
*/
|
|
145
139
|
export enum WidthType {
|
|
146
140
|
DXA,
|
|
147
141
|
Auto,
|
|
@@ -173,16 +167,6 @@ export enum TableCellBorderPosition {
|
|
|
173
167
|
}
|
|
174
168
|
/**
|
|
175
169
|
*/
|
|
176
|
-
export enum TabLeaderType {
|
|
177
|
-
Dot,
|
|
178
|
-
Heavy,
|
|
179
|
-
Hyphen,
|
|
180
|
-
MiddleDot,
|
|
181
|
-
None,
|
|
182
|
-
Underscore,
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
*/
|
|
186
170
|
export enum VMergeType {
|
|
187
171
|
Continue,
|
|
188
172
|
Restart,
|
|
@@ -233,14 +217,6 @@ export enum DocGridType {
|
|
|
233
217
|
}
|
|
234
218
|
/**
|
|
235
219
|
*/
|
|
236
|
-
export enum FieldCharType {
|
|
237
|
-
Begin,
|
|
238
|
-
Separate,
|
|
239
|
-
End,
|
|
240
|
-
Unsupported,
|
|
241
|
-
}
|
|
242
|
-
/**
|
|
243
|
-
*/
|
|
244
220
|
export enum LineSpacingType {
|
|
245
221
|
Auto,
|
|
246
222
|
AtLeast,
|
|
@@ -261,17 +237,9 @@ export enum TabValueType {
|
|
|
261
237
|
}
|
|
262
238
|
/**
|
|
263
239
|
*/
|
|
264
|
-
export enum
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
Rl,
|
|
268
|
-
RlV,
|
|
269
|
-
Tb,
|
|
270
|
-
TbV,
|
|
271
|
-
TbRlV,
|
|
272
|
-
TbRl,
|
|
273
|
-
BtLr,
|
|
274
|
-
LrTbV,
|
|
240
|
+
export enum TableLayoutType {
|
|
241
|
+
Fixed,
|
|
242
|
+
Autofit,
|
|
275
243
|
}
|
|
276
244
|
/**
|
|
277
245
|
*/
|
|
@@ -283,6 +251,14 @@ export enum BreakType {
|
|
|
283
251
|
}
|
|
284
252
|
/**
|
|
285
253
|
*/
|
|
254
|
+
export enum FieldCharType {
|
|
255
|
+
Begin,
|
|
256
|
+
Separate,
|
|
257
|
+
End,
|
|
258
|
+
Unsupported,
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
*/
|
|
286
262
|
export enum ShdType {
|
|
287
263
|
Nil,
|
|
288
264
|
Clear,
|
|
@@ -325,6 +301,20 @@ export enum ShdType {
|
|
|
325
301
|
}
|
|
326
302
|
/**
|
|
327
303
|
*/
|
|
304
|
+
export enum TextDirectionType {
|
|
305
|
+
Lr,
|
|
306
|
+
LrV,
|
|
307
|
+
Rl,
|
|
308
|
+
RlV,
|
|
309
|
+
Tb,
|
|
310
|
+
TbV,
|
|
311
|
+
TbRlV,
|
|
312
|
+
TbRl,
|
|
313
|
+
BtLr,
|
|
314
|
+
LrTbV,
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
*/
|
|
328
318
|
export enum VertAlignType {
|
|
329
319
|
Baseline,
|
|
330
320
|
SuperScript,
|
|
@@ -402,6 +392,16 @@ export enum LevelSuffixType {
|
|
|
402
392
|
}
|
|
403
393
|
/**
|
|
404
394
|
*/
|
|
395
|
+
export enum TabLeaderType {
|
|
396
|
+
Dot,
|
|
397
|
+
Heavy,
|
|
398
|
+
Hyphen,
|
|
399
|
+
MiddleDot,
|
|
400
|
+
None,
|
|
401
|
+
Underscore,
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
*/
|
|
405
405
|
export class AbstractNumbering {
|
|
406
406
|
free(): void;
|
|
407
407
|
/**
|
|
@@ -411,9 +411,6 @@ export function createNumbering(id, abstract_num_id) {
|
|
|
411
411
|
export const StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1,"1":"Character",Numbering:2,"2":"Numbering",Table:3,"3":"Table",Unsupported:4,"4":"Unsupported", });
|
|
412
412
|
/**
|
|
413
413
|
*/
|
|
414
|
-
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
415
|
-
/**
|
|
416
|
-
*/
|
|
417
414
|
export const WidthType = Object.freeze({ DXA:0,"0":"DXA",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
|
|
418
415
|
/**
|
|
419
416
|
*/
|
|
@@ -423,9 +420,6 @@ export const TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1"
|
|
|
423
420
|
export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
|
|
424
421
|
/**
|
|
425
422
|
*/
|
|
426
|
-
export const TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
|
|
427
|
-
/**
|
|
428
|
-
*/
|
|
429
423
|
export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
|
|
430
424
|
/**
|
|
431
425
|
*/
|
|
@@ -447,24 +441,27 @@ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Han
|
|
|
447
441
|
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
448
442
|
/**
|
|
449
443
|
*/
|
|
450
|
-
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
451
|
-
/**
|
|
452
|
-
*/
|
|
453
444
|
export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
454
445
|
/**
|
|
455
446
|
*/
|
|
456
447
|
export const TabValueType = Object.freeze({ Bar:0,"0":"Bar",Center:1,"1":"Center",Clear:2,"2":"Clear",Decimal:3,"3":"Decimal",End:4,"4":"End",Right:5,"5":"Right",Num:6,"6":"Num",Start:7,"7":"Start",Left:8,"8":"Left", });
|
|
457
448
|
/**
|
|
458
449
|
*/
|
|
459
|
-
export const
|
|
450
|
+
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
460
451
|
/**
|
|
461
452
|
*/
|
|
462
453
|
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
463
454
|
/**
|
|
464
455
|
*/
|
|
456
|
+
export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
|
|
457
|
+
/**
|
|
458
|
+
*/
|
|
465
459
|
export const ShdType = Object.freeze({ Nil:0,"0":"Nil",Clear:1,"1":"Clear",Solid:2,"2":"Solid",HorzStripe:3,"3":"HorzStripe",VertStripe:4,"4":"VertStripe",ReverseDiagStripe:5,"5":"ReverseDiagStripe",DiagStripe:6,"6":"DiagStripe",HorzCross:7,"7":"HorzCross",DiagCross:8,"8":"DiagCross",ThinHorzStripe:9,"9":"ThinHorzStripe",ThinVertStripe:10,"10":"ThinVertStripe",ThinReverseDiagStripe:11,"11":"ThinReverseDiagStripe",ThinDiagStripe:12,"12":"ThinDiagStripe",ThinHorzCross:13,"13":"ThinHorzCross",ThinDiagCross:14,"14":"ThinDiagCross",Pct5:15,"15":"Pct5",Pct10:16,"16":"Pct10",Pct12:17,"17":"Pct12",Pct15:18,"18":"Pct15",Pct20:19,"19":"Pct20",Pct25:20,"20":"Pct25",Pct30:21,"21":"Pct30",Pct35:22,"22":"Pct35",Pct37:23,"23":"Pct37",Pct40:24,"24":"Pct40",Pct45:25,"25":"Pct45",Pct50:26,"26":"Pct50",Pct55:27,"27":"Pct55",Pct60:28,"28":"Pct60",Pct62:29,"29":"Pct62",Pct65:30,"30":"Pct65",Pct70:31,"31":"Pct70",Pct75:32,"32":"Pct75",Pct80:33,"33":"Pct80",Pct85:34,"34":"Pct85",Pct87:35,"35":"Pct87",Pct90:36,"36":"Pct90",Pct95:37,"37":"Pct95", });
|
|
466
460
|
/**
|
|
467
461
|
*/
|
|
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", });
|
|
463
|
+
/**
|
|
464
|
+
*/
|
|
468
465
|
export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
469
466
|
/**
|
|
470
467
|
*/
|
|
@@ -483,6 +480,9 @@ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLea
|
|
|
483
480
|
export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
|
|
484
481
|
/**
|
|
485
482
|
*/
|
|
483
|
+
export const TabLeaderType = Object.freeze({ Dot:0,"0":"Dot",Heavy:1,"1":"Heavy",Hyphen:2,"2":"Hyphen",MiddleDot:3,"3":"MiddleDot",None:4,"4":"None",Underscore:5,"5":"Underscore", });
|
|
484
|
+
/**
|
|
485
|
+
*/
|
|
486
486
|
export class AbstractNumbering {
|
|
487
487
|
|
|
488
488
|
static __wrap(ptr) {
|
|
Binary file
|
|
@@ -208,6 +208,7 @@ export function __wbg_footer_free(a: number): void;
|
|
|
208
208
|
export function createFooter(): number;
|
|
209
209
|
export function footer_add_paragraph(a: number, b: number): number;
|
|
210
210
|
export function footer_add_table(a: number, b: number): number;
|
|
211
|
+
export function __wbg_header_free(a: number): void;
|
|
211
212
|
export function createHeader(): number;
|
|
212
213
|
export function header_add_paragraph(a: number, b: number): number;
|
|
213
214
|
export function header_add_table(a: number, b: number): number;
|
|
@@ -223,7 +224,6 @@ export function linespacing_before_lines(a: number, b: number): number;
|
|
|
223
224
|
export function linespacing_after_lines(a: number, b: number): number;
|
|
224
225
|
export function linespacing_line(a: number, b: number): number;
|
|
225
226
|
export function insert_author(a: number, b: number, c: number): number;
|
|
226
|
-
export function __wbg_header_free(a: number): void;
|
|
227
227
|
export function __wbg_abstractnumbering_free(a: number): void;
|
|
228
228
|
export function createAbstractNumbering(a: number): number;
|
|
229
229
|
export function abstractnumbering_add_level(a: number, b: number): number;
|