Location: PHPKode > scripts > OpenOffice 2 HTML > openoffice-2-html/examples/ooffice_example2.php
<?PHP
include '../office.class.php';
$x = new office();
// Unzip with PECL - ZIP and don't save
$u = $x->oo_unzip('office.odt');
// Convert the document in the fly and save the results to a file:
$x->oo_to_file('result.html', $u[0], 2);
 ?>
Return current item: OpenOffice 2 HTML