UNPKG

gn-rtf.js

Version:

Render RTF documents in HTML. This also includes rendering WMF and EMF images which are often contained in RTF documents.

26 lines (25 loc) 615 B
import { Blob } from "./Blob"; export declare class PointS { x: number; y: number; constructor(reader: Blob, x?: number, y?: number); clone(): PointS; toString(): string; } export declare class Rect { bottom: number; right: number; top: number; left: number; constructor(reader: Blob, left?: number, top?: number, right?: number, bottom?: number); clone(): Rect; toString(): string; empty(): boolean; intersect(rect: Rect): null | Rect; } export declare class Obj { type: string; constructor(type: string); clone(): Obj; toString(): string; }