docx-wasm 0.4.12-beta14 → 0.4.12-beta16

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,10 @@
1
+ export interface TablePositionProperty {
2
+ leftFromText?: number;
3
+ rightFromText?: number;
4
+ verticalAnchor?: string;
5
+ horizontalAnchor?: string;
6
+ positionXAlignment?: string;
7
+ positionYAlignment?: string;
8
+ positionX?: number;
9
+ positionY?: number;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TablePositionProperty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TablePositionProperty.js","sourceRoot":"","sources":["../../../../js/json/bindings/TablePositionProperty.ts"],"names":[],"mappings":""}
@@ -6,6 +6,8 @@ import { ShadingJSON } from "./shading";
6
6
  import { TableLayoutType } from "../table";
7
7
  import { DeleteJSONData, InsertJSONData, TableCellBordersJSON } from "..";
8
8
  import { StructuredTagJSON } from "./structured-data-tag";
9
+ import { TablePositionProperty as TablePositionPropertyJSON } from "./bindings/TablePositionProperty";
10
+ export { TablePositionProperty as TablePositionPropertyJSON } from "./bindings/TablePositionProperty";
9
11
  export { TableCellBorder as TableCellBorderJSON } from "./bindings/TableCellBorder";
10
12
  export { TableCellBorders as TableCellBordersJSON } from "./bindings/TableCellBorders";
11
13
  export declare type TableCellChildJSON = ParagraphJSON | TableJSON | StructuredTagJSON;
@@ -86,6 +88,7 @@ export declare type TablePropertyJSON = {
86
88
  } | null;
87
89
  style?: string | null;
88
90
  layout?: TableLayoutType | null;
91
+ position?: TablePositionPropertyJSON;
89
92
  };
90
93
  export declare type TableJSON = {
91
94
  type: "table";
@@ -59,4 +59,4 @@ export declare class ParagraphPropertyChange {
59
59
  numbering(id: number, level: number): this;
60
60
  }
61
61
  export declare const buildLineSpacing: (p: ParagraphProperty) => wasm.LineSpacing | null;
62
- export declare const setParagraphProperty: <T extends wasm.Style | wasm.Paragraph>(target: T, property: ParagraphProperty) => T;
62
+ export declare const setParagraphProperty: <T extends wasm.Paragraph | wasm.Style>(target: T, property: ParagraphProperty) => T;