title: Adding more text to a cell in table in itext
body: <p>I am trying to add some text with a bar code in a table cell using itext as per the following code but it does not show in the pdf file. i tried adding chunks and paragraph. Any help on this would be appreciated.</p>
  
  <pre><code>Barcode128 barcode = new Barcode128();
  //barcode.setCodeType(Barcode.EAN8);
  barcode.setCode(code);
  PdfPCell cell = new PdfPCell(barcode.createImageWithBarcode(writer.getDirectContent(), BaseColor.BLACK, BaseColor.GRAY), true);
  
  Paragraph paragraph = new Paragraph("Hello World"); 
  cell.addElement(paragraph);
  
  cell.setPadding(10);
  </code></pre>