* build(deps-dev): bump eslint from 8.57.1 to 9.13.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.13.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.13.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Upgrade EsLint * Fix all new lint errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
23 lines
569 B
TypeScript
23 lines
569 B
TypeScript
// http://officeopenxml.com/drwPicFloating-textWrap.php
|
|
import { IDistance } from "../drawing";
|
|
|
|
export const TextWrappingType = {
|
|
NONE: 0,
|
|
SQUARE: 1,
|
|
TIGHT: 2,
|
|
TOP_AND_BOTTOM: 3,
|
|
} as const;
|
|
|
|
export const TextWrappingSide = {
|
|
BOTH_SIDES: "bothSides",
|
|
LEFT: "left",
|
|
RIGHT: "right",
|
|
LARGEST: "largest",
|
|
} as const;
|
|
|
|
export type ITextWrapping = {
|
|
readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
|
|
readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
|
|
readonly margins?: IDistance;
|
|
};
|