UNPKG

devexpress-richedit

Version:

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

16 lines (15 loc) 897 B
import { RichOptions } from "../../../model/options/rich-options"; import { MaskedCharacterPropertiesBundle } from "../../../rich-utils/properties-bundle"; import { FormatImportCallback, FormatImportReject, IDocumentImporter } from "../../i-document-importer"; export declare class HtmlDocumentImporter implements IDocumentImporter { private documentModel; private modelManager; private formatImagesImporter; importFromFile(blob: Blob, modelOptions: RichOptions, callback: FormatImportCallback, reject: FormatImportReject): void; importFromString(text: string, modelOptions: RichOptions, callback: FormatImportCallback, reject: FormatImportReject, charPropsBundle?: MaskedCharacterPropertiesBundle): void; private init; private fillModel; private createMaskedCharacterPropertiesBundle; private createContainer; private removeLastParagraph; }