code: public static PdfPTable newPdfPTable(int numColumns, List<String> headerNames)
  	{
  		PdfPTable table = new PdfPTable(numColumns);
  		headerNames.stream().forEach(columnHeaderName -> {
  			PdfPCell header = new PdfPCell();
  			header.setBackgroundColor(BaseColor.LIGHT_GRAY);
  			header.setBorderWidth(2);
  			header.setPhrase(new Phrase(columnHeaderName));
  			table.addCell(header);
  		});
  		return table;
  	}
docs: Factory method for create a new {@link PdfPTable} with the given count of columns and the
  column header names
  
  @param numColumns
  the count of columns of the table
  @param headerNames
  the column header names
  @return the new {@link PdfPTable}