in reply to Re^4: ODF file handling
in thread ODF file handling

Hena,

Did you read OpenOffice::OODoc? It mentions text2table which comes as part of the distribution:

"Creates an OpenOffice.org Calc file and populate its first sheet from a delimited text file. Each line of the source file produces a row in the target table. In the line, the field separator is ";"."

Since you already have a method of outputting your data in a delimited format, perhaps this would be of use to you.

Martin

Replies are listed 'Best First'.
Re^6: ODF file handling
by Hena (Friar) on Jun 11, 2006 at 04:14 UTC
    I actually hadn't noticed that thanks.

    But then I would have to recreate the entire file again. And I noticed that it just makes one sheet. I would like to add a sheet or two and modify the first sheet (which holds the basic information from the entire tournament).

    Also I need to be able to read the needed columns from the first sheet to get the info I'm using to calculate next turn.