UNPKG

devexpress-richedit

Version:

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

30 lines (29 loc) 1.72 kB
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 { ICommandOptions } from '../command-base'; import { ICommandState } from '../i-command'; import { SelectionCommandBase } from './selection-command-base'; export declare abstract class GoToLineVerticallyCommandBase extends SelectionCommandBase { private extendTableCellsSelection; private getSelectedCells; private getLogPositionByX; private isEndOfLine; selectTableCellsRange(parameters: any): boolean; executeCore(_state: ICommandState, _options: ICommandOptions): boolean; private getInitialLayoutPosition; abstract canAdvanceToNextRow(cellInterator: TableCellIterator): boolean; abstract extendSelection(): boolean; abstract getNewLayoutPositionRowLevel(oldLayoutPosition: LayoutPosition): LayoutPosition; abstract getPositionForEdgeLine(layoutPosition: LayoutPosition): number; abstract getInitialSelectionEndPosition(): number; canGoToNextTableRow(_cellInterator: TableCellIterator): boolean; checkTableRowIndex(_rowIndex: number, _length: number): boolean; getCurrentTableRow(_selectedCells: TableCell[][]): TableRow; getNextTableRow(_table: Table, _rowIndex: number): TableRow; private performTableCellsSelection; performSelectionOnTheLastTableRow(_isForward: boolean, _selectedCells: TableCell[][]): void; protected isForwardDirection(): boolean; }