docx-wasm 0.4.12-beta0 → 0.4.12-beta1

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.
@@ -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;
@@ -160,20 +160,6 @@ export enum SectionType {
160
160
  }
161
161
  /**
162
162
  */
163
- export enum TextDirectionType {
164
- Lr,
165
- LrV,
166
- Rl,
167
- RlV,
168
- Tb,
169
- TbV,
170
- TbRlV,
171
- TbRl,
172
- BtLr,
173
- LrTbV,
174
- }
175
- /**
176
- */
177
163
  export enum StyleType {
178
164
  Paragraph,
179
165
  Character,
@@ -196,6 +182,20 @@ export enum TabValueType {
196
182
  }
197
183
  /**
198
184
  */
185
+ export enum TextDirectionType {
186
+ Lr,
187
+ LrV,
188
+ Rl,
189
+ RlV,
190
+ Tb,
191
+ TbV,
192
+ TbRlV,
193
+ TbRl,
194
+ BtLr,
195
+ LrTbV,
196
+ }
197
+ /**
198
+ */
199
199
  export enum DocGridType {
200
200
  Default,
201
201
  Lines,
@@ -450,15 +450,15 @@ module.exports.PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape"
450
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", });
451
451
  /**
452
452
  */
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", });
454
- /**
455
- */
456
453
  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", });
457
454
  /**
458
455
  */
459
456
  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", });
460
457
  /**
461
458
  */
459
+ 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", });
460
+ /**
461
+ */
462
462
  module.exports.DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
463
463
  /**
464
464
  */
Binary file
@@ -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;
@@ -160,20 +160,6 @@ export enum SectionType {
160
160
  }
161
161
  /**
162
162
  */
163
- export enum TextDirectionType {
164
- Lr,
165
- LrV,
166
- Rl,
167
- RlV,
168
- Tb,
169
- TbV,
170
- TbRlV,
171
- TbRl,
172
- BtLr,
173
- LrTbV,
174
- }
175
- /**
176
- */
177
163
  export enum StyleType {
178
164
  Paragraph,
179
165
  Character,
@@ -196,6 +182,20 @@ export enum TabValueType {
196
182
  }
197
183
  /**
198
184
  */
185
+ export enum TextDirectionType {
186
+ Lr,
187
+ LrV,
188
+ Rl,
189
+ RlV,
190
+ Tb,
191
+ TbV,
192
+ TbRlV,
193
+ TbRl,
194
+ BtLr,
195
+ LrTbV,
196
+ }
197
+ /**
198
+ */
199
199
  export enum DocGridType {
200
200
  Default,
201
201
  Lines,
@@ -451,15 +451,15 @@ export const PageOrientationType = Object.freeze({ Landscape:0,"0":"Landscape",P
451
451
  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", });
452
452
  /**
453
453
  */
454
- 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", });
455
- /**
456
- */
457
454
  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", });
458
455
  /**
459
456
  */
460
457
  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", });
461
458
  /**
462
459
  */
460
+ 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", });
461
+ /**
462
+ */
463
463
  export const DocGridType = Object.freeze({ Default:0,"0":"Default",Lines:1,"1":"Lines",LinesAndChars:2,"2":"LinesAndChars",SnapToChars:3,"3":"SnapToChars", });
464
464
  /**
465
465
  */
Binary file
package/js/json/footer.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { ParagraphJSON } from "./paragraph";
2
+ import { StructuredTagJSON } from "./structured-data-tag";
2
3
  import { TableJSON } from "./table";
3
4
 
4
5
  export type FooterJSON = {
5
- children: (ParagraphJSON | TableJSON)[];
6
+ children: (ParagraphJSON | TableJSON | StructuredTagJSON)[];
6
7
  };
7
8
 
8
9
  export type FooterReferenceJSON = {
package/js/json/header.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { ParagraphJSON } from "./paragraph";
2
+ import { StructuredTagJSON } from "./structured-data-tag";
2
3
  import { TableJSON } from "./table";
3
4
 
4
5
  export type HeaderJSON = {
5
- children: (ParagraphJSON | TableJSON)[];
6
+ children: (ParagraphJSON | TableJSON | StructuredTagJSON)[];
6
7
  };
7
8
 
8
9
  export type HeaderReferenceJSON = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-wasm",
3
- "version": "0.4.12-beta0",
3
+ "version": "0.4.12-beta1",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",