I've noticed that there is a little inaccurancy: I've changed a little piece of that code in
$restOfTableWidth = 0; preg_match_all('/<w:tblW w:w="(\d+)"/', self::$WordML, $result); if ($result) { $restOfTableWidth = end($result[1]); }
Don't know what to do (and even if it's a concrete case) when no match at all from preg_match_all but I suppose that's not a possibile scenario as, AFAIK, it seems that at least a 0 is placed.
Best regards,
Samuele.