docx-wasm 0.4.12-beta10 → 0.4.12-beta11

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.
Files changed (28) hide show
  1. package/dist/node/json/bindings/BorderType.d.ts +1 -1
  2. package/dist/node/json/bindings/BorderType.js +0 -1
  3. package/dist/node/json/bindings/BorderType.js.map +1 -1
  4. package/dist/node/json/bindings/TableCellBorder.d.ts +9 -0
  5. package/dist/node/json/bindings/TableCellBorder.js +3 -0
  6. package/dist/node/json/bindings/TableCellBorder.js.map +1 -0
  7. package/dist/node/json/bindings/TableCellBorderPosition.d.ts +1 -0
  8. package/dist/node/json/bindings/TableCellBorderPosition.js +3 -0
  9. package/dist/node/json/bindings/TableCellBorderPosition.js.map +1 -0
  10. package/dist/node/pkg/docx_wasm.d.ts +132 -132
  11. package/dist/node/pkg/docx_wasm.js +25 -25
  12. package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
  13. package/dist/web/json/bindings/BorderType.d.ts +1 -1
  14. package/dist/web/json/bindings/BorderType.js +0 -1
  15. package/dist/web/json/bindings/BorderType.js.map +1 -1
  16. package/dist/web/json/bindings/TableCellBorder.d.ts +9 -0
  17. package/dist/web/json/bindings/TableCellBorder.js +2 -0
  18. package/dist/web/json/bindings/TableCellBorder.js.map +1 -0
  19. package/dist/web/json/bindings/TableCellBorderPosition.d.ts +1 -0
  20. package/dist/web/json/bindings/TableCellBorderPosition.js +2 -0
  21. package/dist/web/json/bindings/TableCellBorderPosition.js.map +1 -0
  22. package/dist/web/pkg/docx_wasm.d.ts +132 -132
  23. package/dist/web/pkg/docx_wasm_bg.js +25 -25
  24. package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
  25. package/js/json/bindings/BorderType.ts +1 -2
  26. package/js/json/bindings/TableCellBorder.ts +4 -0
  27. package/js/json/bindings/TableCellBorderPosition.ts +2 -0
  28. package/package.json +1 -1
@@ -1 +1 @@
1
- export declare type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotdash" | "dotdotdash" | "triple" | "thinthicksmallgap" | "thickthinsmallgap" | "thinthickthinsmallgap" | "thinthickmediumgap" | "thickthinmediumgap" | "thinthickthinmediumgap" | "thinthicklargegap" | "thickthinlargegap" | "thinthickthinlargegap" | "wave" | "doublewave" | "dashsmallgap" | "dashdotstroked" | "threedemboss" | "threedengrave" | "outset" | "inset" | "apples" | "archedscallops" | "babypacifier" | "babyrattle";
1
+ export declare type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotDash" | "dotDotDash" | "triple" | "thinThickSmallGap" | "thickThinSmallGap" | "thinThickThinSmallGap" | "thinThickMediumGap" | "thickThinMediumGap" | "thinThickThinMediumGap" | "thinThickLargeGap" | "thickThinLargeGap" | "thinThickThinLargeGap" | "wave" | "doubleWave" | "dashSmallGap" | "dashDotStroked" | "threeDEmboss" | "threeDEngrave" | "outset" | "inset" | "apples" | "archedScallops" | "babyPacifier" | "babyRattle";
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  //# sourceMappingURL=BorderType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BorderType.js","sourceRoot":"","sources":["../../../../js/json/bindings/BorderType.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
1
+ {"version":3,"file":"BorderType.js","sourceRoot":"","sources":["../../../../js/json/bindings/BorderType.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { BorderType } from "./BorderType";
2
+ import type { TableCellBorderPosition } from "./TableCellBorderPosition";
3
+ export interface TableCellBorder {
4
+ borderType: BorderType;
5
+ size: number;
6
+ color: string;
7
+ position: TableCellBorderPosition;
8
+ space: number;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TableCellBorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCellBorder.js","sourceRoot":"","sources":["../../../../js/json/bindings/TableCellBorder.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare type TableCellBorderPosition = "left" | "right" | "top" | "bottom" | "insideH" | "insideV" | "tl2Br" | "tr2Bl";
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TableCellBorderPosition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCellBorderPosition.js","sourceRoot":"","sources":["../../../../js/json/bindings/TableCellBorderPosition.ts"],"names":[],"mappings":""}
@@ -156,6 +156,25 @@ export enum LineSpacingType {
156
156
  }
157
157
  /**
158
158
  */
159
+ export enum SpecialIndentKind {
160
+ FirstLine,
161
+ Hanging,
162
+ }
163
+ /**
164
+ */
165
+ export enum VMergeType {
166
+ Continue,
167
+ Restart,
168
+ Unsupported,
169
+ }
170
+ /**
171
+ */
172
+ export enum PageOrientationType {
173
+ Landscape,
174
+ Portrait,
175
+ }
176
+ /**
177
+ */
159
178
  export enum RelativeFromHType {
160
179
  /**
161
180
  * Specifies that the horizontal positioning shall be
@@ -216,19 +235,6 @@ export enum RelativeFromVType {
216
235
  }
217
236
  /**
218
237
  */
219
- export enum VMergeType {
220
- Continue,
221
- Restart,
222
- Unsupported,
223
- }
224
- /**
225
- */
226
- export enum PageOrientationType {
227
- Landscape,
228
- Portrait,
229
- }
230
- /**
231
- */
232
238
  export enum SectionType {
233
239
  NextPage,
234
240
  NextColumn,
@@ -238,6 +244,95 @@ export enum SectionType {
238
244
  }
239
245
  /**
240
246
  */
247
+ export enum TableBorderPosition {
248
+ Left,
249
+ Right,
250
+ Top,
251
+ Bottom,
252
+ InsideH,
253
+ InsideV,
254
+ }
255
+ /**
256
+ */
257
+ export enum TableCellBorderPosition {
258
+ Left,
259
+ Right,
260
+ Top,
261
+ Bottom,
262
+ InsideH,
263
+ InsideV,
264
+ Tl2br,
265
+ Tr2bl,
266
+ }
267
+ /**
268
+ */
269
+ export enum ParagraphBorderPosition {
270
+ Left,
271
+ Right,
272
+ Top,
273
+ Bottom,
274
+ Between,
275
+ Bar,
276
+ }
277
+ /**
278
+ */
279
+ export enum BorderType {
280
+ Nil,
281
+ None,
282
+ Single,
283
+ Thick,
284
+ Double,
285
+ Dotted,
286
+ Dashed,
287
+ DotDash,
288
+ DotDotDash,
289
+ Triple,
290
+ ThinThickSmallGap,
291
+ ThickThinSmallGap,
292
+ ThinThickThinSmallGap,
293
+ ThinThickMediumGap,
294
+ ThickThinMediumGap,
295
+ ThinThickThinMediumGap,
296
+ ThinThickLargeGap,
297
+ ThickThinLargeGap,
298
+ ThinThickThinLargeGap,
299
+ Wave,
300
+ DoubleWave,
301
+ DashSmallGap,
302
+ DashDotStroked,
303
+ ThreeDEmboss,
304
+ ThreeDEngrave,
305
+ Outset,
306
+ Inset,
307
+ Apples,
308
+ ArchedScallops,
309
+ BabyPacifier,
310
+ BabyRattle,
311
+ }
312
+ /**
313
+ */
314
+ export enum StyleType {
315
+ Paragraph,
316
+ Character,
317
+ Numbering,
318
+ Table,
319
+ Unsupported,
320
+ }
321
+ /**
322
+ */
323
+ export enum TabValueType {
324
+ Bar,
325
+ Center,
326
+ Clear,
327
+ Decimal,
328
+ End,
329
+ Right,
330
+ Num,
331
+ Start,
332
+ Left,
333
+ }
334
+ /**
335
+ */
241
336
  export enum TextDirectionType {
242
337
  Lr,
243
338
  LrV,
@@ -260,6 +355,12 @@ export enum DocGridType {
260
355
  }
261
356
  /**
262
357
  */
358
+ export enum HyperlinkType {
359
+ Anchor,
360
+ External,
361
+ }
362
+ /**
363
+ */
263
364
  export enum ShdType {
264
365
  Nil,
265
366
  Clear,
@@ -302,60 +403,6 @@ export enum ShdType {
302
403
  }
303
404
  /**
304
405
  */
305
- export enum StyleType {
306
- Paragraph,
307
- Character,
308
- Numbering,
309
- Table,
310
- Unsupported,
311
- }
312
- /**
313
- */
314
- export enum TabValueType {
315
- Bar,
316
- Center,
317
- Clear,
318
- Decimal,
319
- End,
320
- Right,
321
- Num,
322
- Start,
323
- Left,
324
- }
325
- /**
326
- */
327
- export enum TableBorderPosition {
328
- Left,
329
- Right,
330
- Top,
331
- Bottom,
332
- InsideH,
333
- InsideV,
334
- }
335
- /**
336
- */
337
- export enum TableCellBorderPosition {
338
- Left,
339
- Right,
340
- Top,
341
- Bottom,
342
- InsideH,
343
- InsideV,
344
- Tl2br,
345
- Tr2bl,
346
- }
347
- /**
348
- */
349
- export enum ParagraphBorderPosition {
350
- Left,
351
- Right,
352
- Top,
353
- Bottom,
354
- Between,
355
- Bar,
356
- }
357
- /**
358
- */
359
406
  export enum CharacterSpacingValues {
360
407
  DoNotCompress,
361
408
  CompressPunctuation,
@@ -364,12 +411,6 @@ export enum CharacterSpacingValues {
364
411
  }
365
412
  /**
366
413
  */
367
- export enum HyperlinkType {
368
- Anchor,
369
- External,
370
- }
371
- /**
372
- */
373
414
  export enum TableAlignmentType {
374
415
  Center,
375
416
  Left,
@@ -419,6 +460,20 @@ export enum PicAlign {
419
460
  }
420
461
  /**
421
462
  */
463
+ export enum HeightRule {
464
+ Auto,
465
+ AtLeast,
466
+ Exact,
467
+ }
468
+ /**
469
+ */
470
+ export enum LevelSuffixType {
471
+ Nothing,
472
+ Space,
473
+ Tab,
474
+ }
475
+ /**
476
+ */
422
477
  export enum TextAlignmentType {
423
478
  Auto,
424
479
  Baseline,
@@ -444,55 +499,6 @@ export enum VAlignType {
444
499
  }
445
500
  /**
446
501
  */
447
- export enum BorderType {
448
- Nil,
449
- None,
450
- Single,
451
- Thick,
452
- Double,
453
- Dotted,
454
- Dashed,
455
- DotDash,
456
- DotDotDash,
457
- Triple,
458
- ThinThickSmallGap,
459
- ThickThinSmallGap,
460
- ThinThickThinSmallGap,
461
- ThinThickMediumGap,
462
- ThickThinMediumGap,
463
- ThinThickThinMediumGap,
464
- ThinThickLargeGap,
465
- ThickThinLargeGap,
466
- ThinThickThinLargeGap,
467
- Wave,
468
- DoubleWave,
469
- DashSmallGap,
470
- DashDotStroked,
471
- ThreeDEmboss,
472
- ThreeDEngrave,
473
- Outset,
474
- Inset,
475
- Apples,
476
- ArchedScallops,
477
- BabyPacifier,
478
- BabyRattle,
479
- }
480
- /**
481
- */
482
- export enum HeightRule {
483
- Auto,
484
- AtLeast,
485
- Exact,
486
- }
487
- /**
488
- */
489
- export enum LevelSuffixType {
490
- Nothing,
491
- Space,
492
- Tab,
493
- }
494
- /**
495
- */
496
502
  export enum FieldCharType {
497
503
  Begin,
498
504
  Separate,
@@ -501,13 +507,6 @@ export enum FieldCharType {
501
507
  }
502
508
  /**
503
509
  */
504
- export enum FontPitchType {
505
- Default,
506
- Fixed,
507
- Variable,
508
- }
509
- /**
510
- */
511
510
  export enum TabLeaderType {
512
511
  Dot,
513
512
  Heavy,
@@ -527,9 +526,10 @@ export enum WidthType {
527
526
  }
528
527
  /**
529
528
  */
530
- export enum SpecialIndentKind {
531
- FirstLine,
532
- Hanging,
529
+ export enum FontPitchType {
530
+ Default,
531
+ Fixed,
532
+ Variable,
533
533
  }
534
534
  /**
535
535
  */
@@ -456,6 +456,15 @@ module.exports.createParagraph = function() {
456
456
  module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
457
457
  /**
458
458
  */
459
+ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
460
+ /**
461
+ */
462
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
463
+ /**
464
+ */
465
+ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
466
+ /**
467
+ */
459
468
  module.exports.RelativeFromHType = Object.freeze({
460
469
  /**
461
470
  * Specifies that the horizontal positioning shall be
@@ -506,22 +515,19 @@ RightMargin:7,"7":"RightMargin", });
506
515
  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", });
507
516
  /**
508
517
  */
509
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
510
- /**
511
- */
512
- module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
518
+ module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
513
519
  /**
514
520
  */
515
- module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
521
+ module.exports.TableBorderPosition = 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", });
516
522
  /**
517
523
  */
518
- 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", });
524
+ 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", });
519
525
  /**
520
526
  */
521
- module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
527
+ module.exports.ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
522
528
  /**
523
529
  */
524
- 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", });
530
+ module.exports.BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
525
531
  /**
526
532
  */
527
533
  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", });
@@ -530,19 +536,19 @@ module.exports.StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character
530
536
  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", });
531
537
  /**
532
538
  */
533
- module.exports.TableBorderPosition = 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", });
539
+ 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", });
534
540
  /**
535
541
  */
536
- 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", });
542
+ module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
537
543
  /**
538
544
  */
539
- module.exports.ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
545
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
540
546
  /**
541
547
  */
542
- module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
548
+ 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", });
543
549
  /**
544
550
  */
545
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
551
+ module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
546
552
  /**
547
553
  */
548
554
  module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
@@ -563,37 +569,31 @@ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inlin
563
569
  module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
564
570
  /**
565
571
  */
566
- module.exports.TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
567
- /**
568
- */
569
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
572
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
570
573
  /**
571
574
  */
572
- module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
575
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
573
576
  /**
574
577
  */
575
- module.exports.BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
578
+ module.exports.TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
576
579
  /**
577
580
  */
578
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
581
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
579
582
  /**
580
583
  */
581
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
584
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
582
585
  /**
583
586
  */
584
587
  module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
585
588
  /**
586
589
  */
587
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
588
- /**
589
- */
590
590
  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", });
591
591
  /**
592
592
  */
593
593
  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", });
594
594
  /**
595
595
  */
596
- module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
596
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
597
597
  /**
598
598
  */
599
599
  class AbstractNumbering {
Binary file
@@ -1 +1 @@
1
- export declare type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotdash" | "dotdotdash" | "triple" | "thinthicksmallgap" | "thickthinsmallgap" | "thinthickthinsmallgap" | "thinthickmediumgap" | "thickthinmediumgap" | "thinthickthinmediumgap" | "thinthicklargegap" | "thickthinlargegap" | "thinthickthinlargegap" | "wave" | "doublewave" | "dashsmallgap" | "dashdotstroked" | "threedemboss" | "threedengrave" | "outset" | "inset" | "apples" | "archedscallops" | "babypacifier" | "babyrattle";
1
+ export declare type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotDash" | "dotDotDash" | "triple" | "thinThickSmallGap" | "thickThinSmallGap" | "thinThickThinSmallGap" | "thinThickMediumGap" | "thickThinMediumGap" | "thinThickThinMediumGap" | "thinThickLargeGap" | "thickThinLargeGap" | "thinThickThinLargeGap" | "wave" | "doubleWave" | "dashSmallGap" | "dashDotStroked" | "threeDEmboss" | "threeDEngrave" | "outset" | "inset" | "apples" | "archedScallops" | "babyPacifier" | "babyRattle";
@@ -1,3 +1,2 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
1
  export {};
3
2
  //# sourceMappingURL=BorderType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BorderType.js","sourceRoot":"","sources":["../../../../js/json/bindings/BorderType.ts"],"names":[],"mappings":"AAAA,4GAA4G"}
1
+ {"version":3,"file":"BorderType.js","sourceRoot":"","sources":["../../../../js/json/bindings/BorderType.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { BorderType } from "./BorderType";
2
+ import type { TableCellBorderPosition } from "./TableCellBorderPosition";
3
+ export interface TableCellBorder {
4
+ borderType: BorderType;
5
+ size: number;
6
+ color: string;
7
+ position: TableCellBorderPosition;
8
+ space: number;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TableCellBorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCellBorder.js","sourceRoot":"","sources":["../../../../js/json/bindings/TableCellBorder.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare type TableCellBorderPosition = "left" | "right" | "top" | "bottom" | "insideH" | "insideV" | "tl2Br" | "tr2Bl";
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TableCellBorderPosition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCellBorderPosition.js","sourceRoot":"","sources":["../../../../js/json/bindings/TableCellBorderPosition.ts"],"names":[],"mappings":""}
@@ -156,6 +156,25 @@ export enum LineSpacingType {
156
156
  }
157
157
  /**
158
158
  */
159
+ export enum SpecialIndentKind {
160
+ FirstLine,
161
+ Hanging,
162
+ }
163
+ /**
164
+ */
165
+ export enum VMergeType {
166
+ Continue,
167
+ Restart,
168
+ Unsupported,
169
+ }
170
+ /**
171
+ */
172
+ export enum PageOrientationType {
173
+ Landscape,
174
+ Portrait,
175
+ }
176
+ /**
177
+ */
159
178
  export enum RelativeFromHType {
160
179
  /**
161
180
  * Specifies that the horizontal positioning shall be
@@ -216,19 +235,6 @@ export enum RelativeFromVType {
216
235
  }
217
236
  /**
218
237
  */
219
- export enum VMergeType {
220
- Continue,
221
- Restart,
222
- Unsupported,
223
- }
224
- /**
225
- */
226
- export enum PageOrientationType {
227
- Landscape,
228
- Portrait,
229
- }
230
- /**
231
- */
232
238
  export enum SectionType {
233
239
  NextPage,
234
240
  NextColumn,
@@ -238,6 +244,95 @@ export enum SectionType {
238
244
  }
239
245
  /**
240
246
  */
247
+ export enum TableBorderPosition {
248
+ Left,
249
+ Right,
250
+ Top,
251
+ Bottom,
252
+ InsideH,
253
+ InsideV,
254
+ }
255
+ /**
256
+ */
257
+ export enum TableCellBorderPosition {
258
+ Left,
259
+ Right,
260
+ Top,
261
+ Bottom,
262
+ InsideH,
263
+ InsideV,
264
+ Tl2br,
265
+ Tr2bl,
266
+ }
267
+ /**
268
+ */
269
+ export enum ParagraphBorderPosition {
270
+ Left,
271
+ Right,
272
+ Top,
273
+ Bottom,
274
+ Between,
275
+ Bar,
276
+ }
277
+ /**
278
+ */
279
+ export enum BorderType {
280
+ Nil,
281
+ None,
282
+ Single,
283
+ Thick,
284
+ Double,
285
+ Dotted,
286
+ Dashed,
287
+ DotDash,
288
+ DotDotDash,
289
+ Triple,
290
+ ThinThickSmallGap,
291
+ ThickThinSmallGap,
292
+ ThinThickThinSmallGap,
293
+ ThinThickMediumGap,
294
+ ThickThinMediumGap,
295
+ ThinThickThinMediumGap,
296
+ ThinThickLargeGap,
297
+ ThickThinLargeGap,
298
+ ThinThickThinLargeGap,
299
+ Wave,
300
+ DoubleWave,
301
+ DashSmallGap,
302
+ DashDotStroked,
303
+ ThreeDEmboss,
304
+ ThreeDEngrave,
305
+ Outset,
306
+ Inset,
307
+ Apples,
308
+ ArchedScallops,
309
+ BabyPacifier,
310
+ BabyRattle,
311
+ }
312
+ /**
313
+ */
314
+ export enum StyleType {
315
+ Paragraph,
316
+ Character,
317
+ Numbering,
318
+ Table,
319
+ Unsupported,
320
+ }
321
+ /**
322
+ */
323
+ export enum TabValueType {
324
+ Bar,
325
+ Center,
326
+ Clear,
327
+ Decimal,
328
+ End,
329
+ Right,
330
+ Num,
331
+ Start,
332
+ Left,
333
+ }
334
+ /**
335
+ */
241
336
  export enum TextDirectionType {
242
337
  Lr,
243
338
  LrV,
@@ -260,6 +355,12 @@ export enum DocGridType {
260
355
  }
261
356
  /**
262
357
  */
358
+ export enum HyperlinkType {
359
+ Anchor,
360
+ External,
361
+ }
362
+ /**
363
+ */
263
364
  export enum ShdType {
264
365
  Nil,
265
366
  Clear,
@@ -302,60 +403,6 @@ export enum ShdType {
302
403
  }
303
404
  /**
304
405
  */
305
- export enum StyleType {
306
- Paragraph,
307
- Character,
308
- Numbering,
309
- Table,
310
- Unsupported,
311
- }
312
- /**
313
- */
314
- export enum TabValueType {
315
- Bar,
316
- Center,
317
- Clear,
318
- Decimal,
319
- End,
320
- Right,
321
- Num,
322
- Start,
323
- Left,
324
- }
325
- /**
326
- */
327
- export enum TableBorderPosition {
328
- Left,
329
- Right,
330
- Top,
331
- Bottom,
332
- InsideH,
333
- InsideV,
334
- }
335
- /**
336
- */
337
- export enum TableCellBorderPosition {
338
- Left,
339
- Right,
340
- Top,
341
- Bottom,
342
- InsideH,
343
- InsideV,
344
- Tl2br,
345
- Tr2bl,
346
- }
347
- /**
348
- */
349
- export enum ParagraphBorderPosition {
350
- Left,
351
- Right,
352
- Top,
353
- Bottom,
354
- Between,
355
- Bar,
356
- }
357
- /**
358
- */
359
406
  export enum CharacterSpacingValues {
360
407
  DoNotCompress,
361
408
  CompressPunctuation,
@@ -364,12 +411,6 @@ export enum CharacterSpacingValues {
364
411
  }
365
412
  /**
366
413
  */
367
- export enum HyperlinkType {
368
- Anchor,
369
- External,
370
- }
371
- /**
372
- */
373
414
  export enum TableAlignmentType {
374
415
  Center,
375
416
  Left,
@@ -419,6 +460,20 @@ export enum PicAlign {
419
460
  }
420
461
  /**
421
462
  */
463
+ export enum HeightRule {
464
+ Auto,
465
+ AtLeast,
466
+ Exact,
467
+ }
468
+ /**
469
+ */
470
+ export enum LevelSuffixType {
471
+ Nothing,
472
+ Space,
473
+ Tab,
474
+ }
475
+ /**
476
+ */
422
477
  export enum TextAlignmentType {
423
478
  Auto,
424
479
  Baseline,
@@ -444,55 +499,6 @@ export enum VAlignType {
444
499
  }
445
500
  /**
446
501
  */
447
- export enum BorderType {
448
- Nil,
449
- None,
450
- Single,
451
- Thick,
452
- Double,
453
- Dotted,
454
- Dashed,
455
- DotDash,
456
- DotDotDash,
457
- Triple,
458
- ThinThickSmallGap,
459
- ThickThinSmallGap,
460
- ThinThickThinSmallGap,
461
- ThinThickMediumGap,
462
- ThickThinMediumGap,
463
- ThinThickThinMediumGap,
464
- ThinThickLargeGap,
465
- ThickThinLargeGap,
466
- ThinThickThinLargeGap,
467
- Wave,
468
- DoubleWave,
469
- DashSmallGap,
470
- DashDotStroked,
471
- ThreeDEmboss,
472
- ThreeDEngrave,
473
- Outset,
474
- Inset,
475
- Apples,
476
- ArchedScallops,
477
- BabyPacifier,
478
- BabyRattle,
479
- }
480
- /**
481
- */
482
- export enum HeightRule {
483
- Auto,
484
- AtLeast,
485
- Exact,
486
- }
487
- /**
488
- */
489
- export enum LevelSuffixType {
490
- Nothing,
491
- Space,
492
- Tab,
493
- }
494
- /**
495
- */
496
502
  export enum FieldCharType {
497
503
  Begin,
498
504
  Separate,
@@ -501,13 +507,6 @@ export enum FieldCharType {
501
507
  }
502
508
  /**
503
509
  */
504
- export enum FontPitchType {
505
- Default,
506
- Fixed,
507
- Variable,
508
- }
509
- /**
510
- */
511
510
  export enum TabLeaderType {
512
511
  Dot,
513
512
  Heavy,
@@ -527,9 +526,10 @@ export enum WidthType {
527
526
  }
528
527
  /**
529
528
  */
530
- export enum SpecialIndentKind {
531
- FirstLine,
532
- Hanging,
529
+ export enum FontPitchType {
530
+ Default,
531
+ Fixed,
532
+ Variable,
533
533
  }
534
534
  /**
535
535
  */
@@ -457,6 +457,15 @@ export function createParagraph() {
457
457
  export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
458
458
  /**
459
459
  */
460
+ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
461
+ /**
462
+ */
463
+ export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
464
+ /**
465
+ */
466
+ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
467
+ /**
468
+ */
460
469
  export const RelativeFromHType = Object.freeze({
461
470
  /**
462
471
  * Specifies that the horizontal positioning shall be
@@ -507,22 +516,19 @@ RightMargin:7,"7":"RightMargin", });
507
516
  export const 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", });
508
517
  /**
509
518
  */
510
- export const VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
511
- /**
512
- */
513
- export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
519
+ export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
514
520
  /**
515
521
  */
516
- export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
522
+ export const TableBorderPosition = 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", });
517
523
  /**
518
524
  */
519
- 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", });
525
+ 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", });
520
526
  /**
521
527
  */
522
- export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
528
+ export const ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
523
529
  /**
524
530
  */
525
- 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", });
531
+ export const BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
526
532
  /**
527
533
  */
528
534
  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", });
@@ -531,19 +537,19 @@ export const StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1
531
537
  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", });
532
538
  /**
533
539
  */
534
- export const TableBorderPosition = 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", });
540
+ 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", });
535
541
  /**
536
542
  */
537
- 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", });
543
+ export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
538
544
  /**
539
545
  */
540
- export const ParagraphBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",Between:4,"4":"Between",Bar:5,"5":"Bar", });
546
+ export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
541
547
  /**
542
548
  */
543
- export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
549
+ 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", });
544
550
  /**
545
551
  */
546
- export const HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
552
+ export const CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
547
553
  /**
548
554
  */
549
555
  export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
@@ -564,37 +570,31 @@ export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:
564
570
  export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Center:2,"2":"Center",Bottom:3,"3":"Bottom",Top:4,"4":"Top", });
565
571
  /**
566
572
  */
567
- export const TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
568
- /**
569
- */
570
- export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
573
+ export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
571
574
  /**
572
575
  */
573
- export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
576
+ export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
574
577
  /**
575
578
  */
576
- export const BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
579
+ export const TextAlignmentType = Object.freeze({ Auto:0,"0":"Auto",Baseline:1,"1":"Baseline",Bottom:2,"2":"Bottom",Center:3,"3":"Center",Top:4,"4":"Top", });
577
580
  /**
578
581
  */
579
- export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
582
+ export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
580
583
  /**
581
584
  */
582
- export const LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
585
+ export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
583
586
  /**
584
587
  */
585
588
  export const FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
586
589
  /**
587
590
  */
588
- export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
589
- /**
590
- */
591
591
  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", });
592
592
  /**
593
593
  */
594
594
  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", });
595
595
  /**
596
596
  */
597
- export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
597
+ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
598
598
  /**
599
599
  */
600
600
  export class AbstractNumbering {
Binary file
@@ -1,3 +1,2 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
1
 
3
- export type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotdash" | "dotdotdash" | "triple" | "thinthicksmallgap" | "thickthinsmallgap" | "thinthickthinsmallgap" | "thinthickmediumgap" | "thickthinmediumgap" | "thinthickthinmediumgap" | "thinthicklargegap" | "thickthinlargegap" | "thinthickthinlargegap" | "wave" | "doublewave" | "dashsmallgap" | "dashdotstroked" | "threedemboss" | "threedengrave" | "outset" | "inset" | "apples" | "archedscallops" | "babypacifier" | "babyrattle";
2
+ export type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotDash" | "dotDotDash" | "triple" | "thinThickSmallGap" | "thickThinSmallGap" | "thinThickThinSmallGap" | "thinThickMediumGap" | "thickThinMediumGap" | "thinThickThinMediumGap" | "thinThickLargeGap" | "thickThinLargeGap" | "thinThickThinLargeGap" | "wave" | "doubleWave" | "dashSmallGap" | "dashDotStroked" | "threeDEmboss" | "threeDEngrave" | "outset" | "inset" | "apples" | "archedScallops" | "babyPacifier" | "babyRattle";
@@ -0,0 +1,4 @@
1
+ import type { BorderType } from "./BorderType";
2
+ import type { TableCellBorderPosition } from "./TableCellBorderPosition";
3
+
4
+ export interface TableCellBorder { borderType: BorderType, size: number, color: string, position: TableCellBorderPosition, space: number, }
@@ -0,0 +1,2 @@
1
+
2
+ export type TableCellBorderPosition = "left" | "right" | "top" | "bottom" | "insideH" | "insideV" | "tl2Br" | "tr2Bl";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-wasm",
3
- "version": "0.4.12-beta10",
3
+ "version": "0.4.12-beta11",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",