[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Use babel to import table data from OpenDocument spreadsheets?
From: |
James Harkins |
Subject: |
Re: [O] Use babel to import table data from OpenDocument spreadsheets? |
Date: |
Wed, 03 Jul 2013 10:35:51 +0800 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Tue, 02 Jul 2013 20:40:40 +0530,
Jambunathan K wrote:
> Works here for simple files.
>
> M-: (org-odt-convert "file.ods" "csv")
>
> Executing libreoffice4.0 --headless --convert-to csv --outdir
> /home/kjambunathan/ /home/kjambunathan/file.ods
> convert /home/kjambunathan/file.ods -> /home/kjambunathan//file.csv using
> Text - txt - csv (StarCalc)
>
> Exported to /home/kjambunathan/file.csv
> "/home/kjambunathan/file.csv"
>
> AFAIK, if you can save as CSV from LO UI, then it should work from the
> command line.
Famous last words: "It should work" :)
Okay, I've just tested with two very simple files at the command line.
LibreOffice fails to write any output file at all. Apparently this is a common
problem. Bing finds [1], but ask.libreoffice.org is down.
Here is the transcript for a simple Writer file containing only the word "test":
$ soffice --headless --convert-to html --outdir /home/dlm/Documents/orgtests/
/home/dlm/Documents/orgtests/html-table-test-word.odt
$ ls ht*
html-table.html html-table.ods html-table.org~
html-table.html~ html-table.org html-table-test-word.odt
Anyway, I'm not convinced that org-odt-convert would meet my needs anyway. It
will have to be a multi-worksheet file, and I'll have to extract just one or
two of the worksheets. The macro might be the way to go.
hjh
[1]
http://ask.libreoffice.org/en/question/2641/convert-to-command-line-parameter/
- [O] Use babel to import table data from OpenDocument spreadsheets?, James Harkins, 2013/07/02
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/02
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, James Harkins, 2013/07/02
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/02
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?,
James Harkins <=
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/03
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, James Harkins, 2013/07/09
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/09
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, James Harkins, 2013/07/17
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/19
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, James Harkins, 2013/07/18
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/19
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, James Harkins, 2013/07/18
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Jambunathan K, 2013/07/19
- Re: [O] Use babel to import table data from OpenDocument spreadsheets?, Andreas Leha, 2013/07/10