default
[ class tree: default ] [ index: default ] [ all elements ]

Procedural File: Helpers.inc

Source Location: /Helpers.inc



Page Details:









repairZipOpenOffice [line 10]

void repairZipOpenOffice( string $file)

Repair a DOCX created in OpenOffice. When OpenOffice creates a DOCX, and then changed by ZipArchive of PHP the ZIP file has errors that prevent to be opened in Word. This function solves this error reading whole content and adding it again to the ZIP.



Parameters

string   $file   File path
[ Top ]



Documentation generated on Mon, 13 Jan 2014 13:44:23 +0100 by phpDocumentor 1.4.4