Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/ooffice_example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Piotr Malinski  >  OpenOffice 2 HTML  >  examples/ooffice_example2.php  >  Download  
File: examples/ooffice_example2.php
Role: Example script
Content type: text/plain
Description: Example2 for OOffice
Class: OpenOffice 2 HTML
Convert OpenOffice Writer documents to HTML
Author: By
Last change:
Date: 2005-10-23 04:20
Size: 241 bytes
 

Contents

Class file image Download
<?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);
 
?>