9 个解决方案
#1
试了很长时间还是没有解决.各位大虾帮忙呀.
#2
这个问题是不好解决, 我以前表格都没有画竖线, 只有横线,
如果画竖线的话, 如果框中内容换行时, 竖线会自动拉伸吗?
如果画竖线的话, 如果框中内容换行时, 竖线会自动拉伸吗?
#3
郁闷 不过你说的竖线拉伸的问题应该可以解决,因为图形组件都有一个stretchType属性,可以通过设置让它能够随着其他组件的变化而变化。具体如下:(选自TheJasperReportsUltimateGuide.1.0.pdf)
The stretchType attribute of a graphic element can be used to customize the stretch behavior of theelement when on the same report section there are text fields that stretch themselves because their textcontent is too large to fit in the original text field height.When stretchable text fields are present on a report section, the height of the report section itself will be affected be stretch.
A graphic element can respond to the modification of the report section layout in three ways:
Won't stretch: The graphic element preserves its original specified height
(strechType="NoStretch").
Stretching relative to the parent band height: The graphic element will adapt its height to matchthe new height of the report section it placed on, which has been affected by stretch(stretchType="RelativeToBandHeight").
Stretching relative to the tallest element in group: You have the possibility to group the elementsof a report section in multiple imbricate groups, if you like. The only reason you might have forgrouping your report elements is to be able to customize their stretch behavior. Details about how to group elements are supplied in the section 8.4 Element Groups that willfollow. Graphicelements can be made to automatically adapt their height to fit the amount of stretch suffered bythe tallest element in the group that they are part of (stretchType="RelativeToTallestObject").
The stretchType attribute of a graphic element can be used to customize the stretch behavior of theelement when on the same report section there are text fields that stretch themselves because their textcontent is too large to fit in the original text field height.When stretchable text fields are present on a report section, the height of the report section itself will be affected be stretch.
A graphic element can respond to the modification of the report section layout in three ways:
Won't stretch: The graphic element preserves its original specified height
(strechType="NoStretch").
Stretching relative to the parent band height: The graphic element will adapt its height to matchthe new height of the report section it placed on, which has been affected by stretch(stretchType="RelativeToBandHeight").
Stretching relative to the tallest element in group: You have the possibility to group the elementsof a report section in multiple imbricate groups, if you like. The only reason you might have forgrouping your report elements is to be able to customize their stretch behavior. Details about how to group elements are supplied in the section 8.4 Element Groups that willfollow. Graphicelements can be made to automatically adapt their height to fit the amount of stretch suffered bythe tallest element in the group that they are part of (stretchType="RelativeToTallestObject").
#4
我也有这个问题!
#5
我也有这个问题!
#6
就真的没有解决这个问题的良法么???
#7
自顶一下
#8
我有一个例子你可以拿去看看.admin@163.com
#9
我的在Ireport4.0里用IE预览时,莫名出现黑框
不知道为什么
还有
在tomcat下运行
所有的线都找不到
显示X
但是Ireport里预览时是可以看到的啊
郁闷
不知道为什么
还有
在tomcat下运行
所有的线都找不到
显示X
但是Ireport里预览时是可以看到的啊
郁闷
#1
试了很长时间还是没有解决.各位大虾帮忙呀.
#2
这个问题是不好解决, 我以前表格都没有画竖线, 只有横线,
如果画竖线的话, 如果框中内容换行时, 竖线会自动拉伸吗?
如果画竖线的话, 如果框中内容换行时, 竖线会自动拉伸吗?
#3
郁闷 不过你说的竖线拉伸的问题应该可以解决,因为图形组件都有一个stretchType属性,可以通过设置让它能够随着其他组件的变化而变化。具体如下:(选自TheJasperReportsUltimateGuide.1.0.pdf)
The stretchType attribute of a graphic element can be used to customize the stretch behavior of theelement when on the same report section there are text fields that stretch themselves because their textcontent is too large to fit in the original text field height.When stretchable text fields are present on a report section, the height of the report section itself will be affected be stretch.
A graphic element can respond to the modification of the report section layout in three ways:
Won't stretch: The graphic element preserves its original specified height
(strechType="NoStretch").
Stretching relative to the parent band height: The graphic element will adapt its height to matchthe new height of the report section it placed on, which has been affected by stretch(stretchType="RelativeToBandHeight").
Stretching relative to the tallest element in group: You have the possibility to group the elementsof a report section in multiple imbricate groups, if you like. The only reason you might have forgrouping your report elements is to be able to customize their stretch behavior. Details about how to group elements are supplied in the section 8.4 Element Groups that willfollow. Graphicelements can be made to automatically adapt their height to fit the amount of stretch suffered bythe tallest element in the group that they are part of (stretchType="RelativeToTallestObject").
The stretchType attribute of a graphic element can be used to customize the stretch behavior of theelement when on the same report section there are text fields that stretch themselves because their textcontent is too large to fit in the original text field height.When stretchable text fields are present on a report section, the height of the report section itself will be affected be stretch.
A graphic element can respond to the modification of the report section layout in three ways:
Won't stretch: The graphic element preserves its original specified height
(strechType="NoStretch").
Stretching relative to the parent band height: The graphic element will adapt its height to matchthe new height of the report section it placed on, which has been affected by stretch(stretchType="RelativeToBandHeight").
Stretching relative to the tallest element in group: You have the possibility to group the elementsof a report section in multiple imbricate groups, if you like. The only reason you might have forgrouping your report elements is to be able to customize their stretch behavior. Details about how to group elements are supplied in the section 8.4 Element Groups that willfollow. Graphicelements can be made to automatically adapt their height to fit the amount of stretch suffered bythe tallest element in the group that they are part of (stretchType="RelativeToTallestObject").
#4
我也有这个问题!
#5
我也有这个问题!
#6
就真的没有解决这个问题的良法么???
#7
自顶一下
#8
我有一个例子你可以拿去看看.admin@163.com
#9
我的在Ireport4.0里用IE预览时,莫名出现黑框
不知道为什么
还有
在tomcat下运行
所有的线都找不到
显示X
但是Ireport里预览时是可以看到的啊
郁闷
不知道为什么
还有
在tomcat下运行
所有的线都找不到
显示X
但是Ireport里预览时是可以看到的啊
郁闷