devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
15 lines (14 loc) • 960 B
TypeScript
import { FixedInterval } from '@devexpress/utils/lib/intervals/fixed';
import { SubDocument, SubDocumentInterval } from '../sub-document';
import { Field } from './field';
export declare class FieldContextMenuHelper {
static getHyperlinkResultText(subDocument: SubDocument, field: Field): string;
static canChangeHyperlinkDisplayText(subDocInterval: SubDocumentInterval): boolean;
static showUpdateAndToogleCodeItems(fields: Field[], intervals: FixedInterval[]): boolean;
static showCreateHyperlinkItem(fields: Field[], interval: FixedInterval): boolean;
static showHyperlinkItems(fields: Field[], interval: FixedInterval): Field;
static getHyperlinkField(fields: Field[], interval: FixedInterval): Field;
static getHyperlinkFieldCore(fields: Field[], interval: FixedInterval, fieldIntervalGetter?: (field: Field) => FixedInterval): Field;
private static getNextTopLevelField;
private static getFinalResult;
}