jasperreport生成pdf_jasperreport 导出excel_jasperreport json(61)

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

XML Syntax

<!ELEMENT elementGroup (line | rectangle | image | staticText | textField |

subreport | elementGroup)*>

Element groups can contain other nested element groups and there is no limit on the number of the

nested element groups.

Check the stretch sample, to see how element grouping works.

The JasperReports Ultimate Guide

Page 63

9 Subreports

Subreports are an import feature for a report-generating tool. They allow the creation of more complex

reports and simplify the design work. The subreports are very useful when creating master-detail type

of reports or when the structure of a single report is not sufficient to describe the complexity of the

desired output document.

A subreport is in fact a normal report that is been incorporated as apart of another report. You can

imbricate your subreports and make a subreport that contains itself other

subreports, the nesting level

not being limited.

On the other hand, a subreport is also a special kind of a report element that helps you introduce a

subreport into the parent report.

There's nothing more to say about subreports, seen as normal reports, because they are compiled and

filled just like normal reports are and we already have seen all that in previous chapters. In fact, any

report design can be used as a subreport when incorporated into another report design, without the need

to change anything inside it.

What we are going to see now, are the details concerning the <subreport> element that you use when


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

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

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