docx-wasm 0.4.18-rc44 → 0.4.18-rc45

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.
@@ -176,158 +176,35 @@ export function createTableOfContentsWithInstrText(s: string): TableOfContents;
176
176
  export function createTableOfContentsItem(): TableOfContentsItem;
177
177
  /**
178
178
  */
179
- export enum BorderType {
180
- Nil,
181
- None,
182
- Single,
183
- Thick,
184
- Double,
185
- Dotted,
186
- Dashed,
187
- DotDash,
188
- DotDotDash,
189
- Triple,
190
- ThinThickSmallGap,
191
- ThickThinSmallGap,
192
- ThinThickThinSmallGap,
193
- ThinThickMediumGap,
194
- ThickThinMediumGap,
195
- ThinThickThinMediumGap,
196
- ThinThickLargeGap,
197
- ThickThinLargeGap,
198
- ThinThickThinLargeGap,
199
- Wave,
200
- DoubleWave,
201
- DashSmallGap,
202
- DashDotStroked,
203
- ThreeDEmboss,
204
- ThreeDEngrave,
205
- Outset,
206
- Inset,
207
- Apples,
208
- ArchedScallops,
209
- BabyPacifier,
210
- BabyRattle,
211
- }
212
- /**
213
- */
214
- export enum DocGridType {
215
- Default,
216
- Lines,
217
- LinesAndChars,
218
- SnapToChars,
219
- }
220
- /**
221
- */
222
- export enum DrawingPositionType {
223
- Anchor,
224
- Inline,
225
- }
226
- /**
227
- */
228
- export enum PicAlign {
179
+ export enum TableBorderPosition {
229
180
  Left,
230
181
  Right,
231
- Center,
232
- Bottom,
233
182
  Top,
183
+ Bottom,
184
+ InsideH,
185
+ InsideV,
234
186
  }
235
187
  /**
236
188
  */
237
- export enum HyperlinkType {
238
- Anchor,
239
- External,
240
- }
241
- /**
242
- */
243
- export enum LineSpacingType {
244
- Auto,
245
- AtLeast,
246
- Exact,
247
- }
248
- /**
249
- */
250
- export enum PageOrientationType {
251
- Landscape,
252
- Portrait,
253
- }
254
- /**
255
- */
256
- export enum RelativeFromHType {
257
- /**
258
- * Specifies that the horizontal positioning shall be
259
- * relative to the position of the anchor within its run
260
- * content.
261
- */
262
- Character,
263
- /**
264
- * Specifies that the horizontal positioning shall be
265
- * relative to the extents of the column which contains its
266
- * anchor.
267
- */
268
- Column,
269
- /**
270
- * Specifies that the horizontal positioning shall be
271
- * relative to the inside margin of the current page (the
272
- * left margin on odd pages, right on even pages).
273
- */
274
- InsideMargin,
275
- /**
276
- * Specifies that the horizontal positioning shall be
277
- * relative to the left margin of the page.
278
- */
279
- LeftMargin,
280
- /**
281
- * Specifies that the horizontal positioning shall be
282
- * relative to the page margins.
283
- */
284
- Margin,
285
- /**
286
- * Specifies that the horizontal positioning shall be
287
- * relative to the outside margin of the current page (the
288
- * right margin on odd pages, left on even pages).
289
- */
290
- OutsizeMargin,
291
- /**
292
- * Specifies that the horizontal positioning shall be
293
- * relative to the edge of the page.
294
- */
295
- Page,
296
- /**
297
- * Specifies that the horizontal positioning shall be
298
- * relative to the right margin of the page.
299
- */
300
- RightMargin,
301
- }
302
- /**
303
- */
304
- export enum RelativeFromVType {
305
- BottomMargin,
306
- InsideMargin,
307
- Line,
308
- Margin,
309
- OutsizeMargin,
310
- Page,
311
- Paragraph,
312
- TopMargin,
313
- }
314
- /**
315
- */
316
- export enum SectionType {
317
- NextPage,
318
- NextColumn,
319
- Continuous,
320
- EvenPage,
321
- OddPage,
189
+ export enum TableCellBorderPosition {
190
+ Left,
191
+ Right,
192
+ Top,
193
+ Bottom,
194
+ InsideH,
195
+ InsideV,
196
+ Tl2br,
197
+ Tr2bl,
322
198
  }
323
199
  /**
324
200
  */
325
- export enum WidthType {
326
- Dxa,
327
- Auto,
328
- Pct,
329
- Nil,
330
- Unsupported,
201
+ export enum ParagraphBorderPosition {
202
+ Left,
203
+ Right,
204
+ Top,
205
+ Bottom,
206
+ Between,
207
+ Bar,
331
208
  }
332
209
  /**
333
210
  */
@@ -338,39 +215,24 @@ export enum FontPitchType {
338
215
  }
339
216
  /**
340
217
  */
341
- export enum AlignmentType {
342
- Both,
343
- Center,
344
- Distribute,
345
- Start,
346
- End,
347
- Left,
348
- Right,
349
- Justified,
218
+ export enum TabLeaderType {
219
+ Dot,
220
+ Heavy,
221
+ Hyphen,
222
+ MiddleDot,
223
+ None,
224
+ Underscore,
350
225
  }
351
226
  /**
352
227
  */
353
- export enum FieldCharType {
354
- Begin,
355
- Separate,
356
- End,
228
+ export enum VertAlignType {
229
+ Baseline,
230
+ SuperScript,
231
+ SubScript,
357
232
  Unsupported,
358
233
  }
359
234
  /**
360
235
  */
361
- export enum SpecialIndentKind {
362
- FirstLine,
363
- Hanging,
364
- }
365
- /**
366
- */
367
- export enum TableAlignmentType {
368
- Center,
369
- Left,
370
- Right,
371
- }
372
- /**
373
- */
374
236
  export enum PositionalTabAlignmentType {
375
237
  Center,
376
238
  Left,
@@ -456,25 +318,23 @@ export enum TextDirectionType {
456
318
  }
457
319
  /**
458
320
  */
459
- export enum VMergeType {
460
- Continue,
461
- Restart,
462
- Unsupported,
321
+ export enum TableLayoutType {
322
+ Fixed,
323
+ Autofit,
463
324
  }
464
325
  /**
465
326
  */
466
- export enum VertAlignType {
467
- Baseline,
468
- SuperScript,
469
- SubScript,
327
+ export enum VAlignType {
328
+ Top,
329
+ Center,
330
+ Bottom,
470
331
  Unsupported,
471
332
  }
472
333
  /**
473
334
  */
474
- export enum BreakType {
475
- Page,
476
- Column,
477
- TextWrapping,
335
+ export enum VMergeType {
336
+ Continue,
337
+ Restart,
478
338
  Unsupported,
479
339
  }
480
340
  /**
@@ -516,59 +376,199 @@ export enum StyleType {
516
376
  }
517
377
  /**
518
378
  */
519
- export enum VAlignType {
520
- Top,
379
+ export enum AlignmentType {
380
+ Both,
521
381
  Center,
522
- Bottom,
382
+ Distribute,
383
+ Start,
384
+ End,
385
+ Left,
386
+ Right,
387
+ Justified,
388
+ }
389
+ /**
390
+ */
391
+ export enum FieldCharType {
392
+ Begin,
393
+ Separate,
394
+ End,
523
395
  Unsupported,
524
396
  }
525
397
  /**
526
398
  */
527
- export enum TableBorderPosition {
528
- Left,
529
- Right,
530
- Top,
531
- Bottom,
532
- InsideH,
533
- InsideV,
399
+ export enum SpecialIndentKind {
400
+ FirstLine,
401
+ Hanging,
534
402
  }
535
403
  /**
536
404
  */
537
- export enum TableCellBorderPosition {
405
+ export enum TableAlignmentType {
406
+ Center,
538
407
  Left,
539
408
  Right,
540
- Top,
541
- Bottom,
542
- InsideH,
543
- InsideV,
544
- Tl2br,
545
- Tr2bl,
546
409
  }
547
410
  /**
548
411
  */
549
- export enum ParagraphBorderPosition {
412
+ export enum BreakType {
413
+ Page,
414
+ Column,
415
+ TextWrapping,
416
+ Unsupported,
417
+ }
418
+ /**
419
+ */
420
+ export enum BorderType {
421
+ Nil,
422
+ None,
423
+ Single,
424
+ Thick,
425
+ Double,
426
+ Dotted,
427
+ Dashed,
428
+ DotDash,
429
+ DotDotDash,
430
+ Triple,
431
+ ThinThickSmallGap,
432
+ ThickThinSmallGap,
433
+ ThinThickThinSmallGap,
434
+ ThinThickMediumGap,
435
+ ThickThinMediumGap,
436
+ ThinThickThinMediumGap,
437
+ ThinThickLargeGap,
438
+ ThickThinLargeGap,
439
+ ThinThickThinLargeGap,
440
+ Wave,
441
+ DoubleWave,
442
+ DashSmallGap,
443
+ DashDotStroked,
444
+ ThreeDEmboss,
445
+ ThreeDEngrave,
446
+ Outset,
447
+ Inset,
448
+ Apples,
449
+ ArchedScallops,
450
+ BabyPacifier,
451
+ BabyRattle,
452
+ }
453
+ /**
454
+ */
455
+ export enum DocGridType {
456
+ Default,
457
+ Lines,
458
+ LinesAndChars,
459
+ SnapToChars,
460
+ }
461
+ /**
462
+ */
463
+ export enum DrawingPositionType {
464
+ Anchor,
465
+ Inline,
466
+ }
467
+ /**
468
+ */
469
+ export enum PicAlign {
550
470
  Left,
551
471
  Right,
552
- Top,
472
+ Center,
553
473
  Bottom,
554
- Between,
555
- Bar,
474
+ Top,
556
475
  }
557
476
  /**
558
477
  */
559
- export enum TabLeaderType {
560
- Dot,
561
- Heavy,
562
- Hyphen,
563
- MiddleDot,
564
- None,
565
- Underscore,
478
+ export enum HyperlinkType {
479
+ Anchor,
480
+ External,
566
481
  }
567
482
  /**
568
483
  */
569
- export enum TableLayoutType {
570
- Fixed,
571
- Autofit,
484
+ export enum LineSpacingType {
485
+ Auto,
486
+ AtLeast,
487
+ Exact,
488
+ }
489
+ /**
490
+ */
491
+ export enum PageOrientationType {
492
+ Landscape,
493
+ Portrait,
494
+ }
495
+ /**
496
+ */
497
+ export enum RelativeFromHType {
498
+ /**
499
+ * Specifies that the horizontal positioning shall be
500
+ * relative to the position of the anchor within its run
501
+ * content.
502
+ */
503
+ Character,
504
+ /**
505
+ * Specifies that the horizontal positioning shall be
506
+ * relative to the extents of the column which contains its
507
+ * anchor.
508
+ */
509
+ Column,
510
+ /**
511
+ * Specifies that the horizontal positioning shall be
512
+ * relative to the inside margin of the current page (the
513
+ * left margin on odd pages, right on even pages).
514
+ */
515
+ InsideMargin,
516
+ /**
517
+ * Specifies that the horizontal positioning shall be
518
+ * relative to the left margin of the page.
519
+ */
520
+ LeftMargin,
521
+ /**
522
+ * Specifies that the horizontal positioning shall be
523
+ * relative to the page margins.
524
+ */
525
+ Margin,
526
+ /**
527
+ * Specifies that the horizontal positioning shall be
528
+ * relative to the outside margin of the current page (the
529
+ * right margin on odd pages, left on even pages).
530
+ */
531
+ OutsizeMargin,
532
+ /**
533
+ * Specifies that the horizontal positioning shall be
534
+ * relative to the edge of the page.
535
+ */
536
+ Page,
537
+ /**
538
+ * Specifies that the horizontal positioning shall be
539
+ * relative to the right margin of the page.
540
+ */
541
+ RightMargin,
542
+ }
543
+ /**
544
+ */
545
+ export enum RelativeFromVType {
546
+ BottomMargin,
547
+ InsideMargin,
548
+ Line,
549
+ Margin,
550
+ OutsizeMargin,
551
+ Page,
552
+ Paragraph,
553
+ TopMargin,
554
+ }
555
+ /**
556
+ */
557
+ export enum SectionType {
558
+ NextPage,
559
+ NextColumn,
560
+ Continuous,
561
+ EvenPage,
562
+ OddPage,
563
+ }
564
+ /**
565
+ */
566
+ export enum WidthType {
567
+ Dxa,
568
+ Auto,
569
+ Pct,
570
+ Nil,
571
+ Unsupported,
572
572
  }
573
573
  /**
574
574
  */