If export result of phpExcel with borders to tcPDF, in result some borders are broken if table has cellspacing=0.
In attached example we have problems:
Possible and partially solution: use mode=int for cell borders at tcpdf.php:~16723
~~
$dom[$key]['border'][$bsk] = $borderstyle;
$dom[$key]['border']['mode'] = 'int';
~~
(this is only for cases like in example. Need to add for css: border:2px solid black;)
Ticket moved from /p/tcpdf/bugs/894/
Please note that TCPDF is not intended to convert generic HTML code but instead it uses some XHTML code syntax to simplify the formatting.
In this case you should adapt the HTML code to be TCPDF friendly :)
Unfortunately this is not my code. This is sample of phpExcel export code, which it send to TcPDF.