devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
20 lines (19 loc) • 774 B
TypeScript
import { BaseFormatter, Config } from './base-formatter';
import { BaseElement, SpanElement } from './elements';
export declare class ShortString {
private static SHORT_LEN;
private str;
private halfOfShortLen;
constructor(str: string, shortLen?: number);
get fullString(): SpanElement;
get shortString(): SpanElement;
setLen(shortLen: number): this;
canShowAsShort(): boolean;
}
export declare class CCF_ShortString extends BaseFormatter<ShortString> {
protected isHandleObject(obj: any): boolean;
protected getShortDescription(_config: Config): BaseElement;
protected availableFullDescription(_config: Config): boolean;
protected getFullDescription(_config: Config): BaseElement;
static _foo: void;
}