Adding data in a column with multiple alignment in XML pdf template

To print the data as in first cell, with SO number and IF number, do as follows

<div>
            <table style= "table-layout: fixed;" colspan="14" width="100%" border="1px solid black">
                <tr height="31px">
                    <td class="data" colspan="7" style=" font-size: 22px; border-collapse: collapse; border-right: 1px solid black; padding-left: 8">
                       <table>
                           <tr>

                               <td >
                                   <table style="padding-top:-10px;padding-bottom:-10px">
                                       <tr style="width:80px;height:10px">
                                           <td style="vertical-align:middle;padding-left:-10px;padding-right:-3px;width:75px;padding-top:-5px"><b> ${pdfDataArray.license_plate} /</b></td>
                                           <td>
                                               <table>
                                                   <tr >
                                                       <td  style="padding-top:-2px;padding-bottom:-5px;;padding-right:16px"><b>${pdfDataArray.DocumentNumber}</b></td>
                                                   </tr>
                                                   <tr >
                                                       <td style="padding-top:-1px;;padding-right:16px"><b>${pdfDataArray.IFDocNumber}</b></td>
                                                   </tr>
                                               </table>
                                           </td>
                                       </tr>
                                   </table>
                               </td>

                           </tr>
                       </table>
                    </td>
                  
  <td class="data" colspan="5" style="font-size: 22px;  border-right: 1px solid black; vertical-align: middle;">${pdfDataArray.irItem}</td>
                    <td class="data" colspan="2" style="font-size: 22px; align: center; vertical-align: middle;">${pdfDataArray.CustomerName}</td>
            </tr>


Leave a comment

Your email address will not be published. Required fields are marked *