jasperreport生成pdf_jasperreport 导出excel_jasperreport json(46)

电脑杂谈  发布时间:2017-02-04 10:28:36  来源:网络整理

pattern CDATA #IMPLIED

isBlankWhenNull (true | false) "false"

hyperlinkType (None | Reference | LocalAnchor | LocalPage |

RemoteAnchor | RemotePage) "None"

>

<!ELEMENT textFieldExpression (#PCDATA)>

<!ATTLIST textFieldExpression

class (java.lang.Boolean | java.lang.Byte | java.util.Date |

java.sql.Timestamp | java.lang.Double | java.lang.Float | java.lang.Integer

| java.lang.Long | java.lang.Short | java.math.BigDecimal |

java.lang.String) "java.lang.String"

>

Variable Height Text Fields

Given the fact that text fields have a dynamic content, most of the time you wont be able to exactly

anticipate the amount of space you have to provide for your text fields so that they can display all their

content.

If the space you reserve for your text fields is not sufficient, the text content will be truncated so that it

fits in the available area.

This scenario is not always acceptable and you can let the reporting engine to calculate itself at runtime

the amount of space required to display the entire content of the text field and automatically adjust the

size of the report element.

You can achieve this by setting the isStretchWithOverflow to "true" for the particular text field

elements you are interested in. By doing this, you make sure that if the specified height for the text

field is not sufficient, it will automatically be increased (never decreased) in order to be able to display

the entire text content.

When text fields are affected by this stretch mechanism, the entire report section to which they belong


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-30468-46.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 安禄山
      安禄山

      lu的身高

      • 王朝阳
        王朝阳

        没发现一个有用的观点或论据

    • 孔霞
      孔霞

      或者就去找他的老婆睡觉去

    热点图片
    拼命载入中...