$html = '<table style="border-collapse: collapse; width: 200px;" border="1">
<tbody>
<tr>
<td>123</td>
<td>321</td>
</tr>
</tbody>
</table>';
$docx = new CreateDocx();
$docx->embedHTML($html);
$docx->createDocx('test');
Don't show in GDocs Viewer.
It is noteworthy that, if I re-save file as 'test.docx' in MS Word, I can view this file in GDocs Viewer
Proof:
Before re-save:
https://docs.google.com/viewer?url=http://fs1.d-h.st/download/00075/FdD/test.docx
After re-save:
https://docs.google.com/viewer?url=http://fs1.d-h.st/download/00075/UC5/test.docx