碧玉报告(出口)行/边框未跟随下一组 [英] jasper report(ireport) line/border not following to next group
问题描述
我的报告边框未以连续方式显示... 如下图所示,我有5个部分
My report border is not displayed in continues way... As shown in the image below i have 5 sections
- 页面标题-每个页面上的徽标和标题内容
- 组标题1-显示员工详细信息,因为它将是单行
- 组头2-显示项目详细信息,因为它将是多行
- 详细信息"部分-显示项目图像
- 页脚-在每个页面上显示地址
- Page header - Logo and header content on each page
- Group Header 1 - displays employee details as it will be single row
- Group Header 2 - displays project details as it will be multiple row
- Detail section - displays project images
- footer - displays address on each page
下面的图像仅显示第一页,其中第二页(详细信息部分)包含项目的图像.
The image below is showing up only 1st page wherein 2nd page(detail section) contains the images of the project.
如您所见,组标题2之后的边框处有一个间隙-> 页脚
As you can see there is a gap at the border after group header 2 -> footer
我使用line(调色板中的元素)作为边框,我尝试了所有类型的拉伸类型,但没有运气:(
I've used line(element from palette) as a border, i've tried all types of stretch type but no luck :(
有人可以帮助我解决问题的方法.
Can someone please help me out on how to resolve the issue.
这是我的JRXML代码
Here is my JRXML code
推荐答案
这是因为detail
范围没有运行到报告结尾.
This is since the detail
band does not run to the end of your report.
由于您在某些文本字段上具有isStretchWithOverflow="true"
,因此我们无法使明细栏占据整个页面的大小(如果组带中有某些东西,则可能冒着下一页出现的风险)
Since you have isStretchWithOverflow="true"
on certain textfield's we can not make the detail band to take whole page size (you would risk that it goes on next page if something in group band stretch's)
解决方案是在背景带中添加两个蓝色垂直边框,并将其从详细信息,组和页脚带中删除.
The solution is to add the two blue vertical border's in the background band and remove these from the detail, group and footer band.
这篇关于碧玉报告(出口)行/边框未跟随下一组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!