Location: PHPKode > scripts > OpenOffice 2 HTML > openoffice-2-html/examples/ooffice_example.php
<?PHP
include '../office.class.php';
$x = new office();
// Unzip with PECL - ZIP and save
$u = $x->oo_unzip('office.odt', true);
// read content.xml, convert and show
echo $x->oo_on_screen('content.xml', 2);
 ?>
Return current item: OpenOffice 2 HTML