devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
19 lines (18 loc) • 1.52 kB
TypeScript
import { SubDocument } from '../../model/sub-document';
import { Table } from '../../model/tables/main-structures/table';
import { TableCell } from '../../model/tables/main-structures/table-cell';
import { TableWidthUnit } from '../../model/tables/secondary-structures/table-units';
import { SelectedTableRowInfo } from '../../selection/selected-cells-engine';
import { CommandBase, ICommandOptions } from '../command-base';
import { SimpleCommandState } from '../command-states';
export declare class InsertTableCellsWithShiftToTheVerticallyCommand extends CommandBase<SimpleCommandState> {
getState(): SimpleCommandState;
isEnabled(): boolean;
executeCore(_state: SimpleCommandState, options: ICommandOptions): boolean;
insertTableCellWithShiftToTheVertically(subDocument: SubDocument, table: Table, rowInfo: SelectedTableRowInfo): TableCell[];
calculateInsertedRowsCount(table: Table, rowIndex: number, startCellIndex: number, endCellIndex: number): number;
insertCellWithShiftToTheDown(subDocument: SubDocument, table: Table, rowIndex: number, cellIndex: number): TableCell[];
insertTableCells(subDocument: SubDocument, table: Table, patternRowIndex: number, patternCellIndex: number, insertedCellsCount: number, preferredWidth: TableWidthUnit): void;
deleteTextInCell(subDocument: SubDocument, table: Table, rowIndex: number, rowsCount: number): void;
deleteContentInCell(subDocument: SubDocument, table: Table, rowIndex: number, cellIndex: number): void;
}