jasperreport生成pdf_jasperreport 导出excel_jasperreport json(32)

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

what happens to the other section elements and tries to conserve the y offset measured from the top

of its parent report section (positionType="FixRelativeToTop").

_ Fixed position relative to the bottom of the parent band: If the height of the parent report section is

affected by elements that stretch, the current element will try to conserve the original distance

between its bottom margin and the bottom of the band

(positionType="FixRelativeToBottom").

A report element called e2 will float when another report element called e1 stretches, only

if these three conditions are met:

_ e2 has postitionType="Float"

_ e1.y + e1.height < e2.y

_ e1.width + e2.width >= max(e1.x + e1.width, e2.x + e2.width) –

min(e1.x, e2.x)

The second and the third conditions together say that the element e2 must be placed below

the e1.

By default, all elements have a fixed position relative to the top of the band.

To see how element stretching and element floating work together, check the stretch sample provided.

Element Size

The width and height attributes are mandatory and represent the size of the report element measured

in pixels. Additional element settings that have to do with the element stretching mechanism will

determine the reporting engine to sometimes ignore the specified element height. But this attribute

remains mandatory since even when the height is calculated dynamically, the element will not be

smaller than the original specified height.

Element Color

There are two attributes that represent colors: forecolor and backcolor. The fore color is the one


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

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

    • 钱缪
      钱缪

      对于马老大本人还是比较佩服的

    • 裴翊好
      裴翊好

      说明到了马云时代的一个转折点

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