I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-02-11 05:54:25.691594-08 by oakbox in response to 13191
Re: Created files incompatible with OpenOffice 3.2

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", );

- oakbox

Direct Responses: 13196 | Write a response