devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
25 lines (24 loc) • 1.5 kB
TypeScript
import { LayoutPosition } from '../../layout/layout-position';
import { TableCellIterator } from '../../layout/table/table-cell-iterator';
import { Table } from '../../model/tables/main-structures/table';
import { TableCell } from '../../model/tables/main-structures/table-cell';
import { TableRow } from '../../model/tables/main-structures/table-row';
import { GoToLineVerticallyCommandBase } from './go-to-line-vertically-command-base';
export declare class GoToLineAboveCommand extends GoToLineVerticallyCommandBase {
extendSelection(): boolean;
getPositionForEdgeLine(_layoutPosition: LayoutPosition): number;
canAdvanceToNextRow(cellIterator: TableCellIterator): boolean;
getNewLayoutPositionRowLevel(oldLayoutPosition: LayoutPosition): LayoutPosition;
getInitialSelectionEndPosition(): number;
protected isForwardDirection(): boolean;
}
export declare class ExtendGoToLineAboveCommand extends GoToLineAboveCommand {
extendSelection(): boolean;
getPositionForEdgeLine(layoutPosition: LayoutPosition): number;
canAdvanceToNextRow(_cellIterator: TableCellIterator): boolean;
canGoToNextTableRow(cellIterator: TableCellIterator): boolean;
getCurrentTableRow(selectedCells: TableCell[][]): TableRow;
checkTableRowIndex(rowIndex: number, _length?: number): boolean;
getNextTableRow(table: Table, rowIndex: number): TableRow;
performSelectionOnTheLastTableRow(isForward: boolean, selectedCells: TableCell[][]): void;
}