예제 #1
0
 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();
 }
예제 #2
0
 @Override
 protected void addThirdCell(
     SheetGraphics graphics, ReportContent reportContent, PdfPTable table) {
   CombatStatsContent content = reportContent.createSubContent(CombatStatsContent.class);
   addAsCell(graphics, table, content.getStunningChunks());
 }