UNPKG

@sheetxl/models

Version:

Models - A Headless javascript spreadsheet library.

12 lines 746 B
import { AnchorLocation } from "@sheetxl/common"; import { ITextFrame } from "../text"; import { HorizontalAlignment } from "../text/types"; import { ICellStyle } from "./ICellStyle"; export declare const calcAccountingBottomInset: (style: ICellStyle) => number; export declare const createTextFrameFromText: (text: string, style: ICellStyle, allowWrap: boolean) => ITextFrame; /** * Returns the overflow anchor from a HorizontalAlignment (or null if not overflow) */ export declare const overflowAnchorLocationAlignment: (alignment: HorizontalAlignment) => AnchorLocation; export declare const findNextStep: (size: number, increase?: boolean, defaultStep?: number, min?: number, max?: number) => number; //# sourceMappingURL=CellUtils.d.ts.map