Forum


Replies: 2   Views: 3066
Insert too many <td> </ td>, lead content exceeds the boundaries of word
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by bruce  · 08-03-2014 - 10:37

hello,



If I write like below,  the '<td></td>' element in the word document  does not wrap, they would go beyond the border of the page, is there any way to solve it,



thanks



 



$docx = new CreateDocx();



$s = "<table>

            <tr><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td><td>TEST</td></tr>

            </table>";



$docx->replaceTemplateVariableByHTML($v, 'block', $s, array('isFile'=>false, "downloadImages"=>true));


Posted by jorgelj  · 10-03-2014 - 10:37

Hello,



We're testing the issue to be solved.



Regards.