jasperreport生成pdf_jasperreport 导出excel_jasperreport json(60)

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

expression, which should always return java.lang.String values.

Hyperlink Expressions

Depending on the current hyperlink type, one or two of the following expressions will be evaluated and

used to build the reference to which the hyperlink element will point:

The JasperReports Ultimate Guide

Page 62

<hyperlinkReferenceExpression>

<hyperlinkAnchorExpression>

<hyperlinkPageExpression>

What is important to know is that the first two should always return java.lang.String and the third

should return java.lang.Integer values.

There is a special sample called hyperlink, provided with the projects, which shows how this type of

report elements can be used.

8.4 Element Groups

Report elements placed in any report section can be arranged in multiple imbricate groups. The only

reason you might have for grouping your elements is to be able to customize the stretch behavior of the

graphic elements, as explained in the section 8.2 Graphic Elements.

The stretchType attribute, available for graphic elements, has among its possible values one called

"RelativeToTallestObject". When choosing this option, the engine will try to identify the object

from the same group with the current graphic element, which suffered the biggest amount of stretch. It

will then adapt the height of the current graphic element to the height of this tallest element of the

group.

But for this to work, you have to group your elements. This is done using the <elementGroup> and

</elementGroup> tags to mark the elements that are part of the same group.


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

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

    • 陈越
      陈越

      不行就是不行

    • 郝彦超
      郝彦超

      象是给美国出一出气

    • 江睿
      江睿

      那里的岛礁有许多在自然状况下是当涨潮时处于海面以下的

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