OpenOffice-OODoc - Re: From 2.035 to 2.102 - Incompatibility?

Posted on Wed May 14 13:07:02 2008 by peco in response to 7865 (See the whole thread of 5)
Re: From 2.035 to 2.102 - Incompatibility?
Hello and thank you for your interest!
Here you are a sample code to "delete the first column of the second sheet".
#!/usr/bin/perl -w use OpenOffice::OODoc; use strict; my $oofile=ooFile("./Example-102.ods"); # very basic ODS file with only data at the second sheet. $oofile->{doc}=ooDocument(file=>$oofile,member=>'content'); $oofile->{styles}=ooDocument(file=>$oofile,member=>'styles'); my $sheet2 = $oofile->{doc}->getTable(1, 8, 2); $oofile->{doc}->deleteColumn($sheet2, 0); $oofile->save;

The next code works very well until the 2.102 version.
My platform is:
* OpenOffice 2.4.0
* Perl 5.8.8
* GNU/Linux Ubuntu 8.04

Thanks in advance,
Peco
Direct Responses: 7875 | Write a response