Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
The addHTML example does not work, it returns the following error:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\docgen\phpdocx2\classes\HTML2DOCX.inc on line 226
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\docgen\phpdocx2\classes\HTML2DOCX.inc on line 1967
Also, when this is fixed, should it be possible to use this in a file along with other functions? In v1.7, this would corrupt the file and not allow it to open properly if used in conjunction with other functions like addText.
Hello,
Deprecated methods aren't errors. These are methoods in the future won't be used.
We have tested the example and is working fine.
Does that mean you are removing the HTML to Docx support altogether? We just bought the pro for this function.
Hi,
Methods won't be removed. In the future they will be rewritten but using the same name and with more features.
Regards.
When I try the $docx->addHTML($html); i have this message in log file bot no file generated ?
02/28/11 13:55:34,950 [2304] INFO phpdocx_error - Create a temp file to use as initial ZIP file. DOCX is a ZIP file.