Type Alias DocAuthDocument

DocAuthDocument: {
    saveDocument(): Promise<object>;
    saveDocumentJSONString(): Promise<string>;
    exportPDF(options?: ExportPDFOptions): Promise<ArrayBuffer>;
    exportDOCX(options?: ExportDOCXOptions): Promise<ArrayBuffer>;
    docAuthSystem(): DocAuthSystem;
}

Type declaration

  • saveDocument:function
    • Returns the current document in the Document Authoring format as a JavaScript object. This object can be safely persisted.

      Returns Promise<object>

  • saveDocumentJSONString:function
    • Returns the current document in the Document Authoring format as a JSON string. This string can be safely persisted.

      Returns Promise<string>

  • exportPDF:function
    • Exports a snapshot of the current document as a PDF file.

      Parameters

      Returns Promise<ArrayBuffer>

  • exportDOCX:function
    • Exports a snapshot of the current document as a DOCX file.

      Parameters

      Returns Promise<ArrayBuffer>

  • docAuthSystem:function