自己写出了有意思的bug
while (quoteItemTableJsonArray.getJSONObject(0).keys().hasNext()); {columnName = (String) quoteItemTableJsonArray.getJSONObject(0).keys().next();chunk = new Chunk(rowJsonObject.getString(columnName), FontFactory.getFont(FontFactory.HELVETICA, 10, Font.NORMAL,BaseColor.BLACK)); paragraph = new Paragraph(chunk);paragraph.setAlignment(Element.ALIGN_CENTER);chunk.setTextRise(4);cell = new PdfPCell();cell.addElement(paragraph);quoteItemTable.addCell(cell);}