private PdfPTable createCombatAttackList(SheetGraphics graphics, CombatStatsContent content) { TableList list = new TableList(graphics.createCommentFont()); list.addHeader(new Chunk(content.getSequenceHeader(), graphics.createTextFont()), true); for (String sequenceItem : content.getSequenceItems()) { list.addItem(sequenceItem); } return list.getTable(); }
@Override protected void addThirdCell( SheetGraphics graphics, ReportContent reportContent, PdfPTable table) { CombatStatsContent content = reportContent.createSubContent(CombatStatsContent.class); addAsCell(graphics, table, content.getStunningChunks()); }