private void simpleLine(){
  PdfPCell tableCell=new PdfPCell(new Phrase(""));
  tableCell.setBorder(0);
  table.addCell(tableCell);
  tableCell=new PdfPCell(new Phrase(""));
  tableCell.setBorder(0);
  table.addCell(tableCell);
  for (int i=0; i < (cols - 2); i++) {
    tableCell=new PdfPCell(new Phrase(""));
    tableCell.setBorderWidthLeft(0);
    tableCell.setBorderWidthRight(0);
    tableCell.setBorderWidthTop(0);
    tableCell.setBorderColorBottom(Color.BLACK);
    table.addCell(tableCell);
  }
}

private void simpleLine ( ) { PdfPCell tableCell = new PdfPCell ( new Phrase ( "" ) ) ; tableCell . setBorder ( 0 ) ; table . addCell ( tableCell ) ; tableCell = new PdfPCell ( new Phrase ( "" ) ) ; tableCell . setBorder ( 0 ) ; table . addCell ( tableCell ) ; for ( int i = 0 ; i < ( cols - 2 ) ; i ++ ) { tableCell = new PdfPCell ( new Phrase ( "" ) ) ; tableCell . setBorderWidthLeft ( 0 ) ; tableCell . setBorderWidthRight ( 0 ) ; tableCell . setBorderWidthTop ( 0 ) ; tableCell . setBorderColorBottom ( Color . BLACK ) ; table . addCell ( tableCell ) ; } }
coloca linea de total - put total line
