UNPKG

armor-editor

Version:

Advanced rich text editor with premium armor-grade security, real-time collaboration, spell checking, track changes, and framework-agnostic design for React, Vue, Angular, Next.js, Nuxt.js

39 lines (38 loc) 1.18 kB
export declare class CompleteExportImport { private editor; constructor(editor: any); exportToPDF(options?: { filename?: string; format?: 'a4' | 'letter'; orientation?: 'portrait' | 'landscape'; }): Promise<boolean>; private loadJsPDF; private fallbackPDFExport; exportToWord(filename?: string): Promise<boolean>; private htmlToDocx; private htmlToRTF; private fallbackWordExport; importFromWord(file: File): Promise<boolean>; private importDocx; private importRTF; private docxToHtml; private rtfToHtml; exportToExcel(filename?: string): boolean; private htmlToCSV; private htmlToMarkdown; exportToGoogleDocs(title?: string): Promise<boolean>; private createGoogleDoc; private fallbackGoogleDocsExport; private htmlToText; private downloadBlob; importFile(file: File): Promise<boolean>; private importMarkdown; private importText; private importHTML; private markdownToHtml; exportToHTML(options?: { includeStyles?: boolean; }): string; exportToMarkdown(): string; importFromMarkdown(markdown: string): Promise<void>; }