-
It seems it works, I have changed the patch.
2009-12-30 08:56:27 UTC by realjab
-
Whoops! I don't use it so I didn't pay attention to parseOds, try this:
function parseOds($file) {
$zip = new ZipArchive();
$ok = $zip->open($file);
if (false == $ok) {
return false;
}
$content = $zip->getFromName('content.xml');
$obj = new ods();
$obj->parse($content);
return $obj;
}
Let me now if it works in order to rebuild...
2009-12-30 08:33:58 UTC by realjab
-
This works very well for saveOds. The parseOds function continues to use the tmp file and a UID directory.
2009-12-30 03:14:03 UTC by jfieser
-
Oh, I see the diff now. Nevermind.
2009-12-29 12:47:22 UTC by jfieser
-
I am interested in this new development. Where would I download your recent modifications?.
2009-12-29 12:42:11 UTC by jfieser
-
The way used to generate the ODS (executing a 'zip' command against a temporary directory ) seems a bit risky and very platform dependant.
I have changed it to use PHP'z ZipArchive class (included in zip enables PHP 5.2.0 and superior. Also available as extension for older PHP ).
2009-12-15 12:04:34 UTC by realjab