jasperreport生成pdf_jasperreport 导出excel_jasperreport json(53)

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

such lines the direction is not important.

The default direction for a line is "TopDown".

The JasperReports Ultimate Guide

Page 58

8.2.2 Rectangles

The rectangles are the most basic graphic elements. This is why there are no supplementary settings to

make for the declaration of a rectangle element, besides those already seen when talking about the

<reportElement> and <graphicElement> tags.

XML Syntax

<!ELEMENT rectangle (reportElement, graphicElement?)>

For more detailed examples of lines and rectangles, check the shapes sample.

8.2.3 Images

The most complex graphic elements that you can have on a report are the images.

Just like for the text field elements, their content is dynamically evaluated at runtime, using a report

expression.

XML Syntax

<!ELEMENT image (reportElement, graphicElement?, imageExpression?,

anchorNameExpression?, hyperlinkReferenceExpression?,

hyperlinkAnchorExpression?, hyperlinkPageExpression?)>

<!ATTLIST image

scaleImage (Clip | FillFrame | RetainShape) "RetainShape"

isUsingCache (true | false) "true"

evaluationTime (Now | Report | Page | Column | Group) "Now"

evaluationGroup CDATA #IMPLIED

hyperlinkType (None | Reference | LocalAnchor | LocalPage |

RemoteAnchor | RemotePage) "None"

>

<!ELEMENT imageExpression (#PCDATA)>

<!ATTLIST imageExpression

class (java.lang.String | java.io.File | java.net.URL |

java.io.InputStream | java.awt.Image) "java.lang.String"

>

Scaling Images

Given the fact that images are loaded at runtime, there is no way knowing their exact size, when


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

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

    • 吕丽萍
      吕丽萍

      老个JJ新闻说啥你就以为啥

    • 于武陵
      于武陵

      全世界都知道美国是中东乱局始作俑者

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