docx-wasm 0.4.14-beta6 → 0.4.15

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 (159) hide show
  1. package/dist/node/border.d.ts +1 -1
  2. package/dist/node/break.d.ts +1 -1
  3. package/dist/node/builder.d.ts +1 -1
  4. package/dist/node/hyperlink.d.ts +1 -1
  5. package/dist/node/json/bindings/AlignmentType.d.ts +1 -1
  6. package/dist/node/json/bindings/Bold.d.ts +1 -1
  7. package/dist/node/json/bindings/BoldCs.d.ts +1 -1
  8. package/dist/node/json/bindings/BorderType.d.ts +1 -1
  9. package/dist/node/json/bindings/BreakType.d.ts +1 -1
  10. package/dist/node/json/bindings/Caps.d.ts +1 -1
  11. package/dist/node/json/bindings/CharacterSpacing.d.ts +1 -1
  12. package/dist/node/json/bindings/Color.d.ts +1 -1
  13. package/dist/node/json/bindings/DeleteChild.d.ts +1 -1
  14. package/dist/node/json/bindings/DrawingPosition.d.ts +1 -1
  15. package/dist/node/json/bindings/DrawingPositionType.d.ts +1 -1
  16. package/dist/node/json/bindings/FieldCharType.d.ts +1 -1
  17. package/dist/node/json/bindings/Highlight.d.ts +1 -1
  18. package/dist/node/json/bindings/HyperlinkType.d.ts +1 -1
  19. package/dist/node/json/bindings/InsertChild.d.ts +1 -1
  20. package/dist/node/json/bindings/InstrText.d.ts +1 -1
  21. package/dist/node/json/bindings/Italic.d.ts +1 -1
  22. package/dist/node/json/bindings/ItalicCs.d.ts +1 -1
  23. package/dist/node/json/bindings/PicAlign.d.ts +1 -1
  24. package/dist/node/json/bindings/RelativeFromHType.d.ts +1 -1
  25. package/dist/node/json/bindings/RelativeFromVType.d.ts +1 -1
  26. package/dist/node/json/bindings/RunStyle.d.ts +1 -1
  27. package/dist/node/json/bindings/SpecVanish.d.ts +1 -1
  28. package/dist/node/json/bindings/Strike.d.ts +1 -1
  29. package/dist/node/json/bindings/StyleWithLevel.d.ts +1 -1
  30. package/dist/node/json/bindings/Sz.d.ts +1 -1
  31. package/dist/node/json/bindings/SzCs.d.ts +1 -1
  32. package/dist/node/json/bindings/TabLeaderType.d.ts +1 -1
  33. package/dist/node/json/bindings/TabValueType.d.ts +1 -1
  34. package/dist/node/json/bindings/TableCellBorderPosition.d.ts +1 -1
  35. package/dist/node/json/bindings/TextAlignmentType.d.ts +1 -1
  36. package/dist/node/json/bindings/Underline.d.ts +1 -1
  37. package/dist/node/json/bindings/Vanish.d.ts +1 -1
  38. package/dist/node/json/bindings/VertAlign.d.ts +1 -1
  39. package/dist/node/json/border.d.ts +1 -1
  40. package/dist/node/json/comment.d.ts +4 -4
  41. package/dist/node/json/document.d.ts +2 -2
  42. package/dist/node/json/drawing.d.ts +8 -8
  43. package/dist/node/json/footer.d.ts +2 -2
  44. package/dist/node/json/header.d.ts +2 -2
  45. package/dist/node/json/indent.d.ts +1 -1
  46. package/dist/node/json/index.d.ts +2 -2
  47. package/dist/node/json/line_spacing.d.ts +1 -1
  48. package/dist/node/json/numbering.d.ts +5 -5
  49. package/dist/node/json/paragraph.d.ts +15 -15
  50. package/dist/node/json/run.d.ts +13 -13
  51. package/dist/node/json/section-property.d.ts +4 -4
  52. package/dist/node/json/shading.d.ts +1 -1
  53. package/dist/node/json/shape.d.ts +1 -1
  54. package/dist/node/json/structured-data-tag.d.ts +2 -2
  55. package/dist/node/json/styles.d.ts +2 -2
  56. package/dist/node/json/table.d.ts +11 -11
  57. package/dist/node/json/textbox-content.d.ts +2 -2
  58. package/dist/node/json/web-settings.d.ts +2 -2
  59. package/dist/node/level.d.ts +1 -1
  60. package/dist/node/page-num.d.ts +1 -4
  61. package/dist/node/page-num.js +1 -13
  62. package/dist/node/page-num.js.map +1 -1
  63. package/dist/node/paragraph-property.d.ts +4 -5
  64. package/dist/node/paragraph-property.js.map +1 -1
  65. package/dist/node/paragraph.d.ts +1 -1
  66. package/dist/node/pkg/docx_wasm.d.ts +202 -207
  67. package/dist/node/pkg/docx_wasm.js +231 -240
  68. package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
  69. package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +188 -189
  70. package/dist/node/run.d.ts +6 -6
  71. package/dist/node/section-property.d.ts +4 -4
  72. package/dist/node/settings.d.ts +2 -2
  73. package/dist/node/style.d.ts +1 -1
  74. package/dist/node/table-cell-border.d.ts +1 -1
  75. package/dist/node/table-cell-borders.d.ts +1 -1
  76. package/dist/node/table-cell.d.ts +4 -4
  77. package/dist/node/table-row.d.ts +1 -1
  78. package/dist/node/table.d.ts +4 -4
  79. package/dist/web/border.d.ts +1 -1
  80. package/dist/web/break.d.ts +1 -1
  81. package/dist/web/builder.d.ts +1 -1
  82. package/dist/web/hyperlink.d.ts +1 -1
  83. package/dist/web/json/bindings/AlignmentType.d.ts +1 -1
  84. package/dist/web/json/bindings/Bold.d.ts +1 -1
  85. package/dist/web/json/bindings/BoldCs.d.ts +1 -1
  86. package/dist/web/json/bindings/BorderType.d.ts +1 -1
  87. package/dist/web/json/bindings/BreakType.d.ts +1 -1
  88. package/dist/web/json/bindings/Caps.d.ts +1 -1
  89. package/dist/web/json/bindings/CharacterSpacing.d.ts +1 -1
  90. package/dist/web/json/bindings/Color.d.ts +1 -1
  91. package/dist/web/json/bindings/DeleteChild.d.ts +1 -1
  92. package/dist/web/json/bindings/DrawingPosition.d.ts +1 -1
  93. package/dist/web/json/bindings/DrawingPositionType.d.ts +1 -1
  94. package/dist/web/json/bindings/FieldCharType.d.ts +1 -1
  95. package/dist/web/json/bindings/Highlight.d.ts +1 -1
  96. package/dist/web/json/bindings/HyperlinkType.d.ts +1 -1
  97. package/dist/web/json/bindings/InsertChild.d.ts +1 -1
  98. package/dist/web/json/bindings/InstrText.d.ts +1 -1
  99. package/dist/web/json/bindings/Italic.d.ts +1 -1
  100. package/dist/web/json/bindings/ItalicCs.d.ts +1 -1
  101. package/dist/web/json/bindings/PicAlign.d.ts +1 -1
  102. package/dist/web/json/bindings/RelativeFromHType.d.ts +1 -1
  103. package/dist/web/json/bindings/RelativeFromVType.d.ts +1 -1
  104. package/dist/web/json/bindings/RunStyle.d.ts +1 -1
  105. package/dist/web/json/bindings/SpecVanish.d.ts +1 -1
  106. package/dist/web/json/bindings/Strike.d.ts +1 -1
  107. package/dist/web/json/bindings/StyleWithLevel.d.ts +1 -1
  108. package/dist/web/json/bindings/Sz.d.ts +1 -1
  109. package/dist/web/json/bindings/SzCs.d.ts +1 -1
  110. package/dist/web/json/bindings/TabLeaderType.d.ts +1 -1
  111. package/dist/web/json/bindings/TabValueType.d.ts +1 -1
  112. package/dist/web/json/bindings/TableCellBorderPosition.d.ts +1 -1
  113. package/dist/web/json/bindings/TextAlignmentType.d.ts +1 -1
  114. package/dist/web/json/bindings/Underline.d.ts +1 -1
  115. package/dist/web/json/bindings/Vanish.d.ts +1 -1
  116. package/dist/web/json/bindings/VertAlign.d.ts +1 -1
  117. package/dist/web/json/border.d.ts +1 -1
  118. package/dist/web/json/comment.d.ts +4 -4
  119. package/dist/web/json/document.d.ts +2 -2
  120. package/dist/web/json/drawing.d.ts +8 -8
  121. package/dist/web/json/footer.d.ts +2 -2
  122. package/dist/web/json/header.d.ts +2 -2
  123. package/dist/web/json/indent.d.ts +1 -1
  124. package/dist/web/json/index.d.ts +2 -2
  125. package/dist/web/json/line_spacing.d.ts +1 -1
  126. package/dist/web/json/numbering.d.ts +5 -5
  127. package/dist/web/json/paragraph.d.ts +15 -15
  128. package/dist/web/json/run.d.ts +13 -13
  129. package/dist/web/json/section-property.d.ts +4 -4
  130. package/dist/web/json/shading.d.ts +1 -1
  131. package/dist/web/json/shape.d.ts +1 -1
  132. package/dist/web/json/structured-data-tag.d.ts +2 -2
  133. package/dist/web/json/styles.d.ts +2 -2
  134. package/dist/web/json/table.d.ts +11 -11
  135. package/dist/web/json/textbox-content.d.ts +2 -2
  136. package/dist/web/json/web-settings.d.ts +2 -2
  137. package/dist/web/level.d.ts +1 -1
  138. package/dist/web/page-num.d.ts +1 -4
  139. package/dist/web/page-num.js +1 -13
  140. package/dist/web/page-num.js.map +1 -1
  141. package/dist/web/paragraph-property.d.ts +4 -5
  142. package/dist/web/paragraph-property.js.map +1 -1
  143. package/dist/web/paragraph.d.ts +1 -1
  144. package/dist/web/pkg/docx_wasm.d.ts +202 -207
  145. package/dist/web/pkg/docx_wasm_bg.js +230 -239
  146. package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
  147. package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +188 -189
  148. package/dist/web/run.d.ts +6 -6
  149. package/dist/web/section-property.d.ts +4 -4
  150. package/dist/web/settings.d.ts +2 -2
  151. package/dist/web/style.d.ts +1 -1
  152. package/dist/web/table-cell-border.d.ts +1 -1
  153. package/dist/web/table-cell-borders.d.ts +1 -1
  154. package/dist/web/table-cell.d.ts +4 -4
  155. package/dist/web/table-row.d.ts +1 -1
  156. package/dist/web/table.d.ts +4 -4
  157. package/js/page-num.ts +0 -21
  158. package/js/paragraph-property.ts +8 -2
  159. package/package.json +1 -1
@@ -1 +1 @@
1
- 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";
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,4 @@
1
- export type BreakType = "page" | "column" | "textWrapping";
1
+ export declare type BreakType = "page" | "column" | "textWrapping";
2
2
  export declare class Break {
3
3
  type: BreakType;
4
4
  constructor(type: BreakType);
@@ -2,6 +2,6 @@ import { Comment } from "./comment";
2
2
  import { Paragraph } from "./paragraph";
3
3
  import { Table } from "./table";
4
4
  import { Hyperlink } from "./hyperlink";
5
- type Child = Paragraph | Table | Comment | Hyperlink;
5
+ declare type Child = Paragraph | Table | Comment | Hyperlink;
6
6
  export declare function build<T>(child: Child): T;
7
7
  export {};
@@ -5,7 +5,7 @@ import { Delete } from "./delete";
5
5
  import { Comment } from "./comment";
6
6
  import { CommentEnd } from "./comment-end";
7
7
  import { ParagraphChild } from "./paragraph";
8
- export type HyperlinkType = "anchor" | "external";
8
+ export declare type HyperlinkType = "anchor" | "external";
9
9
  export declare class Hyperlink {
10
10
  v: string;
11
11
  type: HyperlinkType;
@@ -1 +1 @@
1
- export type AlignmentType = "both" | "center" | "distribute" | "start" | "end" | "left" | "right" | "justified";
1
+ export declare type AlignmentType = "both" | "center" | "distribute" | "start" | "end" | "left" | "right" | "justified";
@@ -1 +1 @@
1
- export type Bold = boolean;
1
+ export declare type Bold = boolean;
@@ -1 +1 @@
1
- export type BoldCs = boolean;
1
+ export declare type BoldCs = boolean;
@@ -1 +1 @@
1
- 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";
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 +1 @@
1
- export type BreakType = "Page" | "Column" | "TextWrapping" | "Unsupported";
1
+ export declare type BreakType = "Page" | "Column" | "TextWrapping" | "Unsupported";
@@ -1 +1 @@
1
- export type Caps = boolean;
1
+ export declare type Caps = boolean;
@@ -1 +1 @@
1
- export type CharacterSpacing = number;
1
+ export declare type CharacterSpacing = number;
@@ -1 +1 @@
1
- export type Color = string;
1
+ export declare type Color = string;
@@ -1,7 +1,7 @@
1
1
  import type { CommentRangeEnd } from "./CommentRangeEnd";
2
2
  import type { CommentRangeStart } from "./CommentRangeStart";
3
3
  import type { Run } from "./Run";
4
- export type DeleteChild = {
4
+ export declare type DeleteChild = {
5
5
  "Run": Run;
6
6
  } | {
7
7
  "CommentStart": CommentRangeStart;
@@ -1,5 +1,5 @@
1
1
  import type { PicAlign } from "./PicAlign";
2
- export type DrawingPosition = {
2
+ export declare type DrawingPosition = {
3
3
  offset: number;
4
4
  } | {
5
5
  align: PicAlign;
@@ -1 +1 @@
1
- export type DrawingPositionType = "anchor" | "inline";
1
+ export declare type DrawingPositionType = "anchor" | "inline";
@@ -1 +1 @@
1
- export type FieldCharType = "begin" | "separate" | "end" | "unsupported";
1
+ export declare type FieldCharType = "begin" | "separate" | "end" | "unsupported";
@@ -1 +1 @@
1
- export type Highlight = string;
1
+ export declare type Highlight = string;
@@ -1 +1 @@
1
- export type HyperlinkType = "anchor" | "external";
1
+ export declare type HyperlinkType = "anchor" | "external";
@@ -2,7 +2,7 @@ import type { CommentRangeEnd } from "./CommentRangeEnd";
2
2
  import type { CommentRangeStart } from "./CommentRangeStart";
3
3
  import type { Delete } from "./Delete";
4
4
  import type { Run } from "./Run";
5
- export type InsertChild = {
5
+ export declare type InsertChild = {
6
6
  "Run": Run;
7
7
  } | {
8
8
  "Delete": Delete;
@@ -2,7 +2,7 @@ import type { InstrHyperlink } from "./InstrHyperlink";
2
2
  import type { InstrPAGEREF } from "./InstrPAGEREF";
3
3
  import type { InstrTC } from "./InstrTC";
4
4
  import type { InstrToC } from "./InstrToC";
5
- export type InstrText = {
5
+ export declare type InstrText = {
6
6
  "TOC": InstrToC;
7
7
  } | {
8
8
  "TC": InstrTC;
@@ -1 +1 @@
1
- export type Italic = boolean;
1
+ export declare type Italic = boolean;
@@ -1 +1 @@
1
- export type ItalicCs = boolean;
1
+ export declare type ItalicCs = boolean;
@@ -1 +1 @@
1
- export type PicAlign = "left" | "right" | "center" | "bottom" | "top";
1
+ export declare type PicAlign = "left" | "right" | "center" | "bottom" | "top";
@@ -1 +1 @@
1
- export type RelativeFromHType = "character" | "column" | "insideMargin" | "leftMargin" | "margin" | "outsizeMargin" | "page" | "rightMargin";
1
+ export declare type RelativeFromHType = "character" | "column" | "insideMargin" | "leftMargin" | "margin" | "outsizeMargin" | "page" | "rightMargin";
@@ -1 +1 @@
1
- export type RelativeFromVType = "bottomMargin" | "insideMargin" | "line" | "margin" | "outsizeMargin" | "page" | "paragraph" | "topMargin";
1
+ export declare type RelativeFromVType = "bottomMargin" | "insideMargin" | "line" | "margin" | "outsizeMargin" | "page" | "paragraph" | "topMargin";
@@ -1 +1 @@
1
- export type RunStyle = string;
1
+ export declare type RunStyle = string;
@@ -1 +1 @@
1
- export type SpecVanish = boolean;
1
+ export declare type SpecVanish = boolean;
@@ -1 +1 @@
1
- export type Strike = boolean;
1
+ export declare type Strike = boolean;
@@ -1 +1 @@
1
- export type StyleWithLevel = [string, number];
1
+ export declare type StyleWithLevel = [string, number];
@@ -1 +1 @@
1
- export type Sz = number;
1
+ export declare type Sz = number;
@@ -1 +1 @@
1
- export type SzCs = number;
1
+ export declare type SzCs = number;
@@ -1 +1 @@
1
- export type TabLeaderType = "dot" | "heavy" | "hyphen" | "middleDot" | "none" | "underscore";
1
+ export declare type TabLeaderType = "dot" | "heavy" | "hyphen" | "middleDot" | "none" | "underscore";
@@ -1 +1 @@
1
- export type TabValueType = "bar" | "center" | "clear" | "decimal" | "end" | "right" | "num" | "start" | "left";
1
+ export declare type TabValueType = "bar" | "center" | "clear" | "decimal" | "end" | "right" | "num" | "start" | "left";
@@ -1 +1 @@
1
- export type TableCellBorderPosition = "left" | "right" | "top" | "bottom" | "insideH" | "insideV" | "tl2Br" | "tr2Bl";
1
+ export declare type TableCellBorderPosition = "left" | "right" | "top" | "bottom" | "insideH" | "insideV" | "tl2Br" | "tr2Bl";
@@ -1 +1 @@
1
- export type TextAlignmentType = "auto" | "baseline" | "bottom" | "center" | "top";
1
+ export declare type TextAlignmentType = "auto" | "baseline" | "bottom" | "center" | "top";
@@ -1 +1 @@
1
- export type Underline = string;
1
+ export declare type Underline = string;
@@ -1 +1 @@
1
- export type Vanish = boolean;
1
+ export declare type Vanish = boolean;
@@ -1 +1 @@
1
- export type VertAlign = string;
1
+ export declare type VertAlign = string;
@@ -1,4 +1,4 @@
1
- export type BorderJSON = {
1
+ export declare type BorderJSON = {
2
2
  position: string;
3
3
  borderType: string;
4
4
  size: number;
@@ -1,20 +1,20 @@
1
1
  import { ParagraphJSON, TableJSON } from "../";
2
- export type CommentChildJSON = ParagraphJSON | TableJSON;
3
- export type CommentJSON = {
2
+ export declare type CommentChildJSON = ParagraphJSON | TableJSON;
3
+ export declare type CommentJSON = {
4
4
  id: number;
5
5
  author: string;
6
6
  date: string;
7
7
  children: CommentChildJSON[];
8
8
  parentCommentId: number | null;
9
9
  };
10
- export type CommentRangeStartJSON = {
10
+ export declare type CommentRangeStartJSON = {
11
11
  type: "commentRangeStart";
12
12
  data: {
13
13
  id: number;
14
14
  comment: CommentJSON;
15
15
  };
16
16
  };
17
- export type CommentRangeEndJSON = {
17
+ export declare type CommentRangeEndJSON = {
18
18
  type: "commentRangeEnd";
19
19
  data: {
20
20
  id: number;
@@ -3,8 +3,8 @@ import { TableJSON } from "./table";
3
3
  import { SectionPropertyJSON } from "./section-property";
4
4
  import { CommentRangeStartJSON, CommentRangeEndJSON } from "..";
5
5
  import { StructuredTagJSON } from "./structured-data-tag";
6
- export type DocumentChildJSON = ParagraphJSON | TableJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON | StructuredTagJSON;
7
- export type DocumentJSON = {
6
+ export declare type DocumentChildJSON = ParagraphJSON | TableJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON | StructuredTagJSON;
7
+ export declare type DocumentJSON = {
8
8
  children: DocumentChildJSON[];
9
9
  sectionProperty: SectionPropertyJSON;
10
10
  hasNumbering: boolean;
@@ -4,7 +4,7 @@ import { ParagraphJSON, TableJSON } from "..";
4
4
  export interface Pic extends Omit<InnerPic, "image"> {
5
5
  image: string;
6
6
  }
7
- export type DrawingJSON = {
7
+ export declare type DrawingJSON = {
8
8
  type: "drawing";
9
9
  data: {
10
10
  type: "pic";
@@ -16,28 +16,28 @@ export type DrawingJSON = {
16
16
  };
17
17
  };
18
18
  };
19
- export type WpAnchorJSON = {
19
+ export declare type WpAnchorJSON = {
20
20
  type: "anchor";
21
21
  data: {
22
22
  children: AGraphicJSON[];
23
23
  };
24
24
  };
25
- export type AGraphicJSON = {
25
+ export declare type AGraphicJSON = {
26
26
  children: AGraphChildJSON[];
27
27
  };
28
- export type AGraphChildJSON = AGraphicDataJSON;
29
- export type AGraphicDataJSON = {
28
+ export declare type AGraphChildJSON = AGraphicDataJSON;
29
+ export declare type AGraphicDataJSON = {
30
30
  dataType: "wpShape";
31
31
  children: WpsShapeJSON[];
32
32
  };
33
- export type WpsShapeJSON = {
33
+ export declare type WpsShapeJSON = {
34
34
  type: "shape";
35
35
  data: {
36
36
  children: WpsShapeChildJSON[];
37
37
  };
38
38
  };
39
- export type WpsShapeChildJSON = WpsTextBoxJSON;
40
- export type WpsTextBoxJSON = {
39
+ export declare type WpsShapeChildJSON = WpsTextBoxJSON;
40
+ export declare type WpsTextBoxJSON = {
41
41
  type: "textbox";
42
42
  data: {
43
43
  children: TextBoxContentJSON[];
@@ -1,10 +1,10 @@
1
1
  import { ParagraphJSON } from "./paragraph";
2
2
  import { StructuredTagJSON } from "./structured-data-tag";
3
3
  import { TableJSON } from "./table";
4
- export type FooterJSON = {
4
+ export declare type FooterJSON = {
5
5
  children: (ParagraphJSON | TableJSON | StructuredTagJSON)[];
6
6
  };
7
- export type FooterReferenceJSON = {
7
+ export declare type FooterReferenceJSON = {
8
8
  footerType: string;
9
9
  id: string;
10
10
  };
@@ -1,10 +1,10 @@
1
1
  import { ParagraphJSON } from "./paragraph";
2
2
  import { StructuredTagJSON } from "./structured-data-tag";
3
3
  import { TableJSON } from "./table";
4
- export type HeaderJSON = {
4
+ export declare type HeaderJSON = {
5
5
  children: (ParagraphJSON | TableJSON | StructuredTagJSON)[];
6
6
  };
7
- export type HeaderReferenceJSON = {
7
+ export declare type HeaderReferenceJSON = {
8
8
  headerType: string;
9
9
  id: string;
10
10
  };
@@ -1,4 +1,4 @@
1
- export type IndentJSON = {
1
+ export declare type IndentJSON = {
2
2
  start: number | null;
3
3
  end: number | null;
4
4
  specialIndent: {
@@ -5,7 +5,7 @@ import { CommentJSON } from "./comment";
5
5
  import { WebSettingsJSON } from "./web-settings";
6
6
  import { Theme as ThemeJSON } from "./bindings/Theme";
7
7
  import { CharacterSpacingValues } from "../settings";
8
- export type DocxJSON = {
8
+ export declare type DocxJSON = {
9
9
  contentType: {
10
10
  types: {
11
11
  [k: string]: string;
@@ -49,7 +49,7 @@ export type DocxJSON = {
49
49
  images: [string, string, string, string][];
50
50
  hyperlinks: [string, string, string][];
51
51
  };
52
- export type SettingsJSON = {
52
+ export declare type SettingsJSON = {
53
53
  docId: string | null;
54
54
  defaultTabStop: number;
55
55
  adjustLineHeightInTable: boolean;
@@ -1,4 +1,4 @@
1
- export type LineSpacingJSON = {
1
+ export declare type LineSpacingJSON = {
2
2
  before?: number | null;
3
3
  after?: number | null;
4
4
  beforeLines?: number | null;
@@ -1,6 +1,6 @@
1
1
  import { ParagraphPropertyJSON } from "./paragraph";
2
2
  import { RunPropertyJSON } from "./run";
3
- export type LevelJSON = {
3
+ export declare type LevelJSON = {
4
4
  level: number;
5
5
  start: number;
6
6
  format: string;
@@ -13,23 +13,23 @@ export type LevelJSON = {
13
13
  levelRestart: number | null;
14
14
  isLgl?: boolean | null;
15
15
  };
16
- export type AbstractNumberingJSON = {
16
+ export declare type AbstractNumberingJSON = {
17
17
  id: number;
18
18
  levels: LevelJSON[];
19
19
  numStyleLink: string | null;
20
20
  styleLink: string | null;
21
21
  };
22
- export type NumberingJSON = {
22
+ export declare type NumberingJSON = {
23
23
  id: number;
24
24
  abstractNumId: number;
25
25
  levelOverrides: LevelOverrideJSON[];
26
26
  };
27
- export type LevelOverrideJSON = {
27
+ export declare type LevelOverrideJSON = {
28
28
  level: number;
29
29
  overrideStart: number | null;
30
30
  overrideLevel: LevelJSON | null;
31
31
  };
32
- export type NumberingsJSON = {
32
+ export declare type NumberingsJSON = {
33
33
  abstractNums: AbstractNumberingJSON[];
34
34
  numberings: NumberingJSON[];
35
35
  };
@@ -6,19 +6,19 @@ import { FrameProperty as FramePropertyJSON } from "./bindings/FrameProperty";
6
6
  import { TextAlignmentType } from "./bindings/TextAlignmentType";
7
7
  import { AlignmentType } from "./bindings/AlignmentType";
8
8
  export { FrameProperty as FramePropertyJSON } from "./bindings/FrameProperty";
9
- export type ParagraphChildJSON = RunJSON | InsertJSON | DeleteJSON | HyperlinkJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON;
10
- export type HyperlinkChildJSON = RunJSON | InsertJSON | DeleteJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON;
11
- export type CustomTabStopType = "bar" | "center" | "clear" | "decimal" | "end" | "right" | "num" | "start" | "left";
12
- export type CustomTabStopJSON = {
9
+ export declare type ParagraphChildJSON = RunJSON | InsertJSON | DeleteJSON | HyperlinkJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON;
10
+ export declare type HyperlinkChildJSON = RunJSON | InsertJSON | DeleteJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON;
11
+ export declare type CustomTabStopType = "bar" | "center" | "clear" | "decimal" | "end" | "right" | "num" | "start" | "left";
12
+ export declare type CustomTabStopJSON = {
13
13
  val: CustomTabStopType | null;
14
14
  leader: string | null;
15
15
  pos: number | null;
16
16
  };
17
- export type NumberingPropertyJSON = {
17
+ export declare type NumberingPropertyJSON = {
18
18
  id: number | null;
19
19
  level: number | null;
20
20
  };
21
- export type ParagraphPropertyJSON = {
21
+ export declare type ParagraphPropertyJSON = {
22
22
  runProperty: RunPropertyJSON;
23
23
  style?: string | null;
24
24
  numberingProperty?: NumberingPropertyJSON | null;
@@ -42,7 +42,7 @@ export type ParagraphPropertyJSON = {
42
42
  tabs: CustomTabStopJSON[];
43
43
  frameProperty?: FramePropertyJSON;
44
44
  };
45
- export type ParagraphJSON = {
45
+ export declare type ParagraphJSON = {
46
46
  type: "paragraph";
47
47
  data: {
48
48
  id: string;
@@ -50,25 +50,25 @@ export type ParagraphJSON = {
50
50
  children: ParagraphChildJSON[];
51
51
  };
52
52
  };
53
- export type InsertJSONData = {
53
+ export declare type InsertJSONData = {
54
54
  children: (DeleteJSON | RunJSON | CommentRangeStartJSON | CommentRangeEndJSON)[];
55
55
  author: string;
56
56
  date: string;
57
57
  };
58
- export type InsertJSON = {
58
+ export declare type InsertJSON = {
59
59
  type: "insert";
60
60
  data: InsertJSONData;
61
61
  };
62
- export type DeleteJSONData = {
62
+ export declare type DeleteJSONData = {
63
63
  children: DeleteChildJSON[];
64
64
  author: string;
65
65
  date: string;
66
66
  };
67
- export type DeleteJSON = {
67
+ export declare type DeleteJSON = {
68
68
  type: "delete";
69
69
  data: DeleteJSONData;
70
70
  };
71
- export type HyperlinkJSON = {
71
+ export declare type HyperlinkJSON = {
72
72
  type: "hyperlink";
73
73
  data: {
74
74
  type: "external";
@@ -81,15 +81,15 @@ export type HyperlinkJSON = {
81
81
  children: HyperlinkChildJSON[];
82
82
  };
83
83
  };
84
- export type DeleteChildJSON = RunJSON | CommentRangeStartJSON | CommentRangeEndJSON;
85
- export type BookmarkStartJSON = {
84
+ export declare type DeleteChildJSON = RunJSON | CommentRangeStartJSON | CommentRangeEndJSON;
85
+ export declare type BookmarkStartJSON = {
86
86
  type: "bookmarkStart";
87
87
  data: {
88
88
  id: number;
89
89
  name: string;
90
90
  };
91
91
  };
92
- export type BookmarkEndJSON = {
92
+ export declare type BookmarkEndJSON = {
93
93
  type: "bookmarkEnd";
94
94
  data: {
95
95
  id: number;
@@ -6,13 +6,13 @@ import { VertAlignType } from "../run";
6
6
  import { FieldChar } from "./bindings/FieldChar";
7
7
  import { InstrHyperlink } from "./bindings/InstrHyperlink";
8
8
  import { InstrToC } from "./bindings/InstrToC";
9
- export type TextBorderJSON = {
9
+ export declare type TextBorderJSON = {
10
10
  borderType: BorderType;
11
11
  size: number;
12
12
  space: number;
13
13
  color: string;
14
14
  };
15
- export type RunFontsJSON = {
15
+ export declare type RunFontsJSON = {
16
16
  ascii?: string;
17
17
  hiAnsi?: string;
18
18
  eastAsia?: string;
@@ -23,7 +23,7 @@ export type RunFontsJSON = {
23
23
  csTheme?: string;
24
24
  hint?: string;
25
25
  };
26
- export type RunPropertyJSON = {
26
+ export declare type RunPropertyJSON = {
27
27
  style?: string | null;
28
28
  sz?: number | null;
29
29
  szCs?: number | null;
@@ -45,49 +45,49 @@ export type RunPropertyJSON = {
45
45
  del?: DeleteJSONData | null;
46
46
  strike?: boolean;
47
47
  };
48
- export type RunChildJSON = TextJSON | SymJSON | DeleteTextJSON | TabJSON | BreakJSON | DrawingJSON | ShapeJSON | CommentRangeStartJSON | CommentRangeEndJSON | FieldCharJSON | InstrTextStringJSON;
49
- export type TextJSON = {
48
+ export declare type RunChildJSON = TextJSON | SymJSON | DeleteTextJSON | TabJSON | BreakJSON | DrawingJSON | ShapeJSON | CommentRangeStartJSON | CommentRangeEndJSON | FieldCharJSON | InstrTextStringJSON;
49
+ export declare type TextJSON = {
50
50
  type: "text";
51
51
  data: {
52
52
  preserveSpace: boolean;
53
53
  text: string;
54
54
  };
55
55
  };
56
- export type SymJSON = {
56
+ export declare type SymJSON = {
57
57
  type: "sym";
58
58
  data: {
59
59
  font: string;
60
60
  char: string;
61
61
  };
62
62
  };
63
- export type DeleteTextJSON = {
63
+ export declare type DeleteTextJSON = {
64
64
  type: "deleteText";
65
65
  data: {
66
66
  preserveSpace: boolean;
67
67
  text: string;
68
68
  };
69
69
  };
70
- export type TabJSON = {
70
+ export declare type TabJSON = {
71
71
  type: "tab";
72
72
  };
73
- export type BreakJSON = {
73
+ export declare type BreakJSON = {
74
74
  type: "break";
75
75
  data: {
76
76
  breakType: "page" | "column" | "textWrapping";
77
77
  };
78
78
  };
79
- export type RunJSON = {
79
+ export declare type RunJSON = {
80
80
  type: "run";
81
81
  data: {
82
82
  runProperty: RunPropertyJSON;
83
83
  children: RunChildJSON[];
84
84
  };
85
85
  };
86
- export type FieldCharJSON = {
86
+ export declare type FieldCharJSON = {
87
87
  type: "fieldChar";
88
88
  data: FieldChar;
89
89
  };
90
- export type InstrTextJSON = {
90
+ export declare type InstrTextJSON = {
91
91
  type: "instrText";
92
92
  data: {
93
93
  type: "hyperlink";
@@ -97,7 +97,7 @@ export type InstrTextJSON = {
97
97
  data: InstrToC;
98
98
  };
99
99
  };
100
- export type InstrTextStringJSON = {
100
+ export declare type InstrTextStringJSON = {
101
101
  type: "instrTextString";
102
102
  data: string;
103
103
  };
@@ -2,14 +2,14 @@ import { HeaderJSON, HeaderReferenceJSON } from "./header";
2
2
  import { FooterJSON, FooterReferenceJSON } from "./footer";
3
3
  import { PageNumType as PageNumTypeJSON } from "./bindings/PageNumType";
4
4
  export { PageNumType as PageNumTypeJSON } from "./bindings/PageNumType";
5
- export type DocGridType = "default" | "lines" | "linesAndChars" | "snapToChars";
6
- export type SectionType = "nextPage" | "nextColumn" | "continuous" | "evenPage" | "oddPage";
7
- export type DocGridJSON = {
5
+ export declare type DocGridType = "default" | "lines" | "linesAndChars" | "snapToChars";
6
+ export declare type SectionType = "nextPage" | "nextColumn" | "continuous" | "evenPage" | "oddPage";
7
+ export declare type DocGridJSON = {
8
8
  gridType: DocGridType;
9
9
  linePitch: number | null;
10
10
  charSpace: number | null;
11
11
  };
12
- export type SectionPropertyJSON = {
12
+ export declare type SectionPropertyJSON = {
13
13
  pageSize: {
14
14
  w: number;
15
15
  h: number;
@@ -1,4 +1,4 @@
1
- export type ShadingJSON = {
1
+ export declare type ShadingJSON = {
2
2
  shdType: string;
3
3
  color: string;
4
4
  fill: string;
@@ -1,5 +1,5 @@
1
1
  import { Shape } from "./bindings/Shape";
2
- export type ShapeJSON = {
2
+ export declare type ShapeJSON = {
3
3
  type: "shape";
4
4
  data: Shape;
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import { BookmarkEndJSON, BookmarkStartJSON, CommentRangeEndJSON, CommentRangeStartJSON, ParagraphJSON, TableJSON } from "..";
2
- export type StructuredTagJSON = {
2
+ export declare type StructuredTagJSON = {
3
3
  type: "structuredDataTag";
4
4
  data: {
5
5
  children: StructuredDataTagChildJSON[];
6
6
  };
7
7
  };
8
- export type StructuredDataTagChildJSON = ParagraphJSON | TableJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON;
8
+ export declare type StructuredDataTagChildJSON = ParagraphJSON | TableJSON | CommentRangeStartJSON | CommentRangeEndJSON | BookmarkStartJSON | BookmarkEndJSON;