UNPKG

devexpress-richedit

Version:

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

13 lines (12 loc) 839 B
import { FormatImportCallback, FormatImportReject, IDocumentImporter } from '../i-document-importer'; import { IModelOptions } from '../../model/document-model'; import { MaskedCharacterPropertiesBundle, MaskedParagraphPropertiesBundle } from '../../rich-utils/properties-bundle'; export declare class TxtImporter implements IDocumentImporter { private model; private formatImagesImporter; private reject; importFromFile(blob: Blob, modelOptions: IModelOptions, callback: FormatImportCallback, reject: FormatImportReject): void; importFromString(text: string, modelOptions: IModelOptions, callback: FormatImportCallback, reject: FormatImportReject, charPropsBundle?: MaskedCharacterPropertiesBundle, parPropsBundle?: MaskedParagraphPropertiesBundle): void; private createModel; private fillModel; }