docx-wasm 0.0.277-rc1 → 0.0.277-sdt1

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.
@@ -5,7 +5,8 @@ import { TextDirectionType } from "../table-cell";
5
5
  import { ShadingJSON } from "./shading";
6
6
  import { TableLayoutType } from "../table";
7
7
  import { DeleteJSONData, InsertJSONData } from "..";
8
- export declare type TableCellChildJSON = ParagraphJSON | TableJSON;
8
+ import { StructuredTagJSON } from "./structured-data-tag";
9
+ export declare type TableCellChildJSON = ParagraphJSON | TableJSON | StructuredTagJSON;
9
10
  export declare type WidthType = "dxa" | "auto" | "pct" | "nil";
10
11
  export { TextDirectionType } from "../table-cell";
11
12
  export { HeightRule } from "../table-row";
@@ -5,11 +5,29 @@
5
5
  */
6
6
  export function createTableOfContentsItem(): TableOfContentsItem;
7
7
  /**
8
+ * @returns {TableOfContents}
9
+ */
10
+ export function createTableOfContents(): TableOfContents;
11
+ /**
12
+ * @param {string} s
13
+ * @returns {TableOfContents}
14
+ */
15
+ export function createTableOfContentsWithInstrText(s: string): TableOfContents;
16
+ /**
8
17
  * @param {Run} run
9
18
  * @returns {Delete}
10
19
  */
11
20
  export function createDelete(run: Run): Delete;
12
21
  /**
22
+ * @returns {LineSpacing}
23
+ */
24
+ export function createLineSpacing(): LineSpacing;
25
+ /**
26
+ * @param {number} position
27
+ * @returns {TableCellBorder}
28
+ */
29
+ export function createTableCellBorder(position: number): TableCellBorder;
30
+ /**
13
31
  * @returns {TableRow}
14
32
  */
15
33
  export function createTableRow(): TableRow;
@@ -27,62 +45,44 @@ export function createHeader(): Header;
27
45
  */
28
46
  export function createInsert(run: Run): Insert;
29
47
  /**
30
- * @returns {LineSpacing}
31
- */
32
- export function createLineSpacing(): LineSpacing;
33
- /**
34
- * @param {number} position
35
- * @returns {TableCellBorder}
36
- */
37
- export function createTableCellBorder(position: number): TableCellBorder;
38
- /**
39
48
  * @returns {Table}
40
49
  */
41
50
  export function createTable(): Table;
42
51
  /**
43
- * @returns {TableOfContents}
44
- */
45
- export function createTableOfContents(): TableOfContents;
46
- /**
47
- * @param {string} s
48
- * @returns {TableOfContents}
49
- */
50
- export function createTableOfContentsWithInstrText(s: string): TableOfContents;
51
- /**
52
52
  * @param {number} id
53
53
  * @returns {AbstractNumbering}
54
54
  */
55
55
  export function createAbstractNumbering(id: number): AbstractNumbering;
56
56
  /**
57
57
  * @param {number} id
58
- * @param {number} start
59
- * @param {string} format
60
- * @param {string} text
61
- * @param {string} jc
62
- * @returns {Level}
63
- */
64
- export function createLevel(id: number, start: number, format: string, text: string, jc: string): Level;
65
- /**
66
- * @param {number} id
67
58
  * @param {number} abstract_num_id
68
59
  * @returns {Numbering}
69
60
  */
70
61
  export function createNumbering(id: number, abstract_num_id: number): Numbering;
71
62
  /**
63
+ * @returns {TableCell}
64
+ */
65
+ export function createTableCell(): TableCell;
66
+ /**
72
67
  * @param {number} id
73
68
  * @returns {Comment}
74
69
  */
75
70
  export function createComment(id: number): Comment;
76
71
  /**
72
+ * @param {number} id
73
+ * @param {number} start
74
+ * @param {string} format
75
+ * @param {string} text
76
+ * @param {string} jc
77
+ * @returns {Level}
78
+ */
79
+ export function createLevel(id: number, start: number, format: string, text: string, jc: string): Level;
80
+ /**
77
81
  * @param {Uint8Array} buf
78
82
  * @returns {Pic}
79
83
  */
80
84
  export function createPic(buf: Uint8Array): Pic;
81
85
  /**
82
- * @returns {TableCell}
83
- */
84
- export function createTableCell(): TableCell;
85
- /**
86
86
  * @param {string} v
87
87
  * @param {number} t
88
88
  * @returns {Hyperlink}
@@ -121,10 +121,6 @@ export function createParagraph(): Paragraph;
121
121
  */
122
122
  export function createStyle(style_id: string, style_type: number): Style;
123
123
  /**
124
- * @returns {Docx}
125
- */
126
- export function createDocx(): Docx;
127
- /**
128
124
  * @param {number} level
129
125
  * @returns {LevelOverride}
130
126
  */
@@ -134,6 +130,10 @@ export function createLevelOverride(level: number): LevelOverride;
134
130
  */
135
131
  export function createRun(): Run;
136
132
  /**
133
+ * @returns {Docx}
134
+ */
135
+ export function createDocx(): Docx;
136
+ /**
137
137
  * @returns {PageMargin}
138
138
  */
139
139
  export function createPageMargin(): PageMargin;
@@ -196,6 +196,12 @@ export enum HeightRule {
196
196
  }
197
197
  /**
198
198
  */
199
+ export enum HyperlinkType {
200
+ Anchor,
201
+ External,
202
+ }
203
+ /**
204
+ */
199
205
  export enum LevelSuffixType {
200
206
  Nothing,
201
207
  Space,
@@ -271,21 +277,6 @@ export enum RelativeFromVType {
271
277
  }
272
278
  /**
273
279
  */
274
- export enum BreakType {
275
- Page,
276
- Column,
277
- TextWrapping,
278
- Unsupported,
279
- }
280
- /**
281
- */
282
- export enum LineSpacingType {
283
- Auto,
284
- AtLeast,
285
- Exact,
286
- }
287
- /**
288
- */
289
280
  export enum TabValueType {
290
281
  Bar,
291
282
  Center,
@@ -313,6 +304,21 @@ export enum TextDirectionType {
313
304
  }
314
305
  /**
315
306
  */
307
+ export enum BreakType {
308
+ Page,
309
+ Column,
310
+ TextWrapping,
311
+ Unsupported,
312
+ }
313
+ /**
314
+ */
315
+ export enum LineSpacingType {
316
+ Auto,
317
+ AtLeast,
318
+ Exact,
319
+ }
320
+ /**
321
+ */
316
322
  export enum ShdType {
317
323
  Nil,
318
324
  Clear,
@@ -384,18 +390,6 @@ export enum AlignmentType {
384
390
  }
385
391
  /**
386
392
  */
387
- export enum HyperlinkType {
388
- Anchor,
389
- External,
390
- }
391
- /**
392
- */
393
- export enum SpecialIndentKind {
394
- FirstLine,
395
- Hanging,
396
- }
397
- /**
398
- */
399
393
  export enum TabLeaderType {
400
394
  Dot,
401
395
  Heavy,
@@ -427,6 +421,12 @@ export enum PageOrientationType {
427
421
  }
428
422
  /**
429
423
  */
424
+ export enum SpecialIndentKind {
425
+ FirstLine,
426
+ Hanging,
427
+ }
428
+ /**
429
+ */
430
430
  export enum TableAlignmentType {
431
431
  Center,
432
432
  Left,
@@ -1583,6 +1583,11 @@ export class TableCell {
1583
1583
  */
1584
1584
  add_table(t: Table): TableCell;
1585
1585
  /**
1586
+ * @param {TableOfContents} t
1587
+ * @returns {TableCell}
1588
+ */
1589
+ add_table_of_contents(t: TableOfContents): TableCell;
1590
+ /**
1586
1591
  * @param {number} t
1587
1592
  * @returns {TableCell}
1588
1593
  */
@@ -1710,6 +1715,12 @@ export class TableOfContents {
1710
1715
  */
1711
1716
  dirty(): TableOfContents;
1712
1717
  /**
1718
+ * @param {string} author
1719
+ * @param {string} date
1720
+ * @returns {TableOfContents}
1721
+ */
1722
+ delete(author: string, date: string): TableOfContents;
1723
+ /**
1713
1724
  * @param {Paragraph} p
1714
1725
  * @returns {TableOfContents}
1715
1726
  */
@@ -109,6 +109,24 @@ function passStringToWasm0(arg, malloc, realloc) {
109
109
  WASM_VECTOR_LEN = offset;
110
110
  return ptr;
111
111
  }
112
+ /**
113
+ * @returns {TableOfContents}
114
+ */
115
+ module.exports.createTableOfContents = function() {
116
+ var ret = wasm.createTableOfContents();
117
+ return TableOfContents.__wrap(ret);
118
+ };
119
+
120
+ /**
121
+ * @param {string} s
122
+ * @returns {TableOfContents}
123
+ */
124
+ module.exports.createTableOfContentsWithInstrText = function(s) {
125
+ var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
126
+ var len0 = WASM_VECTOR_LEN;
127
+ var ret = wasm.createTableOfContentsWithInstrText(ptr0, len0);
128
+ return TableOfContents.__wrap(ret);
129
+ };
112
130
 
113
131
  function _assertClass(instance, klass) {
114
132
  if (!(instance instanceof klass)) {
@@ -128,6 +146,30 @@ module.exports.createDelete = function(run) {
128
146
  return Delete.__wrap(ret);
129
147
  };
130
148
 
149
+ /**
150
+ * @returns {LineSpacing}
151
+ */
152
+ module.exports.createLineSpacing = function() {
153
+ var ret = wasm.createLineSpacing();
154
+ return LineSpacing.__wrap(ret);
155
+ };
156
+
157
+ /**
158
+ * @param {number} position
159
+ * @returns {TableCellBorder}
160
+ */
161
+ module.exports.createTableCellBorder = function(position) {
162
+ var ret = wasm.createTableCellBorder(position);
163
+ return TableCellBorder.__wrap(ret);
164
+ };
165
+
166
+ let cachegetInt32Memory0 = null;
167
+ function getInt32Memory0() {
168
+ if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
169
+ cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
170
+ }
171
+ return cachegetInt32Memory0;
172
+ }
131
173
  /**
132
174
  * @returns {TableRow}
133
175
  */
@@ -164,30 +206,6 @@ module.exports.createInsert = function(run) {
164
206
  return Insert.__wrap(ret);
165
207
  };
166
208
 
167
- /**
168
- * @returns {LineSpacing}
169
- */
170
- module.exports.createLineSpacing = function() {
171
- var ret = wasm.createLineSpacing();
172
- return LineSpacing.__wrap(ret);
173
- };
174
-
175
- /**
176
- * @param {number} position
177
- * @returns {TableCellBorder}
178
- */
179
- module.exports.createTableCellBorder = function(position) {
180
- var ret = wasm.createTableCellBorder(position);
181
- return TableCellBorder.__wrap(ret);
182
- };
183
-
184
- let cachegetInt32Memory0 = null;
185
- function getInt32Memory0() {
186
- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
187
- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
188
- }
189
- return cachegetInt32Memory0;
190
- }
191
209
  /**
192
210
  * @returns {Table}
193
211
  */
@@ -211,31 +229,39 @@ function passArray32ToWasm0(arg, malloc) {
211
229
  return ptr;
212
230
  }
213
231
  /**
214
- * @returns {TableOfContents}
232
+ * @param {number} id
233
+ * @returns {AbstractNumbering}
215
234
  */
216
- module.exports.createTableOfContents = function() {
217
- var ret = wasm.createTableOfContents();
218
- return TableOfContents.__wrap(ret);
235
+ module.exports.createAbstractNumbering = function(id) {
236
+ var ret = wasm.createAbstractNumbering(id);
237
+ return AbstractNumbering.__wrap(ret);
219
238
  };
220
239
 
221
240
  /**
222
- * @param {string} s
223
- * @returns {TableOfContents}
241
+ * @param {number} id
242
+ * @param {number} abstract_num_id
243
+ * @returns {Numbering}
224
244
  */
225
- module.exports.createTableOfContentsWithInstrText = function(s) {
226
- var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
227
- var len0 = WASM_VECTOR_LEN;
228
- var ret = wasm.createTableOfContentsWithInstrText(ptr0, len0);
229
- return TableOfContents.__wrap(ret);
245
+ module.exports.createNumbering = function(id, abstract_num_id) {
246
+ var ret = wasm.createNumbering(id, abstract_num_id);
247
+ return Numbering.__wrap(ret);
248
+ };
249
+
250
+ /**
251
+ * @returns {TableCell}
252
+ */
253
+ module.exports.createTableCell = function() {
254
+ var ret = wasm.createTableCell();
255
+ return TableCell.__wrap(ret);
230
256
  };
231
257
 
232
258
  /**
233
259
  * @param {number} id
234
- * @returns {AbstractNumbering}
260
+ * @returns {Comment}
235
261
  */
236
- module.exports.createAbstractNumbering = function(id) {
237
- var ret = wasm.createAbstractNumbering(id);
238
- return AbstractNumbering.__wrap(ret);
262
+ module.exports.createComment = function(id) {
263
+ var ret = wasm.createComment(id);
264
+ return Comment.__wrap(ret);
239
265
  };
240
266
 
241
267
  /**
@@ -260,24 +286,6 @@ module.exports.createLevel = function(id, start, format, text, jc) {
260
286
  function isLikeNone(x) {
261
287
  return x === undefined || x === null;
262
288
  }
263
- /**
264
- * @param {number} id
265
- * @param {number} abstract_num_id
266
- * @returns {Numbering}
267
- */
268
- module.exports.createNumbering = function(id, abstract_num_id) {
269
- var ret = wasm.createNumbering(id, abstract_num_id);
270
- return Numbering.__wrap(ret);
271
- };
272
-
273
- /**
274
- * @param {number} id
275
- * @returns {Comment}
276
- */
277
- module.exports.createComment = function(id) {
278
- var ret = wasm.createComment(id);
279
- return Comment.__wrap(ret);
280
- };
281
289
 
282
290
  function passArray8ToWasm0(arg, malloc) {
283
291
  const ptr = malloc(arg.length * 1);
@@ -296,14 +304,6 @@ module.exports.createPic = function(buf) {
296
304
  return Pic.__wrap(ret);
297
305
  };
298
306
 
299
- /**
300
- * @returns {TableCell}
301
- */
302
- module.exports.createTableCell = function() {
303
- var ret = wasm.createTableCell();
304
- return TableCell.__wrap(ret);
305
- };
306
-
307
307
  /**
308
308
  * @param {string} v
309
309
  * @param {number} t
@@ -394,17 +394,6 @@ module.exports.createStyle = function(style_id, style_type) {
394
394
  return Style.__wrap(ret);
395
395
  };
396
396
 
397
- /**
398
- * @returns {Docx}
399
- */
400
- module.exports.createDocx = function() {
401
- var ret = wasm.createDocx();
402
- return Docx.__wrap(ret);
403
- };
404
-
405
- function getArrayU8FromWasm0(ptr, len) {
406
- return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
407
- }
408
397
  /**
409
398
  * @param {number} level
410
399
  * @returns {LevelOverride}
@@ -422,6 +411,17 @@ module.exports.createRun = function() {
422
411
  return Run.__wrap(ret);
423
412
  };
424
413
 
414
+ /**
415
+ * @returns {Docx}
416
+ */
417
+ module.exports.createDocx = function() {
418
+ var ret = wasm.createDocx();
419
+ return Docx.__wrap(ret);
420
+ };
421
+
422
+ function getArrayU8FromWasm0(ptr, len) {
423
+ return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
424
+ }
425
425
  /**
426
426
  * @returns {PageMargin}
427
427
  */
@@ -444,6 +444,9 @@ module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",
444
444
  module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
445
445
  /**
446
446
  */
447
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
448
+ /**
449
+ */
447
450
  module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
448
451
  /**
449
452
  */
@@ -500,16 +503,16 @@ RightMargin:7,"7":"RightMargin", });
500
503
  module.exports.RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMargin",InsideMargin:1,"1":"InsideMargin",Line:2,"2":"Line",Margin:3,"3":"Margin",OutsizeMargin:4,"4":"OutsizeMargin",Page:5,"5":"Page",Paragraph:6,"6":"Paragraph",TopMargin:7,"7":"TopMargin", });
501
504
  /**
502
505
  */
503
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
506
+ 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", });
504
507
  /**
505
508
  */
506
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
509
+ 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", });
507
510
  /**
508
511
  */
509
- 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", });
512
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
510
513
  /**
511
514
  */
512
- 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", });
515
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
513
516
  /**
514
517
  */
515
518
  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", });
@@ -524,12 +527,6 @@ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center
524
527
  module.exports.AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",Start:3,"3":"Start",End:4,"4":"End",Left:5,"5":"Left",Right:6,"6":"Right",Justified:7,"7":"Justified",Unsupported:8,"8":"Unsupported", });
525
528
  /**
526
529
  */
527
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
528
- /**
529
- */
530
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
531
- /**
532
- */
533
530
  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", });
534
531
  /**
535
532
  */
@@ -542,6 +539,9 @@ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1
542
539
  module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
543
540
  /**
544
541
  */
542
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
543
+ /**
544
+ */
545
545
  module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
546
546
  /**
547
547
  */
@@ -3077,6 +3077,18 @@ class TableCell {
3077
3077
  return TableCell.__wrap(ret);
3078
3078
  }
3079
3079
  /**
3080
+ * @param {TableOfContents} t
3081
+ * @returns {TableCell}
3082
+ */
3083
+ add_table_of_contents(t) {
3084
+ const ptr = this.__destroy_into_raw();
3085
+ _assertClass(t, TableOfContents);
3086
+ var ptr0 = t.ptr;
3087
+ t.ptr = 0;
3088
+ var ret = wasm.tablecell_add_table_of_contents(ptr, ptr0);
3089
+ return TableCell.__wrap(ret);
3090
+ }
3091
+ /**
3080
3092
  * @param {number} t
3081
3093
  * @returns {TableCell}
3082
3094
  */
@@ -3371,6 +3383,20 @@ class TableOfContents {
3371
3383
  return TableOfContents.__wrap(ret);
3372
3384
  }
3373
3385
  /**
3386
+ * @param {string} author
3387
+ * @param {string} date
3388
+ * @returns {TableOfContents}
3389
+ */
3390
+ delete(author, date) {
3391
+ const ptr = this.__destroy_into_raw();
3392
+ var ptr0 = passStringToWasm0(author, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3393
+ var len0 = WASM_VECTOR_LEN;
3394
+ var ptr1 = passStringToWasm0(date, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3395
+ var len1 = WASM_VECTOR_LEN;
3396
+ var ret = wasm.tableofcontents_delete(ptr, ptr0, len0, ptr1, len1);
3397
+ return TableOfContents.__wrap(ret);
3398
+ }
3399
+ /**
3374
3400
  * @param {Paragraph} p
3375
3401
  * @returns {TableOfContents}
3376
3402
  */
Binary file