devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
11 lines (10 loc) • 667 B
TypeScript
import { CharacterProperties } from '../model/character/character-properties';
export declare class HtmlConverter {
private static importantTag;
static getCssRules(charProps: CharacterProperties, textColor: number, isWordBox: boolean, noStrikeoutAndUnderline: boolean, important: boolean): string[];
static getForeColorRule(textColor: number): string;
static getSizeSignificantCssString(characterProperties: CharacterProperties): string;
static getSizeSignificantRules(characterProperties: CharacterProperties, important?: boolean): string[];
static buildFontFamilyRule(cssString: string): string;
private static splitByComma;
}