private BaseTable createEntradaDerechaCentro() { BaseTable table = new BaseTable(new EntradaReportStyle(), 2, "2.5cm", "2.5cm"); String margin = "0.3cm"; table.setMarginTop("0.5cm"); table.setMarginBottom(margin); table.setMarginLeft(margin); table.setMarginRight(margin); table.setBackgroundColor(FONDO_BLANCO); Block titulo = new Block(); titulo.setFontSize("14pt"); titulo.setFontStyle(FontStyleType.ITALIC); titulo.getContent().add(this.titulo); titulo.setMarginBottom("0.2cm"); table.withNewRow(); TableCell tituloCell = table.withNewCell(titulo, "2"); tituloCell.setPaddingTop("0.2cm"); table.withNewRow(); table.withNewCell(ResourceProperties.getProperty(locale, "entrada.fecha")); table.withNewCell(ResourceProperties.getProperty(locale, "entrada.hora")); table.withNewRow(); table.withNewCell(this.fecha); table.withNewCell(this.hora); table.withNewRow(); TableCell aperturaCell = table.withNewCell(ResourceProperties.getProperty(locale, "entrada.apertura"), "2"); aperturaCell.setPaddingTop("0.2cm"); table.withNewRow(); table.withNewCell(this.horaApertura, "2"); table.withNewRow(); TableCell cell = table.withNewCell(ResourceProperties.getProperty(locale, "entrada.zona"), "2"); cell.setPaddingTop("0.2cm"); Block zona = new Block(); zona.getContent().add(this.zona); zona.setFontSize("12pt"); table.withNewRow(); TableCell zonaCell = table.withNewCell(zona, "2"); if (this.fila != null && this.numero != null) { table.withNewRow(); TableCell butacaCell = table.withNewCell( ResourceProperties.getProperty(locale, "entrada.butaca", this.fila, this.numero), "2"); butacaCell.setPaddingBottom("0.2cm"); } else { zonaCell.setPaddingBottom("0.2cm"); } return table; }