Files
docx-js/src/file/drawing/text-wrap/text-wrapping.ts

23 lines
457 B
TypeScript
Raw Normal View History

// http://officeopenxml.com/drwPicFloating-textWrap.php
2018-06-09 23:49:01 +01:00
import { IDistance } from "../drawing";
2019-01-10 02:10:20 +00:00
export enum TextWrappingType {
NONE,
SQUARE,
TIGHT,
TOP_AND_BOTTOM,
}
2019-01-10 02:10:20 +00:00
export enum TextWrappingSide {
BOTH_SIDES = "bothSides",
LEFT = "left",
RIGHT = "right",
LARGEST = "largest",
}
2018-06-09 23:49:01 +01:00
export interface ITextWrapping {
2019-01-10 02:10:20 +00:00
readonly type: TextWrappingType;
readonly side?: TextWrappingSide;
readonly margins?: IDistance;
}