To break a long word in item label pdf.
When table with nested table is created and added columns, the nested table columns data were overlapped with the parent table columns.
The nested table was removed and added rows and columns in the table, the overlapping issue was corrected. Thus break the long word.
<body padding="0in 0in 0in 0in" size="Letter-PORTRAIT;" style="height: 30mm; width: 50mm; ">
<div class="long-word">
<table style=" padding-top:5px; width:50mm; height:30mm; table-layout: fixed; ">
<tr>
<td style=" max-width: 60%; height:5mm ; font-size:14px; margin-top: 13px; " ><b><#if temp?has_content && temp.itemid?has_content>${temp.itemid}</#if></b></td>
<td rowspan="3" style=" width: 40%; margin-top: 6px" align="center"> <#if temp?has_content && temp.itemid?has_content >
<#assign customQR = (temp.itemid )></#if>
<#if customQR?has_content><barcode codetype="qrcode" showtext="false" height="22mm" width="6mm" value="${customQR}"/></#if>
</td>
</tr>
<tr>
<td style=" font-size:9px; height:5mm;"><b><#if temp?has_content && temp.description?has_content >${temp.description}</#if></b></td>
</tr>
<tr>
<td style=" font-size:10px;"><b><#if temp?has_content && temp.vendorid?has_content>${temp.vendorid}</#if></b></td>
</tr>
</table>
</div>
</body>