hi,this script have some issue:
Warning: ZipArchive::getFromName() [ziparchive.getfromname]: Invalid or unitialized Zip object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 91
Notice: Trying to get property of non-object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 93
Warning: Invalid argument supplied for foreach() in E:\webSite\other\php5\classes\cTransformDoc.inc on line 93
Warning: ZipArchive::getFromName() [ziparchive.getfromname]: Invalid or unitialized Zip object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 124
Notice: Trying to get property of non-object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 126
Warning: Invalid argument supplied for foreach() in E:\webSite\other\php5\classes\cTransformDoc.inc on line 126
Martin
se:
It’s because you upload a doc (not a docx)
Kasparas
First, many thanks! The class works just great! One question, is there a possibility to work with 2003-2007 word documents? Or just docx?
As I open ant print contents of the .docx file everything is file, while opening .doc gives lots of errors?
Kasparas
beerwin
Headings are not converted to h1, h2, etc. when converting from docx to xhtml
4 Responses
hi,this script have some issue:
Warning: ZipArchive::getFromName() [ziparchive.getfromname]: Invalid or unitialized Zip object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 91
Notice: Trying to get property of non-object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 93
Warning: Invalid argument supplied for foreach() in E:\webSite\other\php5\classes\cTransformDoc.inc on line 93
Warning: ZipArchive::getFromName() [ziparchive.getfromname]: Invalid or unitialized Zip object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 124
Notice: Trying to get property of non-object in E:\webSite\other\php5\classes\cTransformDoc.inc on line 126
Warning: Invalid argument supplied for foreach() in E:\webSite\other\php5\classes\cTransformDoc.inc on line 126
se:
It’s because you upload a doc (not a docx)
First, many thanks! The class works just great! One question, is there a possibility to work with 2003-2007 word documents? Or just docx?
As I open ant print contents of the .docx file everything is file, while opening .doc gives lots of errors?
Kasparas
Headings are not converted to h1, h2, etc. when converting from docx to xhtml