boolean SetZipBinary (string $path_binary[, $test=false]) |
Set the zip binary to compress XML files to OpenOffice documents |
boolean SetUnzipBinary (string $path_binary [, $test=false]) |
Set the unzip binary to uncompress XML files from OpenOffice documents |
boolean SetProcessDir (string $process_path) |
Set the folder to process temporary OpenOffice documents |
void SetDataCharset (string $charset) |
Fix the source data's charset (ISO 8859-1 or UTF8) |
mixed NewDocFromTpl (string $ooo_template_filename) |
Create an new OpenOffice document from the OpenOffice template |
boolean LoadXmlFromDoc (string $xml_file) |
Unzip the XML file from the OpenOffice file and load as a TBS template to be merged |
boolean SaveXmlToDoc (void) |
Save the result from TBS into the XML file and zip into the OpenOffice document |
void AddFileToDoc (string $filename) |
Add a file into the OpenOffice document |
string GetPathnameDoc (void) |
Get the path of the new OpenOffice document |
string GetMimetypeDoc (void) |
Get the document mime type |
stream FlushDoc (void) |
Flush the document to STDOUT |
void RemoveDoc (void) |
Unlink the document |
void ClearProcessDir ([int $hour=2 [, int $minut=0]]) |
Clean the process directory |