Outaspace has asked for the wisdom of the Perl Monks concerning the following question:

Hello fellow Monks,

I have wondered if anyone has expirience with the OpenOffice Modul. I want to transform all my odt Files in a Directory to html Files. Does anyone know how this can be done?
So far I have:
foreach my $szFile (@szFiles) { print "Converting $szFile\n"; my $hOOFile = OpenOffice::OODoc::File->new($szFile); $szFile =~ s/\.odt$/.html/; # MISSING odt -> html conversion $hOOFile->save($szSearchInFile); }

Andre

Replies are listed 'Best First'.
Re: Converting odt to html
by planetscape (Chancellor) on Oct 29, 2006 at 19:33 UTC