Документ не верно печатает методом toHtml

the matter seems to be in the colWidth properties, I tried to specify the method that you suggested, and at the same time specify Colwidths, the settings of the first instance and the second are identical, but visually build differently table 1 :


table 2 :
setting hots :