Package net.sf.jasperreports.engine.design

Examples of net.sf.jasperreports.engine.design.JRDesignTextElement


   

    designElemen.setStyle(jrstyle);
    if (designElemen instanceof JRDesignTextElement ) {
      JRDesignTextElement textField = (JRDesignTextElement) designElemen;
      if (style.getStreching() != null)
        textField.setStretchType(style.getStreching().getValue());
      textField.setPositionType(JRTextField.POSITION_TYPE_FLOAT);

    }
    if (designElemen instanceof JRDesignTextField ) {
      JRDesignTextField textField = (JRDesignTextField) designElemen;
      textField.setStretchWithOverflow(style.isStretchWithOverflow());

      if (textField.isBlankWhenNull() == false && style.isBlankWhenNull()) //TODO Re check if this condition is ok
        textField.setBlankWhenNull(true);
    }
//    return jrstyle;
    return;
  }
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.design.JRDesignTextElement

Copyright © 2018 www.massapicom. 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.