UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

25 lines (24 loc) 989 B
import { TabInfo } from '../../model/paragraph/paragraph-style'; import { RowFormatter } from './formatter'; import { RowIntervalInfo } from './size-engine/row-formatting-info'; export declare class RowTabInfo { private rowFormatter; tabPositions: TabInfo[]; defaultTabStop: number; lastTabBoxIndex: number; lastTabPosition: TabInfo; private paragraphHorizontalBoundsStart; private get row(); get currIntervalOrLastNonEmpty(): RowIntervalInfo; get currInterval(): RowIntervalInfo; constructor(rowFormatter: RowFormatter, paragraphHorizontalBoundsStart: number); restart(): void; shiftBoxesAfterLastTab(): void; tryAddTabBox(): boolean; private addTabBox; private calculateActualTabWidth; private calcLastVisibleBoxRightBounds; private getFinalCustomTabWidth; getNextDefaultTabPosition(xOffsetRelativePage: number): number; getNextCustomTabPosition(xOffsetRelativePage: number): TabInfo; }