private ExternalGraphic logoUji() {
    ExternalGraphic externalGraphic = new ExternalGraphic();
    externalGraphic.setSrc(new File("/etc/uji/par/imagenes/uji_logo.png").getAbsolutePath());
    externalGraphic.setMaxWidth("2cm");

    return externalGraphic;
  }
  private Block createBarcode(String urlPublic) {
    ExternalGraphic externalGraphic = new ExternalGraphic();
    externalGraphic.setSrc(urlPublic + "/rest/barcode/" + this.barcode);

    Block blockCodebar = new Block();
    blockCodebar.getContent().add(externalGraphic);

    return blockCodebar;
  }
  private void creaSeccionPublicidad() {
    if (existeImagen(this.urlPublicidad)) {
      Block publicidadBlock = withNewBlock();

      publicidadBlock.setMarginTop("0.3cm");

      ExternalGraphic externalGraphic = new ExternalGraphic();
      externalGraphic.setSrc(this.urlPublicidad);

      publicidadBlock.getContent().add(externalGraphic);
    }
  }
  private Block createEntradaIzquierdaCentroFoto() {
    Block block = new Block();

    ExternalGraphic externalGraphic = new ExternalGraphic();

    if (existeImagen(this.urlPortada)) externalGraphic.setSrc(this.urlPortada);

    externalGraphic.setContentWidth("2.5cm");
    externalGraphic.setMaxWidth("2.5cm");
    block.getContent().add(externalGraphic);
    return block;
  }