Found it! I get the errors whenever I try to import an image into the document.
So, my modified question is,"Has anyone else experienced errors when importing images into an OpenOffice document?"
my ($s, $usec) = gettimeofday; # using Time::HighRes to create a unique name
my $time = $s . $usec;
my $testimage = "/tmp/file.png";
my $table = $document->getTable("blockgraphic");
my $tablecopy = $document->replicateElement($table, 'body');
my $par = $document->getCellParagraph($tablecopy, 0, 0);
$document->createImageElement("$time",
size =>"13.76,9.53",
attachment => $par,
import => $testimage,
style => "Graphics",
);
|