devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
29 lines (28 loc) • 1.52 kB
TypeScript
import { NumberingFormat } from '../../../../model/numbering-lists/list-level-properties';
import { FixedInterval } from '@devexpress/utils/lib/intervals/fixed';
import { ImportedParagraphListInfo } from '../containers/runs';
import { HtmlImporter } from '../html-importer';
import { HtmlImporterMaskedCharacterProperties } from './character-properties-utils';
export declare class ParagraphListPropertiesUtils {
private htmlImporterMaskedCharacterProperties;
private listItemElement;
private msoListAttr;
private parentListElement;
private importer;
constructor(importer: HtmlImporter, htmlImporterMaskedCharacterProperties: HtmlImporterMaskedCharacterProperties);
import(element: HTMLElement, interval: FixedInterval): ImportedParagraphListInfo;
private importListIndex;
private importListLevelIndex;
private importListFormatByListItemElement;
private static importListFormatByReserveWay;
private importDisplayFormatStringByParentListElement;
static importDisplayFormatStringByParentListFormat(listFormat: NumberingFormat, parentListFormat: NumberingFormat, listLevelIndex: number): string;
private static importDisplayFormatStringByReserveWay;
private getMainParentListElement;
static getListType(listElement: HTMLElement): NumberingFormat;
private static getListTextElement;
private static getListText;
private static getParentListElement;
private static removeSomeHtml;
private static MapListTypeToType;
}