protected JRFillTextElement(
      JRBaseFiller filler, JRTextElement textElement, JRFillObjectFactory factory) {
    super(filler, textElement, factory);

    reportFont = factory.getReportFont(textElement.getReportFont());

    lineBox = textElement.getLineBox().clone(this);
  }
Ejemplo n.º 2
0
  protected void setTextElement(JRTextElement textElement) {
    super.setElement(textElement);

    copyLineBox(textElement.getLineBox());

    reportFont = textElement.getReportFont();

    fontName = textElement.getOwnFontName();
    isBold = textElement.isOwnBold();
    isItalic = textElement.isOwnItalic();
    isUnderline = textElement.isOwnUnderline();
    isStrikeThrough = textElement.isOwnStrikeThrough();
    fontSize = textElement.getOwnFontSize();
    pdfFontName = textElement.getOwnPdfFontName();
    pdfEncoding = textElement.getOwnPdfEncoding();
    isPdfEmbedded = textElement.isOwnPdfEmbedded();

    horizontalAlignmentValue = textElement.getOwnHorizontalAlignmentValue();
    verticalAlignmentValue = textElement.getOwnVerticalAlignmentValue();
    rotationValue = textElement.getOwnRotationValue();
    lineSpacingValue = textElement.getOwnLineSpacingValue();
    markup = textElement.getOwnMarkup();
  }