emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-table export to ods/xlsx etc


From: Uwe Brauer
Subject: Re: [O] org-table export to ods/xlsx etc
Date: Sat, 17 Jun 2017 16:38:21 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]