emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: org-table export to ods/xlsx etc
Date: Sat, 17 Jun 2017 16:38:21 +0000	[thread overview]
Message-ID: <874lveh8n6.fsf@mat.ucm.es> (raw)
In-Reply-To: 87lgos9cpm.fsf@delle7240.chemeng.ucl.ac.uk


   > 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.

  parent reply	other threads:[~2017-06-17 16:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <eca7bd11a4eb4d3bbb600d77484d4449@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-16 15:25 ` org-table export to ods/xlsx etc Eric S Fraga
2017-06-17 14:54   ` Nicolas Goaziou
2017-06-21 13:01     ` Uwe Brauer
     [not found]     ` <4e6e65e9ba354c9a8dab18796c1e92dc@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-21 13:43       ` Eric S Fraga
2017-06-22  6:57         ` Uwe Brauer
     [not found]   ` <a7f661839cd64e268ffe1ccbeb208777@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-17 15:50     ` Eric S Fraga
2017-06-26 15:27       ` [setting is not read] (was: org-table export to ods/xlsx etc) Uwe Brauer
2017-06-26 15:53         ` [setting is not read] Nick Dokos
2017-06-17 16:38   ` Uwe Brauer [this message]
     [not found] <mailman.87.1497628817.13493.emacs-orgmode@gnu.org>
2017-06-17  1:41 ` org-table export to ods/xlsx etc edgar
2017-06-16 10:25 Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874lveh8n6.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).