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.15 kB
import { DocumentLayout } from '../../../layout/document-layout'; import { LayoutPage, LayoutPageFlags } from '../../../layout/main-structures/layout-page'; import { LayoutSelection } from '../../../layout/selection/layout-selection'; import { LayoutSelectionInfo } from '../../../layout/selection/layout-selection-info'; import { LayoutSelectionItem } from '../../../layout/selection/layout-selection-items'; import { DocumentRendererPageCache } from '../common/document-renderer'; export declare abstract class SelectionRendererBase { layoutSelection: LayoutSelection; private cache; protected layoutPageFlag: LayoutPageFlags; constructor(cache: DocumentRendererPageCache[], layoutSelection: LayoutSelection); closeDocument(): void; applySelectionChanges(layout: DocumentLayout): void; renderAllPageSelection(layout: DocumentLayout, pageIndex: number, force: boolean): void; protected renderItem(item: LayoutSelectionItem, layoutPage: LayoutPage): HTMLElement; protected abstract getLayoutSelectionInfo(): LayoutSelectionInfo; protected abstract getContainer(_pageElement: Node): Node; }