Export text to odt file
How does one export contents of a file to odt (Open Document Format) using bash
|
You could save yourself a lot of time by just importing the file to odt format in open office.
|
Quote:
For ease of manipulation, you might want a bit of recognizable text in your 'empty' ODT document. Quote:
|
I have tested the steps above (using vi) and they work; I modified content.xml using vi
And http://www.linuxquestions.org/questi...script-212983/ (answers for post #4) might help to do the manipulation (or at least point you in the right direction). Or http://www.unix.com/shell-programmin...ther-file.html |
Quote:
|
Assuming the file is something that libreoffice can handle:
Code:
libreoffice --headless --convert-to odt inputfile |
Quote:
|
I have to admit, that is actually a pretty cool feature in openoffice.
I don't suppose there is a headless feature to turn a csv file in to an open office spreadsheet? |
All times are GMT -5. The time now is 12:37 AM. |