How to download a document as 'zdoc' via developer console?
1. Open the Writer document and click on the below keyboard shortcut to open the developer console based on your System OS;
- For Mac > Command + Option + I
- For Windows > Ctrl + Alt + I
2. The developer console will be opened.
3. Enter or Copy/Paste this command: ExportDialog.exportAs('zdoc') and execute it.
4. The zdoc file will be downloaded now.