docx-wasm 0.4.12-beta0 → 0.4.12-beta2

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.
@@ -0,0 +1,14 @@
1
+ export interface FrameProperty {
2
+ h?: number;
3
+ hRule?: string;
4
+ hAnchor?: string;
5
+ hSpace?: number;
6
+ vAnchor?: string;
7
+ vSpace?: number;
8
+ w?: number;
9
+ wrap?: string;
10
+ x?: number;
11
+ xAlign?: string;
12
+ y?: number;
13
+ yAlign?: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=FrameProperty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FrameProperty.js","sourceRoot":"","sources":["../../../../js/json/bindings/FrameProperty.ts"],"names":[],"mappings":""}
@@ -1,7 +1,8 @@
1
1
  import { ParagraphJSON } from "./paragraph";
2
+ import { StructuredTagJSON } from "./structured-data-tag";
2
3
  import { TableJSON } from "./table";
3
4
  export declare type FooterJSON = {
4
- children: (ParagraphJSON | TableJSON)[];
5
+ children: (ParagraphJSON | TableJSON | StructuredTagJSON)[];
5
6
  };
6
7
  export declare type FooterReferenceJSON = {
7
8
  footerType: string;
@@ -1,7 +1,8 @@
1
1
  import { ParagraphJSON } from "./paragraph";
2
+ import { StructuredTagJSON } from "./structured-data-tag";
2
3
  import { TableJSON } from "./table";
3
4
  export declare type HeaderJSON = {
4
- children: (ParagraphJSON | TableJSON)[];
5
+ children: (ParagraphJSON | TableJSON | StructuredTagJSON)[];
5
6
  };
6
7
  export declare type HeaderReferenceJSON = {
7
8
  headerType: string;
@@ -151,6 +151,66 @@ export enum PageOrientationType {
151
151
  }
152
152
  /**
153
153
  */
154
+ export enum RelativeFromHType {
155
+ /**
156
+ * Specifies that the horizontal positioning shall be
157
+ * relative to the position of the anchor within its run
158
+ * content.
159
+ */
160
+ Character,
161
+ /**
162
+ * Specifies that the horizontal positioning shall be
163
+ * relative to the extents of the column which contains its
164
+ * anchor.
165
+ */
166
+ Column,
167
+ /**
168
+ * Specifies that the horizontal positioning shall be
169
+ * relative to the inside margin of the current page (the
170
+ * left margin on odd pages, right on even pages).
171
+ */
172
+ InsideMargin,
173
+ /**
174
+ * Specifies that the horizontal positioning shall be
175
+ * relative to the left margin of the page.
176
+ */
177
+ LeftMargin,
178
+ /**
179
+ * Specifies that the horizontal positioning shall be
180
+ * relative to the page margins.
181
+ */
182
+ Margin,
183
+ /**
184
+ * Specifies that the horizontal positioning shall be
185
+ * relative to the outside margin of the current page (the
186
+ * right margin on odd pages, left on even pages).
187
+ */
188
+ OutsizeMargin,
189
+ /**
190
+ * Specifies that the horizontal positioning shall be
191
+ * relative to the edge of the page.
192
+ */
193
+ Page,
194
+ /**
195
+ * Specifies that the horizontal positioning shall be
196
+ * relative to the right margin of the page.
197
+ */
198
+ RightMargin,
199
+ }
200
+ /**
201
+ */
202
+ export enum RelativeFromVType {
203
+ BottomMargin,
204
+ InsideMargin,
205
+ Line,
206
+ Margin,
207
+ OutsizeMargin,
208
+ Page,
209
+ Paragraph,
210
+ TopMargin,
211
+ }
212
+ /**
213
+ */
154
214
  export enum SectionType {
155
215
  NextPage,
156
216
  NextColumn,
@@ -160,17 +220,10 @@ export enum SectionType {
160
220
  }
161
221
  /**
162
222
  */
163
- export enum TextDirectionType {
164
- Lr,
165
- LrV,
166
- Rl,
167
- RlV,
168
- Tb,
169
- TbV,
170
- TbRlV,
171
- TbRl,
172
- BtLr,
173
- LrTbV,
223
+ export enum VMergeType {
224
+ Continue,
225
+ Restart,
226
+ Unsupported,
174
227
  }
175
228
  /**
176
229
  */
@@ -183,16 +236,17 @@ export enum StyleType {
183
236
  }
184
237
  /**
185
238
  */
186
- export enum TabValueType {
187
- Bar,
188
- Center,
189
- Clear,
190
- Decimal,
191
- End,
192
- Right,
193
- Num,
194
- Start,
195
- Left,
239
+ export enum TextDirectionType {
240
+ Lr,
241
+ LrV,
242
+ Rl,
243
+ RlV,
244
+ Tb,
245
+ TbV,
246
+ TbRlV,
247
+ TbRl,
248
+ BtLr,
249
+ LrTbV,
196
250
  }
197
251
  /**
198
252
  */
@@ -246,6 +300,19 @@ export enum ShdType {
246
300
  }
247
301
  /**
248
302
  */
303
+ export enum TabValueType {
304
+ Bar,
305
+ Center,
306
+ Clear,
307
+ Decimal,
308
+ End,
309
+ Right,
310
+ Num,
311
+ Start,
312
+ Left,
313
+ }
314
+ /**
315
+ */
249
316
  export enum TableBorderPosition {
250
317
  Left,
251
318
  Right,
@@ -278,6 +345,19 @@ export enum ParagraphBorderPosition {
278
345
  }
279
346
  /**
280
347
  */
348
+ export enum AlignmentType {
349
+ Both,
350
+ Center,
351
+ Distribute,
352
+ Start,
353
+ End,
354
+ Left,
355
+ Right,
356
+ Justified,
357
+ Unsupported,
358
+ }
359
+ /**
360
+ */
281
361
  export enum CharacterSpacingValues {
282
362
  DoNotCompress,
283
363
  CompressPunctuation,
@@ -299,22 +379,48 @@ export enum TableAlignmentType {
299
379
  }
300
380
  /**
301
381
  */
302
- export enum AlignmentType {
303
- Both,
304
- Center,
305
- Distribute,
306
- Start,
307
- End,
382
+ export enum TableLayoutType {
383
+ Fixed,
384
+ Autofit,
385
+ }
386
+ /**
387
+ */
388
+ export enum BreakType {
389
+ Page,
390
+ Column,
391
+ TextWrapping,
392
+ Unsupported,
393
+ }
394
+ /**
395
+ */
396
+ export enum DrawingPositionType {
397
+ Anchor,
398
+ Inline,
399
+ }
400
+ /**
401
+ */
402
+ export enum PicAlign {
308
403
  Left,
309
404
  Right,
310
- Justified,
405
+ Center,
406
+ Bottom,
407
+ Top,
408
+ }
409
+ /**
410
+ */
411
+ export enum VertAlignType {
412
+ Baseline,
413
+ SuperScript,
414
+ SubScript,
311
415
  Unsupported,
312
416
  }
313
417
  /**
314
418
  */
315
- export enum TableLayoutType {
316
- Fixed,
317
- Autofit,
419
+ export enum VAlignType {
420
+ Top,
421
+ Center,
422
+ Bottom,
423
+ Unsupported,
318
424
  }
319
425
  /**
320
426
  */
@@ -353,29 +459,6 @@ export enum BorderType {
353
459
  }
354
460
  /**
355
461
  */
356
- export enum BreakType {
357
- Page,
358
- Column,
359
- TextWrapping,
360
- Unsupported,
361
- }
362
- /**
363
- */
364
- export enum DrawingPositionType {
365
- Anchor,
366
- Inline,
367
- }
368
- /**
369
- */
370
- export enum PicAlign {
371
- Left,
372
- Right,
373
- Center,
374
- Bottom,
375
- Top,
376
- }
377
- /**
378
- */
379
462
  export enum HeightRule {
380
463
  Auto,
381
464
  AtLeast,
@@ -383,22 +466,6 @@ export enum HeightRule {
383
466
  }
384
467
  /**
385
468
  */
386
- export enum VertAlignType {
387
- Baseline,
388
- SuperScript,
389
- SubScript,
390
- Unsupported,
391
- }
392
- /**
393
- */
394
- export enum VAlignType {
395
- Top,
396
- Center,
397
- Bottom,
398
- Unsupported,
399
- }
400
- /**
401
- */
402
469
  export enum LevelSuffixType {
403
470
  Nothing,
404
471
  Space,
@@ -414,13 +481,6 @@ export enum FieldCharType {
414
481
  }
415
482
  /**
416
483
  */
417
- export enum FontPitchType {
418
- Default,
419
- Fixed,
420
- Variable,
421
- }
422
- /**
423
- */
424
484
  export enum TabLeaderType {
425
485
  Dot,
426
486
  Heavy,
@@ -440,70 +500,10 @@ export enum WidthType {
440
500
  }
441
501
  /**
442
502
  */
443
- export enum LineSpacingType {
444
- Auto,
445
- AtLeast,
446
- Exact,
447
- }
448
- /**
449
- */
450
- export enum RelativeFromHType {
451
- /**
452
- * Specifies that the horizontal positioning shall be
453
- * relative to the position of the anchor within its run
454
- * content.
455
- */
456
- Character,
457
- /**
458
- * Specifies that the horizontal positioning shall be
459
- * relative to the extents of the column which contains its
460
- * anchor.
461
- */
462
- Column,
463
- /**
464
- * Specifies that the horizontal positioning shall be
465
- * relative to the inside margin of the current page (the
466
- * left margin on odd pages, right on even pages).
467
- */
468
- InsideMargin,
469
- /**
470
- * Specifies that the horizontal positioning shall be
471
- * relative to the left margin of the page.
472
- */
473
- LeftMargin,
474
- /**
475
- * Specifies that the horizontal positioning shall be
476
- * relative to the page margins.
477
- */
478
- Margin,
479
- /**
480
- * Specifies that the horizontal positioning shall be
481
- * relative to the outside margin of the current page (the
482
- * right margin on odd pages, left on even pages).
483
- */
484
- OutsizeMargin,
485
- /**
486
- * Specifies that the horizontal positioning shall be
487
- * relative to the edge of the page.
488
- */
489
- Page,
490
- /**
491
- * Specifies that the horizontal positioning shall be
492
- * relative to the right margin of the page.
493
- */
494
- RightMargin,
495
- }
496
- /**
497
- */
498
- export enum RelativeFromVType {
499
- BottomMargin,
500
- InsideMargin,
501
- Line,
502
- Margin,
503
- OutsizeMargin,
504
- Page,
505
- Paragraph,
506
- TopMargin,
503
+ export enum FontPitchType {
504
+ Default,
505
+ Fixed,
506
+ Variable,
507
507
  }
508
508
  /**
509
509
  */
@@ -513,10 +513,10 @@ export enum SpecialIndentKind {
513
513
  }
514
514
  /**
515
515
  */
516
- export enum VMergeType {
517
- Continue,
518
- Restart,
519
- Unsupported,
516
+ export enum LineSpacingType {
517
+ Auto,
518
+ AtLeast,
519
+ Exact,
520
520
  }
521
521
  /**
522
522
  */
@@ -447,141 +447,141 @@ module.exports.createTableRow = function() {
447
447
  module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",Portrait:1,"1":"Portrait", });
448
448
  /**
449
449
  */
450
- 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", });
450
+ module.exports.RelativeFromHType = Object.freeze({
451
451
  /**
452
+ * Specifies that the horizontal positioning shall be
453
+ * relative to the position of the anchor within its run
454
+ * content.
452
455
  */
453
- module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",Rl:2,"2":"Rl",RlV:3,"3":"RlV",Tb:4,"4":"Tb",TbV:5,"5":"TbV",TbRlV:6,"6":"TbRlV",TbRl:7,"7":"TbRl",BtLr:8,"8":"BtLr",LrTbV:9,"9":"LrTbV", });
456
+ Character:0,"0":"Character",
454
457
  /**
458
+ * Specifies that the horizontal positioning shall be
459
+ * relative to the extents of the column which contains its
460
+ * anchor.
455
461
  */
456
- 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", });
462
+ Column:1,"1":"Column",
457
463
  /**
464
+ * Specifies that the horizontal positioning shall be
465
+ * relative to the inside margin of the current page (the
466
+ * left margin on odd pages, right on even pages).
458
467
  */
459
- 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", });
468
+ InsideMargin:2,"2":"InsideMargin",
460
469
  /**
470
+ * Specifies that the horizontal positioning shall be
471
+ * relative to the left margin of the page.
461
472
  */
462
- module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
473
+ LeftMargin:3,"3":"LeftMargin",
463
474
  /**
475
+ * Specifies that the horizontal positioning shall be
476
+ * relative to the page margins.
464
477
  */
465
- 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", });
478
+ Margin:4,"4":"Margin",
466
479
  /**
480
+ * Specifies that the horizontal positioning shall be
481
+ * relative to the outside margin of the current page (the
482
+ * right margin on odd pages, left on even pages).
467
483
  */
468
- 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", });
484
+ OutsizeMargin:5,"5":"OutsizeMargin",
469
485
  /**
486
+ * Specifies that the horizontal positioning shall be
487
+ * relative to the edge of the page.
470
488
  */
471
- 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", });
489
+ Page:6,"6":"Page",
472
490
  /**
491
+ * Specifies that the horizontal positioning shall be
492
+ * relative to the right margin of the page.
473
493
  */
474
- 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", });
494
+ RightMargin:7,"7":"RightMargin", });
475
495
  /**
476
496
  */
477
- module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
497
+ 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", });
478
498
  /**
479
499
  */
480
- module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
500
+ 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", });
481
501
  /**
482
502
  */
483
- module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
503
+ module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
484
504
  /**
485
505
  */
486
- 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", });
506
+ 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", });
487
507
  /**
488
508
  */
489
- module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
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", });
490
510
  /**
491
511
  */
492
- 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", });
512
+ module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
493
513
  /**
494
514
  */
495
- module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
515
+ 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", });
496
516
  /**
497
517
  */
498
- module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
518
+ 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", });
499
519
  /**
500
520
  */
501
- 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", });
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", });
502
522
  /**
503
523
  */
504
- module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
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", });
505
525
  /**
506
526
  */
507
- module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
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", });
508
528
  /**
509
529
  */
510
- module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
530
+ 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", });
511
531
  /**
512
532
  */
513
- module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
533
+ module.exports.CharacterSpacingValues = Object.freeze({ DoNotCompress:0,"0":"DoNotCompress",CompressPunctuation:1,"1":"CompressPunctuation",CompressPunctuationAndJapaneseKana:2,"2":"CompressPunctuationAndJapaneseKana",Unsupported:3,"3":"Unsupported", });
514
534
  /**
515
535
  */
516
- module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
536
+ module.exports.HyperlinkType = Object.freeze({ Anchor:0,"0":"Anchor",External:1,"1":"External", });
517
537
  /**
518
538
  */
519
- module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
539
+ module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
520
540
  /**
521
541
  */
522
- 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", });
542
+ module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
523
543
  /**
524
544
  */
525
- 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", });
545
+ module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
526
546
  /**
527
547
  */
528
- module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
548
+ module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
529
549
  /**
530
550
  */
531
- module.exports.RelativeFromHType = Object.freeze({
551
+ 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", });
532
552
  /**
533
- * Specifies that the horizontal positioning shall be
534
- * relative to the position of the anchor within its run
535
- * content.
536
553
  */
537
- Character:0,"0":"Character",
554
+ module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
538
555
  /**
539
- * Specifies that the horizontal positioning shall be
540
- * relative to the extents of the column which contains its
541
- * anchor.
542
556
  */
543
- Column:1,"1":"Column",
557
+ module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
544
558
  /**
545
- * Specifies that the horizontal positioning shall be
546
- * relative to the inside margin of the current page (the
547
- * left margin on odd pages, right on even pages).
548
559
  */
549
- InsideMargin:2,"2":"InsideMargin",
560
+ 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", });
550
561
  /**
551
- * Specifies that the horizontal positioning shall be
552
- * relative to the left margin of the page.
553
562
  */
554
- LeftMargin:3,"3":"LeftMargin",
563
+ module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
555
564
  /**
556
- * Specifies that the horizontal positioning shall be
557
- * relative to the page margins.
558
565
  */
559
- Margin:4,"4":"Margin",
566
+ module.exports.LevelSuffixType = Object.freeze({ Nothing:0,"0":"Nothing",Space:1,"1":"Space",Tab:2,"2":"Tab", });
560
567
  /**
561
- * Specifies that the horizontal positioning shall be
562
- * relative to the outside margin of the current page (the
563
- * right margin on odd pages, left on even pages).
564
568
  */
565
- OutsizeMargin:5,"5":"OutsizeMargin",
569
+ module.exports.FieldCharType = Object.freeze({ Begin:0,"0":"Begin",Separate:1,"1":"Separate",End:2,"2":"End",Unsupported:3,"3":"Unsupported", });
566
570
  /**
567
- * Specifies that the horizontal positioning shall be
568
- * relative to the edge of the page.
569
571
  */
570
- Page:6,"6":"Page",
572
+ 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", });
571
573
  /**
572
- * Specifies that the horizontal positioning shall be
573
- * relative to the right margin of the page.
574
574
  */
575
- RightMargin:7,"7":"RightMargin", });
575
+ 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", });
576
576
  /**
577
577
  */
578
- 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", });
578
+ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
579
579
  /**
580
580
  */
581
581
  module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
582
582
  /**
583
583
  */
584
- module.exports.VMergeType = Object.freeze({ Continue:0,"0":"Continue",Restart:1,"1":"Restart",Unsupported:2,"2":"Unsupported", });
584
+ module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
585
585
  /**
586
586
  */
587
587
  class AbstractNumbering {
Binary file
@@ -0,0 +1,14 @@
1
+ export interface FrameProperty {
2
+ h?: number;
3
+ hRule?: string;
4
+ hAnchor?: string;
5
+ hSpace?: number;
6
+ vAnchor?: string;
7
+ vSpace?: number;
8
+ w?: number;
9
+ wrap?: string;
10
+ x?: number;
11
+ xAlign?: string;
12
+ y?: number;
13
+ yAlign?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FrameProperty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FrameProperty.js","sourceRoot":"","sources":["../../../../js/json/bindings/FrameProperty.ts"],"names":[],"mappings":""}