Examples of JRTextField


Examples of net.sf.jasperreports.engine.JRTextField

   *
   */
  public JRPrintElement convert(ReportConverter reportConverter, JRElement element)
  {
    JRBasePrintText printText = new JRBasePrintText(reportConverter.getDefaultStyleProvider());
    JRTextField textField = (JRTextField)element;
   
    copyTextElement(reportConverter, textField, printText);
   
    printText.setMarkup(JRCommonText.MARKUP_NONE);//text fields are never converted to styled print text elements
    printText.setAnchorName(JRExpressionUtil.getExpressionText(textField.getAnchorNameExpression()));
    printText.setBookmarkLevel(textField.getBookmarkLevel());
    printText.setLinkType(textField.getLinkType());
    printText.setPattern(textField.getOwnPattern());
   
    printText.setText(JRExpressionUtil.getExpressionText(textField.getExpression()));
   
    measureTextElement(printText);

    return printText;
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.JRTextField

          {
            verifyStaticText((JRStaticText)element);
          }
          else if (element instanceof JRTextField)
          {
            JRTextField textField = (JRTextField) element;

            if (textField.getEvaluationTimeValue() != EvaluationTimeEnum.NOW)
            {
              addBrokenRule("Elements with delayed evaluation time are not supported inside crosstab cells.", textField);
            }

            verifyTextField(textField);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.