devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
13 lines (12 loc) • 736 B
TypeScript
import { LayoutBox } from '../../../layout/main-structures/layout-boxes/layout-box';
import { LayoutRow } from '../../../layout/main-structures/layout-row';
import { ParagraphAlignment } from '../../../model/paragraph/paragraph-properties';
export declare class BoxAligner {
static findLastVisibleBoxIndex(boxes: LayoutBox[], startIndex?: number, endIndex?: number): number;
static align(row: LayoutRow, alignment: ParagraphAlignment, endXPosition: number, fromBoxIndex: number, dontJustifyLinesEndingInSoftLineBreak: boolean): void;
private static getBoxes;
private static alignRightCenter;
private static alignJustify;
private static calculateFreeSpace;
private static firstNonSpaceBoxIndex;
}