如何在jaspersoft studio中模拟表格 [英] How to simulate a table in jaspersoft studio

查看:922
本文介绍了如何在jaspersoft studio中模拟表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为我猜没有办法将表格旋转90°我开始通过将静态文本和文本字段包装在一起来模拟一个表格。我将每个静态文本附加到其文本字段,该字段假设具有该静态文本的值,然后将所有行(静态和文本字段的组合)括在一个波段中。但我不能以所有这些组件一起玩的方式调整拉伸类型。每个文本字段都有不同的值,应该可以扩展到其内容。例如,静态文本的字段文本3.所有字段都设置为通过过流,位置浮动,拉伸类型相对于带高度拉伸。对属性的正确调整是什么?

since I guess there is no way to rotate a table by 90° I started to simulate one by wrapping static text and text fields together in band. I enclose each static text to its text field which suppose to have the value for that static text and then enclose all rows (combination of static and text fields) in one band. But I can not adjust the stretch type in a way that all these components play together. Each text field has a different value and should be expandable to its content. For example field text for static text 3. All fields are set to stretch by over flow, position float, stretch type relative to band height. What are the correct adjustments for properties?

结构如下:

这就是文本字段相互淡化的样子:

And this is how it looks like with text fields fading in each other:

推荐答案

将每行可扩展为。框架位置类型应为 Float

Put every row which can expand into a Frame. The frame Position Type should be Float.

现在这会将标题和内容保持在一起。

Now this will keep the titles and content together.

由于你已经相应地设置了所有其他参数,这应该足以获得相应的布局。

Since you've set all other parameters accordingly, this should be enough to get the corrent layout.

这篇关于如何在jaspersoft studio中模拟表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆