JasperReport模板元素的含义

2019-04-14 20:32发布

  元素名称 属性名称 含义 元素出现次数 取值类型 根元素 jasperReport 模板根元素 1 ,  ,  ,   ,,  , , , ,</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><pageHeader>,</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><columnHeader>,</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><detail>,</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><columnFooter>,</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><pageFooter>,</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><summary></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">模板名称<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须的属性<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">columnCount</span></span> <span style="font-family: 宋体;">每页的列数<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">printOrder</span></span> <span style="font-family: 宋体;">如果一页多于一列时,指定填充数据的方向<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Vertical 或者 Horizontal默认为vertical</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pageWidth</span></span> <span style="font-family: 宋体;">页面宽度<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为595</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pageHeight</span></span> <span style="font-family: 宋体;">页面高度<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为842</span></span> <span lang="EN-US"><span style="font-family: 宋体;">columnWidth</span></span> <span style="font-family: 宋体;">列宽度<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为555</span></span> <span lang="EN-US"><span style="font-family: 宋体;">columnSpacing</span></span> <span style="font-family: 宋体;">列间距<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为0</span></span> <span lang="EN-US"><span style="font-family: 宋体;">leftMargin</span></span> <span style="font-family: 宋体;">页面做边距<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为20</span></span> <span lang="EN-US"><span style="font-family: 宋体;">rightMargin</span></span> <span style="font-family: 宋体;">页面右边距<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为20</span></span> <span lang="EN-US"><span style="font-family: 宋体;">topMargin</span></span> <span style="font-family: 宋体;">页面上边距<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为30</span></span> <span lang="EN-US"><span style="font-family: 宋体;">bottomMargin</span></span> <span style="font-family: 宋体;">页面下边距<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为30</span></span> <span lang="EN-US"><span style="font-family: 宋体;">whenNoDataType</span></span> <span style="font-family: 宋体;">当页面上没有数据时处理方式如果选择<span lang="EN-US">noPages系统会提示没有页面,如果选择BlankPage会显示一页空的页面,如果选择allSectionNoDetial则会显示除Detail段之外的所有部分</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NoPages 或BlankPage 或AllSectionsNoDetail默认为NoPages</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isTitleNewPage</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Title部分是否在单独的一页显示</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">True或者false默认为false</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isSummaryNewPage</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Summary部分是否在单独的一页显示</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">True或者false默认为false</span></span> <span lang="EN-US"><span style="font-family: 宋体;">scriptletClass</span></span> <span style="font-family: 宋体;">数据填充过程中执行的<span lang="EN-US">Java代码</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">orientation</span></span> <span style="font-family: 宋体;">打印方向<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Portrait或者 Landscape默认为"Portrait"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">property</span></span> <span style="font-family: 宋体;">定义<span lang="EN-US">property元素</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或多次</span></span> <span style="font-family: 宋体;">空元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">property</span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">属性名<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">value</span></span> <span style="font-family: 宋体;">属性值<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">reportFont</span></span> <span style="font-family: 宋体;">定义模板中的字体<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或多次</span></span> <span style="font-family: 宋体;">空元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">reportFont</span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">定义引用名称<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isDefault</span></span> <span style="font-family: 宋体;">该字体是否是该模板的默认字体<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">fontName</span></span> <span style="font-family: 宋体;">字体的名称<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA 默认为"sansserif"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">size</span></span> <span style="font-family: 宋体;">字体大小<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认为 "10"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isBold</span></span> <span style="font-family: 宋体;">字体是否为粗体<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isItalic</span></span> <span style="font-family: 宋体;">字体是否为斜体<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isUnderline</span></span> <span style="font-family: 宋体;">字体是否加下划线<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStrikeThrough</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStrikeThrough</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pdfFontName</span></span> <span lang="EN-US"><span style="font-family: 宋体;">PDF字体名字</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA默认为Helvetica</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pdfEncoding</span></span> <span lang="EN-US"><span style="font-family: 宋体;">PDF字体编码方式</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA默认为CP1252</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isPdfEmbedded</span></span> <span lang="EN-US"><span style="font-family: 宋体;">PDF字体是否嵌入到PDF文档中</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Parameter</span></span> <span style="font-family: 宋体;">模板中的参数定义<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><parameterDescription>, <defaultValueExpression></span></span> <span lang="EN-US"><span style="font-family: 宋体;">Parameter</span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">参数名<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">class</span></span> <span style="font-family: 宋体;">参数值类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认为“java.lang.String”</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isForPrompting</span></span> <span style="font-family: 宋体;">用在图形界面中提示用户输入参数信息<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Parameter</span></span> <span lang="EN-US"><span style="font-family: 宋体;">parameterDescription</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Parameter 中的isForPrompting设置成“true”时,此字段的信息就是向用户提示的信息</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0此或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Parameter</span></span> <span lang="EN-US"><span style="font-family: 宋体;">defaultValueExpression</span></span> <span style="font-family: 宋体;">在数据填充过程中,<span lang="EN-US">parameter 的值通过HaspMap传送,如果在填充中不向变量传送值,则此变量为null,但是如果定义了defaultValueExpression此变量的默认值就取此元素中的内容(此字段的值当且仅当数据填充过程中没有向此变量传送值时有效)</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">queryString</span></span> <span style="font-family: 宋体;">数据填充过程中,如果数据参数是连接池对象(<span lang="EN-US">Connection)则执行此SQL语句进行取数据</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">field</span></span> <span style="font-family: 宋体;">查询结果目标列字段名称定义<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><fieldDescription></span></span> <span lang="EN-US"><span style="font-family: 宋体;">field</span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">参数名<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">class</span></span> <span style="font-family: 宋体;">参数值类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(java.lang.Object | java.lang.Boolean | java.lang.Byte | java.util.Date | java.sql.Timestamp | java.sql.Time | java.lang.Double | java.lang.Float | java.lang.Integer | java.io.InputStream | java.lang.Long | java.lang.Short | java.math.BigDecimal | java.lang.String)默认为“java.lang.String”</span></span> <span lang="EN-US"><span style="font-family: 宋体;">field</span></span> <span lang="EN-US"><span style="font-family: 宋体;">fieldDescription</span></span> <span style="font-family: 宋体;">???<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">variable</span></span> <span style="font-family: 宋体;">变量定义。系统中还有一些内嵌的变量:<span style="layout-grid-mode: both;" lang="EN-US">PAGE_NUMBER:页号码(可以是页码也可以是页数,通过TextField的计算时间的不同值来设置)</span><span style="font-size: 10pt; layout-grid-mode: both; line-height: 150%;" lang="EN-US"></span></span> <span style="font-family: 宋体;"><span style="layout-grid-mode: both;" lang="EN-US">COLUMN_NUMBER:列号码</span><span style="font-size: 10pt; layout-grid-mode: both; line-height: 150%;" lang="EN-US"></span></span> <span style="font-family: 宋体;"><span style="layout-grid-mode: both;" lang="EN-US">REPORT_COUNT:当前文档中数据源记录数目</span><span style="font-size: 10pt; layout-grid-mode: both; line-height: 150%;" lang="EN-US"></span></span> <span style="font-family: 宋体;"><span style="layout-grid-mode: both;" lang="EN-US">PAGE_COUNT:当前页面中记录的数目</span><span style="font-size: 10pt; layout-grid-mode: both; line-height: 150%;" lang="EN-US"></span></span> <span style="font-family: 宋体;"><span style="layout-grid-mode: both;" lang="EN-US">COLUMN_COUNT:当前列中记录的数目</span><span style="font-size: 10pt; layout-grid-mode: both; line-height: 150%;" lang="EN-US"></span></span> <span style="font-family: 宋体;"><span style="layout-grid-mode: both;" lang="EN-US">GroupName_COUNT:当前组中记录的数目</span><span style="font-size: 10pt; layout-grid-mode: both; line-height: 150%;" lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><variableExpression> <initialValueExpression></span></span> <span lang="EN-US"><span style="font-family: 宋体;">variable</span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">参数名<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">class</span></span> <span style="font-family: 宋体;">参数值类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认为“java.lang.String”</span></span> <span lang="EN-US"><span style="font-family: 宋体;">resetType</span></span> <span style="font-family: 宋体;">变量被重新初始化的类型,如果为<span lang="EN-US">none则变量的值为<variableExpression>中计算的值而永远不会重新初始化;如果为Report,则变量只初始化一次,当且仅当数据填充过程的开始,其值为<initialValueExpression>计算的值;当为Page类型时,变量的值会在每页开始时重新初始化;当为Column时,变量会在每列开始的时候重新初始化;当为Group时,变量5会在resetGroup指定的Group间断处初始化。</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(None | Report | Page | Column | Group) 默认为"Report"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">resetGroup</span></span> <span style="font-family: 宋体;">当且仅当<span lang="EN-US">ResetType设置为Group时,此字段有效,</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">calculation</span></span> <span style="font-family: 宋体;">变量的计算类型,如果为<span lang="EN-US">Nothing,则变量的值就是变量表达式的值;如果为Count,此变量的类型为数字类型,它计算的是数据源迭代过程中,<variableExpression>内元素内容不为null的数据总和;如果为Sum则此变量计算<variableExpression>内返回数据的总和;如果为Average则返回平均数;如果为Highest或者Loweset则返回数据源记录中此变量所计算的最大或最小值;如果为System则此变量的值是程序员通过ScriptClass指定的java类来计算。</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Nothing | Count | Sum | Average | Lowest | Highest | <strong style="mso-bidi-font-weight: normal;"><span style="color: #3366ff;">StandardDeviation | Variance</span></strong> | System) 默认为"Nothing"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">incrementerFactoryClass</span></span> <span style="font-family: 宋体;">实现<code><span style="font-size: 12pt; color: black; line-height: 150%;" lang="EN-US">JRIncrementerFactory接口的Java类</span></code><span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">variable</span></span> <span lang="EN-US"><span style="font-family: 宋体;">variableExpression</span></span> <span style="font-family: 宋体;">变量所计算值的表达式<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">variable</span></span> <span lang="EN-US"><span style="font-family: 宋体;">initialValueExpression</span></span> <span style="font-family: 宋体;">变量的初始值<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">group</span></span> <span style="font-family: 宋体;">定义模板的<span lang="EN-US">group,group中的数据是连续的一系列数据,分组是通过GroupExpression来指定的。模板中可以有很多组,但是这些组是有顺序的,它们之间有包含关系,当一个大组结束时,其包含的小组会重新初始化(分组仅当数据源已经用GroupExpression字段对数据进行排序后有效,如果没有用指定的字段排序则显示结果并不是希望得到的结果)。</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><groupExpression>, <groupHeader>, <groupFooter></span></span> <span lang="EN-US"><span style="font-family: 宋体;">group</span></span> <span lang="EN-US"><span style="font-family: 宋体;">name</span></span> <span style="font-family: 宋体;">组名称<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStartNewColumn</span></span> <span style="font-family: 宋体;">当新的组开始时,是否在新的一列开始<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStartNewPage</span></span> <span style="font-family: 宋体;">当新的组开始时,是否在新的一页开始<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isResetPageNumber</span></span> <span style="font-family: 宋体;">当新的组开始时,是否重置<span lang="EN-US">PageNumber变量</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isReprintHeaderOnEachPage</span></span> <span style="font-family: 宋体;">是否在每页都打印头信息<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">minHeightToStartNewPage</span></span> <span style="font-family: 宋体;">如果<span lang="EN-US">isStartNewPage设置成false但是当页面剩余高度小于一个值后要重新开始一页,此属性就是指定这个最小高度值</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认值为 "0"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Group</span></span> <span lang="EN-US"><span style="font-family: 宋体;">groupExpression</span></span> <span style="font-family: 宋体;">分组字段值<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Group</span></span> <span lang="EN-US"><span style="font-family: 宋体;">groupHeader</span></span> <span style="font-family: 宋体;">分组头部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">Group</span></span> <span lang="EN-US"><span style="font-family: 宋体;">groupFooter</span></span> <span style="font-family: 宋体;">分组尾部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">background</span></span> <span style="font-family: 宋体;">背景部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">title</span></span> <span style="font-family: 宋体;">标题头部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pageHeader</span></span> <span style="font-family: 宋体;">页眉部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">columnHeader</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Column头部分</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">detail</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">columnFooter</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Column尾部分</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pageFooter</span></span> <span style="font-family: 宋体;">页脚部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">jasperReport</span></span> <span lang="EN-US"><span style="font-family: 宋体;">summary</span></span> <span style="font-family: 宋体;">总结部分<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">groupHeader</span></span> <span lang="EN-US"><span style="font-family: 宋体;">goupFooter background title <pageHeader><columnHeader></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><span style="mso-spacerun: yes;"> </span><detail></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><columnFooter> <pageFooter><summary></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span style="font-family: 宋体;">模板的一段<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者1次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">printWhenExpression?, (line | rectangle | ellipse | image | staticText | textField | subreport | elementGroup)*)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Band></span></span> <span lang="EN-US"><span style="font-family: 宋体;">height</span></span> <span style="font-family: 宋体;">段高度<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN 默认值为0</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isSplitAllowed</span></span> <span style="font-family: 宋体;">是否可以分离<span lang="EN-US"></span></span> <span style="font-family: 宋体;">???<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为" true"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><line></span></span> <span style="font-family: 宋体;">直线元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0次或者多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">reportElement, graphicElement?</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><line></span></span> <span lang="EN-US"><span style="font-family: 宋体;">direction</span></span> <span style="font-family: 宋体;">直线的方向,<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">TopDown 或者 BottomUp 默认为"TopDown"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><line></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><rectangle></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><ellipse> <image> <staticText> <textField> <subreport></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><reportElement></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><printWhenExpression></span></span> <span lang="EN-US"><span style="font-family: @宋体;"><reportElement></span></span> <span lang="EN-US"><span style="font-family: 宋体;">key</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">positionType</span></span> <span style="font-family: 宋体;">当页面元素(<span lang="EN-US">TextField或StaticText)允许拉伸影响本元素的位置时,此元素的定位方式</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Float | FixRelativeToTop | FixRelativeToBottom) "FixRelativeToTop"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">stretchType</span></span> <span style="font-family: 宋体;">图形元素延伸状态<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(NoStretch | RelativeToTallestObject | RelativeToBandHeight) "NoStretch"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isPrintRepeatedValues</span></span> <span style="font-family: 宋体;">是否打印重复数据<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">mode</span></span> <span style="font-family: 宋体;">透明设置<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Opaque | Transparent)</span></span> <span lang="EN-US"><span style="font-family: 宋体;">x</span></span> <span style="font-family: 宋体;">此元素相对于此元素所在段左上脚的<span lang="EN-US">X坐标</span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">y</span></span> <span style="font-family: 宋体;">此元素相对于此元素所在段左上脚的<span lang="EN-US">Y坐标</span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">width</span></span> <span style="font-family: 宋体;">元素的宽度<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">height</span></span> <span style="font-family: 宋体;">元素的高度(象素为单位),允许拉伸时,高度会动态变化<span lang="EN-US"></span></span> <span style="font-family: 宋体;">必须<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isRemoveLineWhenBlank</span></span> <span style="font-family: 宋体;">当数据为空时,是否消除此行数据<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isPrintInFirstWholeBand</span></span> <span style="font-family: 宋体;">在每页的第一段,此元素是否都出现<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isPrintWhenDetailOverflows</span></span> <span style="font-family: 宋体;">当一页不能容下页面元素内容时,是否在其他页重新打印此元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">printWhenGroupChanges</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">forecolor</span></span> <span style="font-family: 宋体;">前景 {MOD}<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">backcolor</span></span> <span style="font-family: 宋体;">背景 {MOD}<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><line></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Rectangle></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><ellipse></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;">graphicElement</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span style="font-family: 宋体;">空元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">graphicElement</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">stretchType</span></span> <span style="font-family: 宋体;">图形元素延伸状态<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">(NoStretch | RelativeToTallestObject | RelativeToBandHeight)</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pen</span></span> <span style="font-family: 宋体;">边框线条粗细<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">(None | Thin | 1Point | 2Point | 4Point | Dotted)</span></span> <span lang="EN-US"><span style="font-family: 宋体;">fill</span></span> <span style="font-family: 宋体;">线条填充方式<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Solid) "Solid"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><reportElement></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><printWhenExpression></span></span> <span style="font-family: 宋体;">当且仅当此字段返回<span lang="EN-US">TRUE时,此元素才显示</span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Rectangle></span></span> <span style="font-family: 宋体;">矩形框元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(reportElement, graphicElement?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Rectangle></span></span> <span lang="EN-US"><span style="font-family: 宋体;">radius</span></span> <span style="font-family: 宋体;">矩形圆角半径<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN 默认为"0"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><ellipse></span></span> <span style="font-family: 宋体;">椭圆元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(reportElement, graphicElement?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Image></span></span> <span style="font-family: 宋体;">图形元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(reportElement, graphicElement?, imageExpression?, anchorNameExpression?, hyperlinkReferenceExpression?, hyperlinkAnchorExpression?, hyperlinkPageExpression?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">scaleImage</span></span> <span style="font-family: 宋体;">当图片大小与指定图像元素大小不同时,怎样在图像元素中显示图片。<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Clip | FillFrame | RetainShape) "RetainShape"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">hAlign</span></span> <span style="font-family: 宋体;">水平对齐方式<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Left | Center | Right) "Left"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">vAlign</span></span> <span style="font-family: 宋体;">垂直对齐方式<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Top | Middle | Bottom) "Top"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isUsingCache</span></span> <span style="font-family: 宋体;">是否缓存图像<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(true | false) 默认为"true"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">evaluationTime</span></span> <span style="font-family: 宋体;">计算<span lang="EN-US"><imageExpression>中内容的时间</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Now | Report | Page | Column | Group) "Now"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">evaluationGroup</span></span> <span lang="EN-US"><span style="font-family: 宋体;">evaluationTime为group时,此属性指定组名</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">hyperlinkType</span></span> <span style="font-family: 宋体;">超级链接类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(None | Reference | LocalAnchor | LocalPage | RemoteAnchor | RemotePage) "None"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><imageExpression></span></span> <span style="font-family: 宋体;">指定图像的源位置<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><imageExpression></span></span> <span lang="EN-US"><span style="font-family: 宋体;">class</span></span> <span style="font-family: 宋体;">图像的类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">(java.lang.String | java.io.File | java.net.URL | java.io.InputStream | java.awt.Image) "java.lang.String"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><anchorNameExpression></span></span> <span style="font-family: 宋体;">锚名字(以被超级连接引用)<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><hyperlinkReferenceExpression></span></span> <span style="font-family: 宋体;">超级链接引用类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><hyperlinkAnchorExpression></span></span> <span style="font-family: 宋体;">超级连接锚类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><image></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><hyperlinkPageExpression></span></span> <span style="font-family: 宋体;">超级链接页面类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><staticText></span></span> <span style="font-family: 宋体;">静态文本元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(reportElement, textElement?, text?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><staticText></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textElement></span></span> <span style="font-family: 宋体;">文本元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(font?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textElement></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">textAlignment</span></span> <span style="font-family: 宋体;">文本水平对齐方式<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Left | Center | Right | Justified) "Left"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">verticalAlignment</span></span> <span style="font-family: 宋体;">文本垂直对齐方式<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Top | Middle | Bottom) "Top"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">rotation</span></span> <span style="font-family: 宋体;">旋转方向<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">None | Left | Right) "None"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">lineSpacing</span></span> <span lang="EN-US"><span style="font-family: 宋体;">???</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(Single | 1_1_2 | Double) "Single"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStyledText</span></span> <span lang="EN-US"><span style="font-family: 宋体;">???</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(true | false) "false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textElement></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Font></span></span> <span style="font-family: 宋体;">文本中用到的字体<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span style="font-family: 宋体;">空元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Font></span></span> <span lang="EN-US"><span style="font-family: 宋体;">reportFont</span></span> <span style="font-family: 宋体;">引用<span lang="EN-US">jasperReport中定义的字体名</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN</span></span> <span lang="EN-US"><span style="font-family: 宋体;">fontName</span></span> <span style="font-family: 宋体;">字体的名称<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA 默认为"sansserif"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">size</span></span> <span style="font-family: 宋体;">字体大小<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">NMTOKEN默认为 "10"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isBold</span></span> <span style="font-family: 宋体;">字体是否为粗体<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isItalic</span></span> <span style="font-family: 宋体;">字体是否为斜体<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isUnderline</span></span> <span style="font-family: 宋体;">字体是否加下划线<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStrikeThrough</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStrikeThrough</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pdfFontName</span></span> <span lang="EN-US"><span style="font-family: 宋体;">PDF字体名字</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA默认为Helvetica</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pdfEncoding</span></span> <span lang="EN-US"><span style="font-family: 宋体;">PDF字体编码方式</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA默认为CP1252</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isPdfEmbedded</span></span> <span lang="EN-US"><span style="font-family: 宋体;">PDF字体是否嵌入到PDF文档中</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">true 或者 false默认为"false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><staticText></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Text></span></span> <span style="font-family: 宋体;">静态文本框中的文本内容<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span style="font-family: 宋体;">动态文本框元素<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(reportElement, textElement?, textFieldExpression?, anchorNameExpression?, hyperlinkReferenceExpression?, hyperlinkAnchorExpression?, hyperlinkPageExpression?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">isStretchWithOverflow</span></span> <span style="font-family: 宋体;">是否允许拉伸<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(true | false) "false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">evaluationTime</span></span> <span style="font-family: 宋体;">字段值计算时间<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">Now | Report | Page | Column | Group) "Now"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">evaluationGroup</span></span> <span style="font-family: 宋体;">如果<span lang="EN-US">evaluationTime为Group,则此属性指定组名</span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">pattern</span></span> <span style="font-family: 宋体;">指定字段值的模式匹配<span lang="EN-US"></span></span> <span style="font-family: 宋体;">可有可无<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">CDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;">isBlankWhenNull</span></span> <span style="font-family: 宋体;">如果值为<span lang="EN-US">null,显示空白否</span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(true | false) "false"</span></span> <span lang="EN-US"><span style="font-family: 宋体;">hyperlinkType</span></span> <span style="font-family: 宋体;">超级连接类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(None | Reference | LocalAnchor | LocalPage | RemoteAnchor | RemotePage) "None"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textField></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textFieldExpression></span></span> <span style="font-family: 宋体;">字段值内容<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;"><textFieldExpression></span></span> <span lang="EN-US"><span style="font-family: 宋体;">class</span></span> <span style="font-family: 宋体;">字段值类型<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(java.lang.Boolean | java.lang.Byte | java.util.Date | java.sql.Timestamp | java.sql.Time | java.lang.Double | java.lang.Float | java.lang.Integer | java.lang.Long | java.lang.Short | java.math.BigDecimal | java.lang.Number | java.lang.String) "java.lang.String"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><band></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Subreport></span></span> <span lang="EN-US"><span style="font-family: 宋体;"> </span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">reportElement, parametersMapExpression?, subreportParameter*, (connectionExpression | dataSourceExpression)?, subreportExpression?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Subreport></span></span> <span lang="EN-US"><span style="font-family: 宋体;">isUsingCache</span></span> <span style="font-family: 宋体;">是否缓冲子报表<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(true | false) "true"</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Subreport></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><parametersMapExpression></span></span> <span style="font-family: 宋体;">子报表参数变量<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或1</span></span> <span lang="EN-US"><span style="font-family: 宋体;">#PCDATA</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><Subreport></span></span> <span lang="EN-US"><span style="font-family: 宋体;"><subreportParameter></span></span> <span style="font-family: 宋体;">子报表参数<span lang="EN-US"></span></span> <span lang="EN-US"><span style="font-family: 宋体;">0或者多次</span></span> <span lang="EN-US"><span style="font-family: 宋体;">(subreportParameterExpression?)</span></span> <span lang="EN-US"><span style="font-family: 宋体;"><subreportParameter></span></span </div> </div> </div> </div> </div> </div> <hr> <div class="index"> <div class="row"> <div class=" main" style="padding:10px"> <div class="note"> <div class="post"> <!-- cdn节点 文章评论 --> <div class="cdn_ajax_articlecomment"></div> </div> </div> </div> </div> </div> </div> <div class="col-md-7 aside"> <div class="standing" style="margin-top: 20px;"> <div class="positions bb" id="rankScroll"> <h3 class="title">Ta的文章 <a target="_blank" href="https://www.xiaopingtou.net/ut-10469.html" class="more">更多<font> >> </font></a></h3> <ul> <li class="no-video"> <a href="https://www.xiaopingtou.net/article-78349.html" title="GPU/DRM 简介" > GPU/DRM 简介</a> <div class="num-ask"> <a href="https://www.xiaopingtou.net/article-78349.html" title="GPU/DRM 简介" class="anum"> 0 个评论</a> </div> </li> <li class="no-video"> <a href="https://www.xiaopingtou.net/article-58804.html" title="JasperReport模板元素的含义" > JasperReport模板元素的含义</a> <div class="num-ask"> <a href="https://www.xiaopingtou.net/article-58804.html" title="JasperReport模板元素的含义" class="anum"> 0 个评论</a> </div> </li> </ul> </div> </div> <div class="standing"> <div class="positions bb" id="rankScroll"> <h3 class="title" style="float: none">热门文章</h3> <ul style="padding-top: 10px;"> </ul> </div> </div> </div> </div> </div> </div> <!-- 举报 --> <div class="modal fade panel-report" id="dialog_inform"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button> <h4 class="modal-title">举报内容</h4> </div> <div class="modal-body"> <form id="rp_form" class="rp_form" action="https://www.xiaopingtou.net/inform/add.html" method="post"> <input value="" type="hidden" name="qid" id="myqid"> <input value="" type="hidden" name="aid" id="myaid"> <input value="" type="hidden" name="qtitle" id="myqtitle"> <div class="js-group-type group group-2"> <h4>检举类型</h4><ul> <li class="js-report-con"> <label><input type="radio" name="group-type" value="1"><span>检举内容</span></label> </li> <li class="js-report-user"> <label><input type="radio" name="group-type" value="2"><span>检举用户</span></label> </li> </ul> </div> <div class="group group-2"> <h4>检举原因</h4><div class="list"> <ul> <li> <label class="reason-btn"><input type="radio" name="type" value="4"><span>广告推广</span></label> </li> <li> <label class="reason-btn"><input type="radio" name="type" value="5"><span>恶意灌水</span></label> </li> <li> <label class="reason-btn"><input type="radio" name="type" value="6"><span>回答内容与提问无关</span> </label> </li> <li> <label class="copy-ans-btn"><input type="radio" name="type" value="7"><span>抄袭答案</span></label> </li> <li> <label class="reason-btn"><input type="radio" name="type" value="8"><span>其他</span></label> </li> </ul> </div> </div> <div class="group group-3"> <h4>检举说明(必填)</h4> <div class="textarea"> <ul class="anslist" style="display:none;line-height:20px;overflow:auto;height:171px;"> </ul> <textarea name="content" maxlength="200" placeholder="请输入描述200个字以内"> </textarea> </div> </div> <div class="mar-t-1"> <button type="submit" id="btninform" class="btn btn-success">提交</button> <button type="button" class="btn btn-default mar-ly-1" data-dismiss="modal">关闭</button> </div> </form> </div> </div> </div> </div> <div class="modal share-wechat animated" style="display: none;"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" data-dismiss="modal" class="close">×</button></div> <div class="modal-body"><h5>打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮</h5> <div data-url="https://www.xiaopingtou.net/article-58804.html" class="qrcode" title="https://www.xiaopingtou.net/article-58804.html"><canvas width="170" height="170" style="display: none;"></canvas> <div id="qr_wxcode"> </div></div></div> <div class="modal-footer"></div></div></div></div> <script type="text/javascript" src="https://www.xiaopingtou.net/static/ckplayer/ckplayer.js" charset="utf-8"></script> <script type="text/javascript" src="https://www.xiaopingtou.net/static/ckplayer/video.js" charset="utf-8"></script> <script> getarticlecaozuo(1,58804); getarticlecaozuo(2,58804); getarticlecaozuo(3,58804); getarticlecaozuo(4,58804); getarticlecaozuo(5,58804); $(".work-show-box").find("img").each(function(){ var imgurl=$(this).attr("data-original"); $(this).attr("src",imgurl); }) $(".work-show-box").find("img").attr("data-toggle","lightbox"); $(".getcommentlist").each(function(){ var _id=$(this).attr("dataid"); var _tid=$(this).attr("datatid"); $("#articlecommentlist"+_id).toggleClass("hide"); var flag=$("#articlecommentlist"+_id).attr("dataflag"); if(flag==1){ flag=0; }else{ flag=1; //加载评论 loadarticlecommentlist(_id,_tid); } $("#articlecommentlist"+_id).attr("dataflag",flag); }) function showeditor(){ scrollTo(0,$('#comment-list').offset().top-100); $(".comment-area").focus(); } //投诉 function openinform(qid ,qtitle,aid) { $("#myqid").val(qid); $("#myqtitle").val(qtitle); $("#myaid").val(aid); $('#dialog_inform').modal('show'); } function deletewenzhang(current_aid){ window.location.href=g_site_url + "index.php" + query + "topic/deletearticlecomment/"+current_aid+"/58804"; } $(function(){ $(".edui-upload-video").attr("preload",""); //微信二维码生成 $('#qr_wxcode').qrcode("https://www.xiaopingtou.net/article-58804.html"); //显示微信二维码 $(".share-weixin").click(function(){ $(".share-wechat").show(); }); //关闭微信二维码 $(".close").click(function(){ $(".share-wechat").hide(); }) }) </script> <script src="https://www.xiaopingtou.net/static/js/jquery.lazyload.min.js"></script> <script> $("img.lazy").lazyload({effect: "fadeIn" }); </script> <div class="side-tool" id="to_top"><ul><li data-placement="left" data-toggle="tooltip" data-container="body" data-original-title="回到顶部" > <a href="#" class="function-button"><i class="fa fa-angle-up"></i></a> </li> </ul></div> <script> window.onload = function(){ $("img").each(function(){ $(this).attr("src",$(this).attr("src")+'?t='+(+new Date())); }); $(".edui-upload-video").attr("preload",""); var oTop = document.getElementById("to_top"); var screenw = document.documentElement.clientWidth || document.body.clientWidth; var screenh = document.documentElement.clientHeight || document.body.clientHeight; window.onscroll = function(){ var scrolltop = document.documentElement.scrollTop || document.body.scrollTop; if(scrolltop<=screenh){ oTop.style.display="none"; }else{ oTop.style.display="block"; } if(scrolltop>30){ $(".scrollshow").show(); }else{ $(".scrollshow").hide(); } } oTop.onclick = function(){ document.documentElement.scrollTop = document.body.scrollTop =0; } } </script> <footer id="footer"> <div class="copyrigth-wrap small"> <div class="content copyrigth"> Copyright © 2025 平头弟 <a href="https://beian.miit.gov.cn/" target="blank">京ICP备15032243号-1</a> <a > </a> 投诉举报邮箱:nettui@qq.com </div> </div> </footer> </body> </html>