UNPKG

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.54 kB
import { ParagraphAlignment } from '../../model/paragraph/paragraph-properties'; import { IParagraphPropertyDescriptor } from '../../model/paragraph/paragraph-property-descriptors'; import { ChangeParagraphPropertiesCommandBase } from './change-paragraph-properties-command-base'; export declare abstract class ToggleParagraphAlignmentCommand extends ChangeParagraphPropertiesCommandBase<ParagraphAlignment, boolean> { getDescriptor(): IParagraphPropertyDescriptor<ParagraphAlignment>; getValueForState(val: ParagraphAlignment): boolean; DEPRECATEDConvertOptionsParameter(parameter: any): ParagraphAlignment; protected getRelatedCommands(): Record<number, boolean>; protected abstract getParagraphAlignment(): ParagraphAlignment; protected getOppositeAlignment(): ParagraphAlignment; } export declare class ToggleParagraphAlignmentLeftCommand extends ToggleParagraphAlignmentCommand { protected getParagraphAlignment(): ParagraphAlignment; protected getOppositeAlignment(): ParagraphAlignment; } export declare class ToggleParagraphAlignmentCenterCommand extends ToggleParagraphAlignmentCommand { protected getParagraphAlignment(): ParagraphAlignment; } export declare class ToggleParagraphAlignmentRightCommand extends ToggleParagraphAlignmentCommand { protected getParagraphAlignment(): ParagraphAlignment; } export declare class ToggleParagraphAlignmentJustifyCommand extends ToggleParagraphAlignmentCommand { protected getParagraphAlignment(): ParagraphAlignment; }