|
Hi
i have installed openoffice 2.1 dutch on a XP and i want to make some spreadsheets with OODOC
For testing i made a file with in sheet 1 wich is in dutch Blad1 in D1 i put a 1
then i run following script
sub makencalc {
use OpenOffice::OODoc;
my $doc = ooDocument(file => "$path_to_files\\verschillenstaatsjabloon.ods");
my $testt = $doc->cellValue("Sheet1","D1");
print "test: $testt\n";
$testt = $doc->cellValue("Blad1","D1");
print "test: $testt\n";
$doc->cellValue("Sheet1", "A5", 'test text english ');
$doc->cellValue("Blad1", "A6", "test text dutch");
$doc->save("$path_to_files\\verschillenstaat.ods");
}
Nothing seems to happen $testt is empty
The only thing that happens is verschillenstaatsjabloon.ods is copied
to verschillenstaat.ods
what do i do wrong ?
thks
Harry
|