From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: org-table export to ods/xlsx etc Date: Sat, 17 Jun 2017 16:38:21 +0000 Message-ID: <874lveh8n6.fsf@mat.ucm.es> References: <87lgos9cpm.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMGk4-0001J2-91 for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 12:38:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMGk1-0001Nm-8T for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 12:38:32 -0400 Received: from [195.159.176.226] (port=59716 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMGk1-0001N6-16 for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 12:38:29 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dMGjt-0002t2-4U for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 18:38:21 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org > On Friday, 16 Jun 2017 at 10:25, Uwe Brauer wrote: > [...] > Thanks for this. Works nicely! Great addition to the repertoire of > useful emacs-lisp snippets. Would be great to have this incorporated > into org. Maybe this is even more useful? (defun org-table-export-to-spreadsheet (arg) "Export org table to varios first to cvs and then via LO/OO (or gnumeric) to various spreadsheet format, the most common are `ods', `xls' and `xlsx'." (interactive "sFormat: ") (let* ((source-file (file-name-sans-extension (buffer-file-name (current-buffer)))) (csv-file (concat source-file ".csv"))) (org-table-export csv-file "orgtbl-to-csv") (org-odt-convert csv-file arg))) > If gnumeric (ssconvert) can be an option, that would be great as well.