docx-wasm 0.0.276-rc33 → 0.0.276-rc35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/json/bindings/PicAlign.d.ts +1 -1
- package/dist/node/json/bindings/bindings/DrawingPosition.d.ts +6 -0
- package/dist/node/json/bindings/bindings/DrawingPosition.js +3 -0
- package/dist/node/json/bindings/bindings/DrawingPosition.js.map +1 -0
- package/dist/node/json/bindings/bindings/DrawingPositionType.d.ts +1 -0
- package/dist/node/json/bindings/bindings/DrawingPositionType.js +3 -0
- package/dist/node/json/bindings/bindings/DrawingPositionType.js.map +1 -0
- package/dist/node/json/bindings/bindings/FontGroup.d.ts +7 -0
- package/dist/node/json/bindings/bindings/FontGroup.js +3 -0
- package/dist/node/json/bindings/bindings/FontGroup.js.map +1 -0
- package/dist/node/json/bindings/bindings/FontScheme.d.ts +5 -0
- package/dist/node/json/bindings/bindings/FontScheme.js +3 -0
- package/dist/node/json/bindings/bindings/FontScheme.js.map +1 -0
- package/dist/node/json/bindings/bindings/FontSchemeFont.d.ts +4 -0
- package/dist/node/json/bindings/bindings/FontSchemeFont.js +3 -0
- package/dist/node/json/bindings/bindings/FontSchemeFont.js.map +1 -0
- package/dist/node/json/bindings/bindings/ImageData.d.ts +3 -0
- package/dist/node/json/bindings/bindings/ImageData.js +3 -0
- package/dist/node/json/bindings/bindings/ImageData.js.map +1 -0
- package/dist/node/json/bindings/bindings/Pic.d.ts +24 -0
- package/dist/node/json/bindings/bindings/Pic.js +3 -0
- package/dist/node/json/bindings/bindings/Pic.js.map +1 -0
- package/dist/node/json/bindings/bindings/PicAlign.d.ts +1 -0
- package/dist/node/json/bindings/bindings/PicAlign.js +3 -0
- package/dist/node/json/bindings/bindings/PicAlign.js.map +1 -0
- package/dist/node/json/bindings/bindings/RelativeFromHType.d.ts +1 -0
- package/dist/node/json/bindings/bindings/RelativeFromHType.js +3 -0
- package/dist/node/json/bindings/bindings/RelativeFromHType.js.map +1 -0
- package/dist/node/json/bindings/bindings/RelativeFromVType.d.ts +1 -0
- package/dist/node/json/bindings/bindings/RelativeFromVType.js +3 -0
- package/dist/node/json/bindings/bindings/RelativeFromVType.js.map +1 -0
- package/dist/node/json/bindings/bindings/Shape.d.ts +5 -0
- package/dist/node/json/bindings/bindings/Shape.js +3 -0
- package/dist/node/json/bindings/bindings/Shape.js.map +1 -0
- package/dist/node/json/bindings/bindings/Theme.d.ts +4 -0
- package/dist/node/json/bindings/bindings/Theme.js +3 -0
- package/dist/node/json/bindings/bindings/Theme.js.map +1 -0
- package/dist/node/json/paragraph.d.ts +1 -1
- package/dist/node/pkg/docx_wasm.d.ts +65 -63
- package/dist/node/pkg/docx_wasm.js +12 -12
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/json/bindings/PicAlign.d.ts +1 -1
- package/dist/web/json/bindings/bindings/DrawingPosition.d.ts +6 -0
- package/dist/web/json/bindings/bindings/DrawingPosition.js +2 -0
- package/dist/web/json/bindings/bindings/DrawingPosition.js.map +1 -0
- package/dist/web/json/bindings/bindings/DrawingPositionType.d.ts +1 -0
- package/dist/web/json/bindings/bindings/DrawingPositionType.js +2 -0
- package/dist/web/json/bindings/bindings/DrawingPositionType.js.map +1 -0
- package/dist/web/json/bindings/bindings/FontGroup.d.ts +7 -0
- package/dist/web/json/bindings/bindings/FontGroup.js +2 -0
- package/dist/web/json/bindings/bindings/FontGroup.js.map +1 -0
- package/dist/web/json/bindings/bindings/FontScheme.d.ts +5 -0
- package/dist/web/json/bindings/bindings/FontScheme.js +2 -0
- package/dist/web/json/bindings/bindings/FontScheme.js.map +1 -0
- package/dist/web/json/bindings/bindings/FontSchemeFont.d.ts +4 -0
- package/dist/web/json/bindings/bindings/FontSchemeFont.js +2 -0
- package/dist/web/json/bindings/bindings/FontSchemeFont.js.map +1 -0
- package/dist/web/json/bindings/bindings/ImageData.d.ts +3 -0
- package/dist/web/json/bindings/bindings/ImageData.js +2 -0
- package/dist/web/json/bindings/bindings/ImageData.js.map +1 -0
- package/dist/web/json/bindings/bindings/Pic.d.ts +24 -0
- package/dist/web/json/bindings/bindings/Pic.js +2 -0
- package/dist/web/json/bindings/bindings/Pic.js.map +1 -0
- package/dist/web/json/bindings/bindings/PicAlign.d.ts +1 -0
- package/dist/web/json/bindings/bindings/PicAlign.js +2 -0
- package/dist/web/json/bindings/bindings/PicAlign.js.map +1 -0
- package/dist/web/json/bindings/bindings/RelativeFromHType.d.ts +1 -0
- package/dist/web/json/bindings/bindings/RelativeFromHType.js +2 -0
- package/dist/web/json/bindings/bindings/RelativeFromHType.js.map +1 -0
- package/dist/web/json/bindings/bindings/RelativeFromVType.d.ts +1 -0
- package/dist/web/json/bindings/bindings/RelativeFromVType.js +2 -0
- package/dist/web/json/bindings/bindings/RelativeFromVType.js.map +1 -0
- package/dist/web/json/bindings/bindings/Shape.d.ts +5 -0
- package/dist/web/json/bindings/bindings/Shape.js +2 -0
- package/dist/web/json/bindings/bindings/Shape.js.map +1 -0
- package/dist/web/json/bindings/bindings/Theme.d.ts +4 -0
- package/dist/web/json/bindings/bindings/Theme.js +2 -0
- package/dist/web/json/bindings/bindings/Theme.js.map +1 -0
- package/dist/web/json/paragraph.d.ts +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +65 -63
- package/dist/web/pkg/docx_wasm_bg.js +12 -12
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/js/json/bindings/PicAlign.ts +1 -1
- package/js/json/paragraph.ts +20 -12
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type PicAlign = "left" | "right" | "bottom" | "top";
|
|
1
|
+
export declare type PicAlign = "left" | "right" | "center" | "bottom" | "top";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawingPosition.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/DrawingPosition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type DrawingPositionType = "anchor" | "inline";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawingPositionType.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/DrawingPositionType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontGroup.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/FontGroup.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontScheme.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/FontScheme.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontSchemeFont.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/FontSchemeFont.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageData.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/ImageData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { DrawingPosition } from "./DrawingPosition";
|
|
2
|
+
import type { DrawingPositionType } from "./DrawingPositionType";
|
|
3
|
+
import type { RelativeFromHType } from "./RelativeFromHType";
|
|
4
|
+
import type { RelativeFromVType } from "./RelativeFromVType";
|
|
5
|
+
export interface Pic {
|
|
6
|
+
id: string;
|
|
7
|
+
image: Array<number>;
|
|
8
|
+
size: [number, number];
|
|
9
|
+
positionType: DrawingPositionType;
|
|
10
|
+
simplePos: boolean;
|
|
11
|
+
simplePosX: number;
|
|
12
|
+
simplePosY: number;
|
|
13
|
+
layoutInCell: boolean;
|
|
14
|
+
relativeHeight: number;
|
|
15
|
+
allowOverlap: boolean;
|
|
16
|
+
positionH: DrawingPosition;
|
|
17
|
+
positionV: DrawingPosition;
|
|
18
|
+
relativeFromH: RelativeFromHType;
|
|
19
|
+
relativeFromV: RelativeFromVType;
|
|
20
|
+
distT: number;
|
|
21
|
+
distB: number;
|
|
22
|
+
distL: number;
|
|
23
|
+
distR: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pic.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/Pic.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type PicAlign = "left" | "right" | "bottom" | "top";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PicAlign.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/PicAlign.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type RelativeFromHType = "character" | "column" | "insideMargin" | "leftMargin" | "margin" | "outsizeMargin" | "page" | "rightMargin";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelativeFromHType.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/RelativeFromHType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type RelativeFromVType = "bottomMargin" | "insideMargin" | "line" | "margin" | "outsizeMargin" | "page" | "paragraph" | "topMargin";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelativeFromVType.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/RelativeFromVType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shape.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/Shape.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/Theme.ts"],"names":[],"mappings":""}
|
|
@@ -12,7 +12,7 @@ export declare type ParagraphPropertyJSON = {
|
|
|
12
12
|
runProperty: RunPropertyJSON;
|
|
13
13
|
style?: string | null;
|
|
14
14
|
numberingProperty?: NumberingPropertyJSON | null;
|
|
15
|
-
alignment?: "left" | "center" | "right" | "justified" | "both";
|
|
15
|
+
alignment?: "left" | "center" | "right" | "justified" | "both" | "start" | "end" | "unsupported";
|
|
16
16
|
indent?: IndentJSON | null;
|
|
17
17
|
lineSpacing?: LineSpacingJSON | null;
|
|
18
18
|
divId?: string | null;
|
|
@@ -134,53 +134,6 @@ export function createStyle(style_id: string, style_type: number): Style;
|
|
|
134
134
|
export function createLevelOverride(level: number): LevelOverride;
|
|
135
135
|
/**
|
|
136
136
|
*/
|
|
137
|
-
export enum BorderType {
|
|
138
|
-
Nil,
|
|
139
|
-
None,
|
|
140
|
-
Single,
|
|
141
|
-
Thick,
|
|
142
|
-
Double,
|
|
143
|
-
Dotted,
|
|
144
|
-
Dashed,
|
|
145
|
-
DotDash,
|
|
146
|
-
DotDotDash,
|
|
147
|
-
Triple,
|
|
148
|
-
ThinThickSmallGap,
|
|
149
|
-
ThickThinSmallGap,
|
|
150
|
-
ThinThickThinSmallGap,
|
|
151
|
-
ThinThickMediumGap,
|
|
152
|
-
ThickThinMediumGap,
|
|
153
|
-
ThinThickThinMediumGap,
|
|
154
|
-
ThinThickLargeGap,
|
|
155
|
-
ThickThinLargeGap,
|
|
156
|
-
ThinThickThinLargeGap,
|
|
157
|
-
Wave,
|
|
158
|
-
DoubleWave,
|
|
159
|
-
DashSmallGap,
|
|
160
|
-
DashDotStroked,
|
|
161
|
-
ThreeDEmboss,
|
|
162
|
-
ThreeDEngrave,
|
|
163
|
-
Outset,
|
|
164
|
-
Inset,
|
|
165
|
-
Apples,
|
|
166
|
-
ArchedScallops,
|
|
167
|
-
BabyPacifier,
|
|
168
|
-
BabyRattle,
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
*/
|
|
172
|
-
export enum AlignmentType {
|
|
173
|
-
Both,
|
|
174
|
-
Center,
|
|
175
|
-
Distribute,
|
|
176
|
-
End,
|
|
177
|
-
Left,
|
|
178
|
-
Right,
|
|
179
|
-
Justified,
|
|
180
|
-
Unsupported,
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
*/
|
|
184
137
|
export enum HeightRule {
|
|
185
138
|
Auto,
|
|
186
139
|
AtLeast,
|
|
@@ -279,6 +232,13 @@ export enum DocGridType {
|
|
|
279
232
|
}
|
|
280
233
|
/**
|
|
281
234
|
*/
|
|
235
|
+
export enum LineSpacingType {
|
|
236
|
+
Auto,
|
|
237
|
+
AtLeast,
|
|
238
|
+
Exact,
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
*/
|
|
282
242
|
export enum ShdType {
|
|
283
243
|
Nil,
|
|
284
244
|
Clear,
|
|
@@ -356,10 +316,11 @@ export enum BreakType {
|
|
|
356
316
|
}
|
|
357
317
|
/**
|
|
358
318
|
*/
|
|
359
|
-
export enum
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
319
|
+
export enum VAlignType {
|
|
320
|
+
Top,
|
|
321
|
+
Center,
|
|
322
|
+
Bottom,
|
|
323
|
+
Unsupported,
|
|
363
324
|
}
|
|
364
325
|
/**
|
|
365
326
|
*/
|
|
@@ -371,14 +332,54 @@ export enum VertAlignType {
|
|
|
371
332
|
}
|
|
372
333
|
/**
|
|
373
334
|
*/
|
|
374
|
-
export enum
|
|
375
|
-
|
|
335
|
+
export enum AlignmentType {
|
|
336
|
+
Both,
|
|
376
337
|
Center,
|
|
377
|
-
|
|
338
|
+
Distribute,
|
|
339
|
+
Start,
|
|
340
|
+
End,
|
|
341
|
+
Left,
|
|
342
|
+
Right,
|
|
343
|
+
Justified,
|
|
378
344
|
Unsupported,
|
|
379
345
|
}
|
|
380
346
|
/**
|
|
381
347
|
*/
|
|
348
|
+
export enum BorderType {
|
|
349
|
+
Nil,
|
|
350
|
+
None,
|
|
351
|
+
Single,
|
|
352
|
+
Thick,
|
|
353
|
+
Double,
|
|
354
|
+
Dotted,
|
|
355
|
+
Dashed,
|
|
356
|
+
DotDash,
|
|
357
|
+
DotDotDash,
|
|
358
|
+
Triple,
|
|
359
|
+
ThinThickSmallGap,
|
|
360
|
+
ThickThinSmallGap,
|
|
361
|
+
ThinThickThinSmallGap,
|
|
362
|
+
ThinThickMediumGap,
|
|
363
|
+
ThickThinMediumGap,
|
|
364
|
+
ThinThickThinMediumGap,
|
|
365
|
+
ThinThickLargeGap,
|
|
366
|
+
ThickThinLargeGap,
|
|
367
|
+
ThinThickThinLargeGap,
|
|
368
|
+
Wave,
|
|
369
|
+
DoubleWave,
|
|
370
|
+
DashSmallGap,
|
|
371
|
+
DashDotStroked,
|
|
372
|
+
ThreeDEmboss,
|
|
373
|
+
ThreeDEngrave,
|
|
374
|
+
Outset,
|
|
375
|
+
Inset,
|
|
376
|
+
Apples,
|
|
377
|
+
ArchedScallops,
|
|
378
|
+
BabyPacifier,
|
|
379
|
+
BabyRattle,
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
*/
|
|
382
383
|
export enum DrawingPositionType {
|
|
383
384
|
Anchor,
|
|
384
385
|
Inline,
|
|
@@ -388,6 +389,7 @@ export enum DrawingPositionType {
|
|
|
388
389
|
export enum PicAlign {
|
|
389
390
|
Left,
|
|
390
391
|
Right,
|
|
392
|
+
Center,
|
|
391
393
|
Bottom,
|
|
392
394
|
Top,
|
|
393
395
|
}
|
|
@@ -443,15 +445,6 @@ export enum SectionType {
|
|
|
443
445
|
}
|
|
444
446
|
/**
|
|
445
447
|
*/
|
|
446
|
-
export enum WidthType {
|
|
447
|
-
Dxa,
|
|
448
|
-
Auto,
|
|
449
|
-
Pct,
|
|
450
|
-
Nil,
|
|
451
|
-
Unsupported,
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
*/
|
|
455
448
|
export enum TableBorderPosition {
|
|
456
449
|
Left,
|
|
457
450
|
Right,
|
|
@@ -489,6 +482,15 @@ export enum TableLayoutType {
|
|
|
489
482
|
}
|
|
490
483
|
/**
|
|
491
484
|
*/
|
|
485
|
+
export enum WidthType {
|
|
486
|
+
Dxa,
|
|
487
|
+
Auto,
|
|
488
|
+
Pct,
|
|
489
|
+
Nil,
|
|
490
|
+
Unsupported,
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
*/
|
|
492
494
|
export class AbstractNumbering {
|
|
493
495
|
free(): void;
|
|
494
496
|
/**
|
|
@@ -420,12 +420,6 @@ module.exports.createLevelOverride = function(level) {
|
|
|
420
420
|
return LevelOverride.__wrap(ret);
|
|
421
421
|
};
|
|
422
422
|
|
|
423
|
-
/**
|
|
424
|
-
*/
|
|
425
|
-
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", });
|
|
426
|
-
/**
|
|
427
|
-
*/
|
|
428
|
-
module.exports.AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",End:3,"3":"End",Left:4,"4":"Left",Right:5,"5":"Right",Justified:6,"6":"Justified",Unsupported:7,"7":"Unsupported", });
|
|
429
423
|
/**
|
|
430
424
|
*/
|
|
431
425
|
module.exports.HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
@@ -493,6 +487,9 @@ module.exports.RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMar
|
|
|
493
487
|
module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
494
488
|
/**
|
|
495
489
|
*/
|
|
490
|
+
module.exports.LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
491
|
+
/**
|
|
492
|
+
*/
|
|
496
493
|
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", });
|
|
497
494
|
/**
|
|
498
495
|
*/
|
|
@@ -505,19 +502,22 @@ module.exports.TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV"
|
|
|
505
502
|
module.exports.BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
506
503
|
/**
|
|
507
504
|
*/
|
|
508
|
-
module.exports.
|
|
505
|
+
module.exports.VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
|
|
509
506
|
/**
|
|
510
507
|
*/
|
|
511
508
|
module.exports.VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
512
509
|
/**
|
|
513
510
|
*/
|
|
514
|
-
module.exports.
|
|
511
|
+
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", });
|
|
512
|
+
/**
|
|
513
|
+
*/
|
|
514
|
+
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", });
|
|
515
515
|
/**
|
|
516
516
|
*/
|
|
517
517
|
module.exports.DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
|
|
518
518
|
/**
|
|
519
519
|
*/
|
|
520
|
-
module.exports.PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",
|
|
520
|
+
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
521
|
/**
|
|
522
522
|
*/
|
|
523
523
|
module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
|
|
@@ -541,9 +541,6 @@ module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"
|
|
|
541
541
|
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", });
|
|
542
542
|
/**
|
|
543
543
|
*/
|
|
544
|
-
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
|
-
/**
|
|
546
|
-
*/
|
|
547
544
|
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", });
|
|
548
545
|
/**
|
|
549
546
|
*/
|
|
@@ -556,6 +553,9 @@ module.exports.StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character
|
|
|
556
553
|
module.exports.TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
557
554
|
/**
|
|
558
555
|
*/
|
|
556
|
+
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", });
|
|
557
|
+
/**
|
|
558
|
+
*/
|
|
559
559
|
class AbstractNumbering {
|
|
560
560
|
|
|
561
561
|
static __wrap(ptr) {
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type PicAlign = "left" | "right" | "bottom" | "top";
|
|
1
|
+
export declare type PicAlign = "left" | "right" | "center" | "bottom" | "top";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawingPosition.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/DrawingPosition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type DrawingPositionType = "anchor" | "inline";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawingPositionType.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/DrawingPositionType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontGroup.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/FontGroup.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontScheme.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/FontScheme.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontSchemeFont.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/FontSchemeFont.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageData.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/ImageData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { DrawingPosition } from "./DrawingPosition";
|
|
2
|
+
import type { DrawingPositionType } from "./DrawingPositionType";
|
|
3
|
+
import type { RelativeFromHType } from "./RelativeFromHType";
|
|
4
|
+
import type { RelativeFromVType } from "./RelativeFromVType";
|
|
5
|
+
export interface Pic {
|
|
6
|
+
id: string;
|
|
7
|
+
image: Array<number>;
|
|
8
|
+
size: [number, number];
|
|
9
|
+
positionType: DrawingPositionType;
|
|
10
|
+
simplePos: boolean;
|
|
11
|
+
simplePosX: number;
|
|
12
|
+
simplePosY: number;
|
|
13
|
+
layoutInCell: boolean;
|
|
14
|
+
relativeHeight: number;
|
|
15
|
+
allowOverlap: boolean;
|
|
16
|
+
positionH: DrawingPosition;
|
|
17
|
+
positionV: DrawingPosition;
|
|
18
|
+
relativeFromH: RelativeFromHType;
|
|
19
|
+
relativeFromV: RelativeFromVType;
|
|
20
|
+
distT: number;
|
|
21
|
+
distB: number;
|
|
22
|
+
distL: number;
|
|
23
|
+
distR: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pic.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/Pic.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type PicAlign = "left" | "right" | "bottom" | "top";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PicAlign.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/PicAlign.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type RelativeFromHType = "character" | "column" | "insideMargin" | "leftMargin" | "margin" | "outsizeMargin" | "page" | "rightMargin";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelativeFromHType.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/RelativeFromHType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type RelativeFromVType = "bottomMargin" | "insideMargin" | "line" | "margin" | "outsizeMargin" | "page" | "paragraph" | "topMargin";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelativeFromVType.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/RelativeFromVType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shape.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/Shape.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../../../../js/json/bindings/bindings/Theme.ts"],"names":[],"mappings":""}
|
|
@@ -12,7 +12,7 @@ export declare type ParagraphPropertyJSON = {
|
|
|
12
12
|
runProperty: RunPropertyJSON;
|
|
13
13
|
style?: string | null;
|
|
14
14
|
numberingProperty?: NumberingPropertyJSON | null;
|
|
15
|
-
alignment?: "left" | "center" | "right" | "justified" | "both";
|
|
15
|
+
alignment?: "left" | "center" | "right" | "justified" | "both" | "start" | "end" | "unsupported";
|
|
16
16
|
indent?: IndentJSON | null;
|
|
17
17
|
lineSpacing?: LineSpacingJSON | null;
|
|
18
18
|
divId?: string | null;
|
|
@@ -134,53 +134,6 @@ export function createStyle(style_id: string, style_type: number): Style;
|
|
|
134
134
|
export function createLevelOverride(level: number): LevelOverride;
|
|
135
135
|
/**
|
|
136
136
|
*/
|
|
137
|
-
export enum BorderType {
|
|
138
|
-
Nil,
|
|
139
|
-
None,
|
|
140
|
-
Single,
|
|
141
|
-
Thick,
|
|
142
|
-
Double,
|
|
143
|
-
Dotted,
|
|
144
|
-
Dashed,
|
|
145
|
-
DotDash,
|
|
146
|
-
DotDotDash,
|
|
147
|
-
Triple,
|
|
148
|
-
ThinThickSmallGap,
|
|
149
|
-
ThickThinSmallGap,
|
|
150
|
-
ThinThickThinSmallGap,
|
|
151
|
-
ThinThickMediumGap,
|
|
152
|
-
ThickThinMediumGap,
|
|
153
|
-
ThinThickThinMediumGap,
|
|
154
|
-
ThinThickLargeGap,
|
|
155
|
-
ThickThinLargeGap,
|
|
156
|
-
ThinThickThinLargeGap,
|
|
157
|
-
Wave,
|
|
158
|
-
DoubleWave,
|
|
159
|
-
DashSmallGap,
|
|
160
|
-
DashDotStroked,
|
|
161
|
-
ThreeDEmboss,
|
|
162
|
-
ThreeDEngrave,
|
|
163
|
-
Outset,
|
|
164
|
-
Inset,
|
|
165
|
-
Apples,
|
|
166
|
-
ArchedScallops,
|
|
167
|
-
BabyPacifier,
|
|
168
|
-
BabyRattle,
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
*/
|
|
172
|
-
export enum AlignmentType {
|
|
173
|
-
Both,
|
|
174
|
-
Center,
|
|
175
|
-
Distribute,
|
|
176
|
-
End,
|
|
177
|
-
Left,
|
|
178
|
-
Right,
|
|
179
|
-
Justified,
|
|
180
|
-
Unsupported,
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
*/
|
|
184
137
|
export enum HeightRule {
|
|
185
138
|
Auto,
|
|
186
139
|
AtLeast,
|
|
@@ -279,6 +232,13 @@ export enum DocGridType {
|
|
|
279
232
|
}
|
|
280
233
|
/**
|
|
281
234
|
*/
|
|
235
|
+
export enum LineSpacingType {
|
|
236
|
+
Auto,
|
|
237
|
+
AtLeast,
|
|
238
|
+
Exact,
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
*/
|
|
282
242
|
export enum ShdType {
|
|
283
243
|
Nil,
|
|
284
244
|
Clear,
|
|
@@ -356,10 +316,11 @@ export enum BreakType {
|
|
|
356
316
|
}
|
|
357
317
|
/**
|
|
358
318
|
*/
|
|
359
|
-
export enum
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
319
|
+
export enum VAlignType {
|
|
320
|
+
Top,
|
|
321
|
+
Center,
|
|
322
|
+
Bottom,
|
|
323
|
+
Unsupported,
|
|
363
324
|
}
|
|
364
325
|
/**
|
|
365
326
|
*/
|
|
@@ -371,14 +332,54 @@ export enum VertAlignType {
|
|
|
371
332
|
}
|
|
372
333
|
/**
|
|
373
334
|
*/
|
|
374
|
-
export enum
|
|
375
|
-
|
|
335
|
+
export enum AlignmentType {
|
|
336
|
+
Both,
|
|
376
337
|
Center,
|
|
377
|
-
|
|
338
|
+
Distribute,
|
|
339
|
+
Start,
|
|
340
|
+
End,
|
|
341
|
+
Left,
|
|
342
|
+
Right,
|
|
343
|
+
Justified,
|
|
378
344
|
Unsupported,
|
|
379
345
|
}
|
|
380
346
|
/**
|
|
381
347
|
*/
|
|
348
|
+
export enum BorderType {
|
|
349
|
+
Nil,
|
|
350
|
+
None,
|
|
351
|
+
Single,
|
|
352
|
+
Thick,
|
|
353
|
+
Double,
|
|
354
|
+
Dotted,
|
|
355
|
+
Dashed,
|
|
356
|
+
DotDash,
|
|
357
|
+
DotDotDash,
|
|
358
|
+
Triple,
|
|
359
|
+
ThinThickSmallGap,
|
|
360
|
+
ThickThinSmallGap,
|
|
361
|
+
ThinThickThinSmallGap,
|
|
362
|
+
ThinThickMediumGap,
|
|
363
|
+
ThickThinMediumGap,
|
|
364
|
+
ThinThickThinMediumGap,
|
|
365
|
+
ThinThickLargeGap,
|
|
366
|
+
ThickThinLargeGap,
|
|
367
|
+
ThinThickThinLargeGap,
|
|
368
|
+
Wave,
|
|
369
|
+
DoubleWave,
|
|
370
|
+
DashSmallGap,
|
|
371
|
+
DashDotStroked,
|
|
372
|
+
ThreeDEmboss,
|
|
373
|
+
ThreeDEngrave,
|
|
374
|
+
Outset,
|
|
375
|
+
Inset,
|
|
376
|
+
Apples,
|
|
377
|
+
ArchedScallops,
|
|
378
|
+
BabyPacifier,
|
|
379
|
+
BabyRattle,
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
*/
|
|
382
383
|
export enum DrawingPositionType {
|
|
383
384
|
Anchor,
|
|
384
385
|
Inline,
|
|
@@ -388,6 +389,7 @@ export enum DrawingPositionType {
|
|
|
388
389
|
export enum PicAlign {
|
|
389
390
|
Left,
|
|
390
391
|
Right,
|
|
392
|
+
Center,
|
|
391
393
|
Bottom,
|
|
392
394
|
Top,
|
|
393
395
|
}
|
|
@@ -443,15 +445,6 @@ export enum SectionType {
|
|
|
443
445
|
}
|
|
444
446
|
/**
|
|
445
447
|
*/
|
|
446
|
-
export enum WidthType {
|
|
447
|
-
Dxa,
|
|
448
|
-
Auto,
|
|
449
|
-
Pct,
|
|
450
|
-
Nil,
|
|
451
|
-
Unsupported,
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
*/
|
|
455
448
|
export enum TableBorderPosition {
|
|
456
449
|
Left,
|
|
457
450
|
Right,
|
|
@@ -489,6 +482,15 @@ export enum TableLayoutType {
|
|
|
489
482
|
}
|
|
490
483
|
/**
|
|
491
484
|
*/
|
|
485
|
+
export enum WidthType {
|
|
486
|
+
Dxa,
|
|
487
|
+
Auto,
|
|
488
|
+
Pct,
|
|
489
|
+
Nil,
|
|
490
|
+
Unsupported,
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
*/
|
|
492
494
|
export class AbstractNumbering {
|
|
493
495
|
free(): void;
|
|
494
496
|
/**
|
|
@@ -421,12 +421,6 @@ export function createLevelOverride(level) {
|
|
|
421
421
|
return LevelOverride.__wrap(ret);
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
/**
|
|
425
|
-
*/
|
|
426
|
-
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", });
|
|
427
|
-
/**
|
|
428
|
-
*/
|
|
429
|
-
export const AlignmentType = Object.freeze({ Both:0,"0":"Both",Center:1,"1":"Center",Distribute:2,"2":"Distribute",End:3,"3":"End",Left:4,"4":"Left",Right:5,"5":"Right",Justified:6,"6":"Justified",Unsupported:7,"7":"Unsupported", });
|
|
430
424
|
/**
|
|
431
425
|
*/
|
|
432
426
|
export const HeightRule = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
@@ -494,6 +488,9 @@ export const RelativeFromVType = Object.freeze({ BottomMargin:0,"0":"BottomMargi
|
|
|
494
488
|
export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
|
|
495
489
|
/**
|
|
496
490
|
*/
|
|
491
|
+
export const LineSpacingType = Object.freeze({ Auto:0,"0":"Auto",AtLeast:1,"1":"AtLeast",Exact:2,"2":"Exact", });
|
|
492
|
+
/**
|
|
493
|
+
*/
|
|
497
494
|
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", });
|
|
498
495
|
/**
|
|
499
496
|
*/
|
|
@@ -506,19 +503,22 @@ export const TextDirectionType = Object.freeze({ Lr:0,"0":"Lr",LrV:1,"1":"LrV",R
|
|
|
506
503
|
export const BreakType = Object.freeze({ Page:0,"0":"Page",Column:1,"1":"Column",TextWrapping:2,"2":"TextWrapping",Unsupported:3,"3":"Unsupported", });
|
|
507
504
|
/**
|
|
508
505
|
*/
|
|
509
|
-
export const
|
|
506
|
+
export const VAlignType = Object.freeze({ Top:0,"0":"Top",Center:1,"1":"Center",Bottom:2,"2":"Bottom",Unsupported:3,"3":"Unsupported", });
|
|
510
507
|
/**
|
|
511
508
|
*/
|
|
512
509
|
export const VertAlignType = Object.freeze({ Baseline:0,"0":"Baseline",SuperScript:1,"1":"SuperScript",SubScript:2,"2":"SubScript",Unsupported:3,"3":"Unsupported", });
|
|
513
510
|
/**
|
|
514
511
|
*/
|
|
515
|
-
export const
|
|
512
|
+
export const 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", });
|
|
513
|
+
/**
|
|
514
|
+
*/
|
|
515
|
+
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", });
|
|
516
516
|
/**
|
|
517
517
|
*/
|
|
518
518
|
export const DrawingPositionType = Object.freeze({ Anchor:0,"0":"Anchor",Inline:1,"1":"Inline", });
|
|
519
519
|
/**
|
|
520
520
|
*/
|
|
521
|
-
export const PicAlign = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",
|
|
521
|
+
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", });
|
|
522
522
|
/**
|
|
523
523
|
*/
|
|
524
524
|
export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Hanging:1,"1":"Hanging", });
|
|
@@ -542,9 +542,6 @@ export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1"
|
|
|
542
542
|
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", });
|
|
543
543
|
/**
|
|
544
544
|
*/
|
|
545
|
-
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", });
|
|
546
|
-
/**
|
|
547
|
-
*/
|
|
548
545
|
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", });
|
|
549
546
|
/**
|
|
550
547
|
*/
|
|
@@ -557,6 +554,9 @@ export const StyleType = Object.freeze({ Paragraph:0,"0":"Paragraph",Character:1
|
|
|
557
554
|
export const TableLayoutType = Object.freeze({ Fixed:0,"0":"Fixed",Autofit:1,"1":"Autofit", });
|
|
558
555
|
/**
|
|
559
556
|
*/
|
|
557
|
+
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", });
|
|
558
|
+
/**
|
|
559
|
+
*/
|
|
560
560
|
export class AbstractNumbering {
|
|
561
561
|
|
|
562
562
|
static __wrap(ptr) {
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export type PicAlign = "left" | "right" | "bottom" | "top";
|
|
2
|
+
export type PicAlign = "left" | "right" | "center" | "bottom" | "top";
|
package/js/json/paragraph.ts
CHANGED
|
@@ -35,7 +35,15 @@ export type ParagraphPropertyJSON = {
|
|
|
35
35
|
runProperty: RunPropertyJSON;
|
|
36
36
|
style?: string | null;
|
|
37
37
|
numberingProperty?: NumberingPropertyJSON | null;
|
|
38
|
-
alignment?:
|
|
38
|
+
alignment?:
|
|
39
|
+
| "left"
|
|
40
|
+
| "center"
|
|
41
|
+
| "right"
|
|
42
|
+
| "justified"
|
|
43
|
+
| "both"
|
|
44
|
+
| "start"
|
|
45
|
+
| "end"
|
|
46
|
+
| "unsupported";
|
|
39
47
|
indent?: IndentJSON | null;
|
|
40
48
|
lineSpacing?: LineSpacingJSON | null;
|
|
41
49
|
divId?: string | null;
|
|
@@ -91,17 +99,17 @@ export type DeleteJSON = {
|
|
|
91
99
|
export type HyperlinkJSON = {
|
|
92
100
|
type: "hyperlink";
|
|
93
101
|
data:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
| {
|
|
103
|
+
type: "external";
|
|
104
|
+
rid: string;
|
|
105
|
+
children: HyperlinkChildJSON[];
|
|
106
|
+
history: number | null;
|
|
107
|
+
}
|
|
108
|
+
| {
|
|
109
|
+
type: "anchor";
|
|
110
|
+
anchor: string;
|
|
111
|
+
children: HyperlinkChildJSON[];
|
|
112
|
+
};
|
|
105
113
|
};
|
|
106
114
|
|
|
107
115
|
export type DeleteChildJSON =
|