@Test public void textCellShouldHaveLeftAlignment() throws Exception { PdfPCell cell = RequisitionCellFactory.textCell("value"); assertThat(cell.getHorizontalAlignment(), is(Element.ALIGN_LEFT)); assertThat(cell.getPaddingLeft(), is(CELL_PADDING)); }
public static PdfPCell textCell(String value) { PdfPCell cell = getPdfPCell(value); cell.setHorizontalAlignment(Element.ALIGN_LEFT); return cell; }
RequisitionCellFactory { public static PdfPCell textCell(String value) { PdfPCell cell = getPdfPCell(value); cell.setHorizontalAlignment(Element.ALIGN_LEFT); return cell; } }
RequisitionCellFactory { public static PdfPCell textCell(String value) { PdfPCell cell = getPdfPCell(value); cell.setHorizontalAlignment(Element.ALIGN_LEFT); return cell; }  }
RequisitionCellFactory { public static PdfPCell textCell(String value) { PdfPCell cell = getPdfPCell(value); cell.setHorizontalAlignment(Element.ALIGN_LEFT); return cell; }  static PdfPCell numberCell(String value); static PdfPCell textCell(String value); static PdfPCell headingCell(String value); static List<PdfPCell> getCells(List<? extends Column> visibleColumns,
                                        LineItem lineItem,
                                        String currency); static PdfPCell imageCell(); static PdfPCell categoryRow(Integer visibleColumnsSize, LineItem lineItem); }
RequisitionCellFactory { public static PdfPCell textCell(String value) { PdfPCell cell = getPdfPCell(value); cell.setHorizontalAlignment(Element.ALIGN_LEFT); return cell; }  static PdfPCell numberCell(String value); static PdfPCell textCell(String value); static PdfPCell headingCell(String value); static List<PdfPCell> getCells(List<? extends Column> visibleColumns,
                                        LineItem lineItem,
                                        String currency); static PdfPCell imageCell(); static PdfPCell categoryRow(Integer visibleColumnsSize, LineItem lineItem); static final float CELL_PADDING; static final BaseColor HEADER_BACKGROUND; static final Font H2_FONT; static final int WIDTH_PERCENTAGE; static final Logger logger; }