jasperreport生成pdf_jasperreport 导出excel_jasperreport json(56)

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

chose only later in the report filling process, due to complex algorithms or whatever.

The same attributes, evaluationTime and evaluationGroup, that we have talked about in the text

fields section are available also in the <image> element. The evaluationTime attribute can have the

following values:

_ Immediate evaluation: The image expression is evaluated when filling the current band

(evaluationTime="Now").

_ End of report evaluation: The image expression is evaluated when reaching the end of the report

(evaluationTime="Report").

_ End of page evaluation: The image expression is evaluated when reaching the end of the current

page (evaluationTime="Page").

The JasperReports Ultimate Guide

Page 60

_ End of column evaluation: The image expression is evaluated when reaching the end of the current

column (evaluationTime="Column").

_ End of group evaluation: The image expression is evaluated when the group specified by the

evaluationGroup attribute changes (evaluationTime="Group").

The default value for this attribute is "Now".

Image Expression

The value returned by the image expression is used as the source for the image that is going to be

displayed. The image expression is introduced by the <imageExpression> element and can return

values from only a limited range of classes listed below:

java.lang.String

java.io.File

java.net.URL

java.io.InputStream

java.awt.Image

When the image expression returns a java.lang.String value, the engine will try to see

whether the value represents an URL from which to load the image. If it is not a valid URL


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

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

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