コード例 #1
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();
  }