Subject: | Bug in getCelValue? |
Date: | Mon, 29 Sep 2008 13:41:56 +0900 |
To: | bug-OpenOffice-OODoc [...] rt.cpan.org |
From: | Kazutoshi Ando <ando [...] sys.eng.shizuoka.ac.jp> |
Suppose that file Book.ods has the following sheet
| A | B | C | D | E | F |
-+-----+-----+-----+-----+-----+-----+
1|1 |1 |1 |2 |2 |3 |
-+-----+-----+-----+-----+-----+-----+
as the first sheet. Then, the output of the following code
-----------------------------
#!/usr/bin/perl
#
use OpenOffice::OODoc 2.103;
my $oofile = odfContainer("Book.ods");
my $doctext = ooText(container=>$oofile);
for($i=0;$i<6;$i++) {
printf("%s,",$doctext->getCellValue(0,0,$i));
}
-----------------------------
should be "1, 1, 1, 2, 2 3, ". But it is actually,
"1, 2, 3, , , , ".
I found that this module OpenOffice::OODoc is very useful, so I hope
this bug will be fixed soon (if this is really a bug).