UNPKG

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.37 kB
import { SubDocument } from '../../model/sub-document'; import { TablePosition } from '../../model/tables/main-structures/table'; import { TableCell } from '../../model/tables/main-structures/table-cell'; import { CommandSimpleOptions } from '../command-base'; import { SimpleCommandState } from '../command-states'; import { SplitTableCellsDialogParameters } from '../dialogs/dialog-split-table-cells-command'; import { TableCommandBase } from './table-command-base'; export declare class SplitTableCellsCommand extends TableCommandBase<SimpleCommandState> { getState(): SimpleCommandState; isEnabled(): boolean; executeCore(_state: SimpleCommandState, options: CommandSimpleOptions<SplitTableCellsDialogParameters>): boolean; splitTableCellsHorizontally(subDocument: SubDocument, selectedCells: TableCell[][], parameters: SplitTableCellsDialogParameters): void; splitTableCellsVertically(subDocument: SubDocument, selectedCells: TableCell[][], parameters: SplitTableCellsDialogParameters): void; splitTableCellsVerticallyCore(subDocument: SubDocument, position: TablePosition, rowsCount: number, columnsCount: number): void; splitTableCellsHorizontallyCore(subDocument: SubDocument, position: TablePosition, columnsCount: number): void; private getColumnsCountForSplitVertically; private filterRemovedCells; }