UNPKG

devexpress-richedit

Version:

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

18 lines (17 loc) 1.06 kB
import { HistoryItem } from '../../model/history/base/history-item'; import { HeaderFooterType } from '../../model/section/enums'; import { Section } from '../../model/section/section'; import { ICommandOptions } from '../command-base'; import { SimpleCommandState } from '../command-states'; import { HeaderFooterCommandBase } from './header-footer-command-base'; export declare class LinkHeaderFooterToPreviousCommand extends HeaderFooterCommandBase { private isHeader; isEnabled(): boolean; getValue(): any; executeCore(state: SimpleCommandState, _options: ICommandOptions): boolean; private linkToPrevious; private unlinkFromPrevious; protected performLinkSectionToPrevious(sectionIndex: number, type: HeaderFooterType, linkAction: (previousSectionIndex: number) => void): void; protected areSectionsLinked(section1: Section, section2: Section, type: HeaderFooterType): boolean; protected createChangeObjectIndexHistoryItem(sectionIndex: number, type: HeaderFooterType, newIndex: number): HistoryItem; }