Пример #1
0
  /**
   * Sets a <tt>JRFont</tt> object containing all font properties for this text element
   *
   * @deprecated
   */
  public void setFont(JRFont font) {
    setReportFont(font.getReportFont());

    setFontName(font.getOwnFontName());
    setBold(font.isOwnBold());
    setItalic(font.isOwnItalic());
    setUnderline(font.isOwnUnderline());
    setStrikeThrough(font.isOwnStrikeThrough());
    setFontSize(font.getOwnSize());
    setPdfFontName(font.getOwnPdfFontName());
    setPdfEncoding(font.getOwnPdfEncoding());
    setPdfEmbedded(font.isOwnPdfEmbedded());
  }
Пример #2
0
 public void setPdfEmbedded(boolean isPdfEmbedded) {
   setPdfEmbedded(isPdfEmbedded ? Boolean.TRUE : Boolean.FALSE);
 }