Re: [opendocument-users] Vim and gedit

From
J David Eisenberg <>
Date
2006-03-15T15:26:57+00:00
ID
Thread
Re: [opendocument-users] Vim and gedit
On Wed, 15 Mar 2006,  wrote:

> Hello the list,
>    I did a speadsheet with OpenOffice2.calc and save it as ods. When I 
> try to open it with vim or gedit I see special signs. Is the ods format 
> not a text format ? How can I read an ods file within gedit or vim?

The .ods file is actually in "zip file" format.

Let's say your file is named "myfile.ods" in your current working 
directory. Do these shell commands:

    mkdir myfile_unpacked
    cd myfile_unpacked
    unzip ../myfile.ods

You will now see several .xml files in the myfile_unpacked folder, and you 
may edit them.  Details about the OpenDocument format are in a book at 
http://books.evc-cit.info/

-- 
J. David Eisenberg  http://catcode.com/