jasperreport生成pdf_jasperreport 导出excel_jasperreport json(52)

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

_ Thin border: The border around the graphic element will be half a point thick (pen="Thin").

_ 1 point thick border: Normal border (pen="1Point").

_ 2 points thick border: Thick border (pen="2Point").

_ 4 point thick border: (pen="4Point").

_ Dotted border: The border will be 1 point thick and made of dots (pen="Dotted").

The default border around graphic elements depends on their type. Lines and rectangles have a normal

1 point thick border by default. Images however, do not display any border, by default.

Background Fill Style

The fill attribute specifies the style of the background for the graphic elements, but the only style

supported for the moment is the solid fill style, which is also the default (fill="Solid").

8.2.1 Lines

When displaying a line element, JasperReports draws one of the two diagonals of the rectangle

represented by the x, y, width and height attributes specified for this particular line element.

XML Syntax

<!ELEMENT line (reportElement, graphicElement?)>

<!ATTLIST line

direction (TopDown | BottomUp) "TopDown"

>

Line Direction

Which one of the two diagonals of the rectangle should be drawn can be decided using the direction

attribute:

_ The diagonal that starts in the top-left corner of the rectangle and goes to the bottom left corner is

drawn in case you set direction="TopDown".

_ The line will start in the bottom-left corner and will go to the upper-right if you choose

direction="BottomUp".

You can draw vertical lines by specifying and horizontal lines setting. For


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

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

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