Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/ooffice_example.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_example.php  >  Download  
File: examples/ooffice_example.php
Role: Example script
Content type: text/plain
Description: Example for OOffice
Class: OpenOffice 2 HTML
Convert OpenOffice Writer documents to HTML
Author: By
Last change:
Date: 9 years ago
Size: 212 bytes
 

Contents

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