UNPKG

devexpress-richedit

Version:

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

20 lines (19 loc) 1.12 kB
import { Paragraph } from '../../model/paragraph/paragraph'; import { CommandOptions } from '../command-base'; import { ICommandState } from '../i-command'; import { ParagraphIndentCommandBase } from './paragraph-indent-command-base'; export declare abstract class ChangeParagraphLeftIndentCommand extends ParagraphIndentCommandBase { executeCore(_state: ICommandState, options: CommandOptions): boolean; applyLeftIndentToParagraph(paragraph: Paragraph, tabs: number[]): boolean; abstract getNewLeftIndent(paragraph: Paragraph, tabs: number[]): number; abstract getMaxLeftIndent(paragraph: Paragraph): number; } export declare class IncrementParagraphLeftIndentCommand extends ChangeParagraphLeftIndentCommand { getNewLeftIndent(paragraph: Paragraph, tabs: number[]): number; getMaxLeftIndent(paragraph: Paragraph): number; private getPosition; } export declare class DecrementParagraphLeftIndentCommand extends ChangeParagraphLeftIndentCommand { getNewLeftIndent(paragraph: Paragraph, tabs: number[]): number; getMaxLeftIndent(_paragraph: Paragraph): number; }