4f475e9e36
添加Qwen3-4B嵌入模型配置文件及权重文件 添加多个JRXML报告的数据查询和字段定义文件 添加PdfEncryptReport.jrxml示例报告文件
82 lines
6.1 KiB
Plaintext
82 lines
6.1 KiB
Plaintext
<jasperReport name="TocPart" language="java" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="0" bottomMargin="0" uuid="47d0342f-7687-4167-8741-854ed01cfed5">
|
|
<style name="Sans_Normal" default="true" fontName="DejaVu Sans" fontSize="12.0" bold="false" italic="false" underline="false" strikeThrough="false"/>
|
|
<style name="Sans_Bold" fontName="DejaVu Sans" fontSize="12.0" bold="true" italic="false" underline="false" strikeThrough="false"/>
|
|
<style name="Sans_Italic" fontName="DejaVu Sans" fontSize="12.0" bold="false" italic="true" underline="false" strikeThrough="false"/>
|
|
<parameter name="ReportTitle" class="java.lang.String"/>
|
|
<field name="level" class="java.lang.Integer"/>
|
|
<field name="label" class="java.lang.String"/>
|
|
<field name="pageIndex" class="java.lang.Integer"/>
|
|
<title height="200" splitType="Stretch">
|
|
<element kind="line" uuid="300c799d-e09f-44f7-8be8-5422c73f87a7" x="0" y="0" width="555" height="1">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</element>
|
|
<element kind="textField" uuid="00a87b84-1ab0-4558-9780-c6bf32fb8889" x="50" y="10" width="455" height="60" fontSize="22.0" blankWhenNull="true" hTextAlign="Center" vTextAlign="Bottom" style="Sans_Normal">
|
|
<expression><![CDATA[$P{ReportTitle}]]></expression>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</element>
|
|
<element kind="staticText" uuid="b8d09c84-640c-4033-9e32-272a25d00715" positionType="Float" x="50" y="100" width="455" height="60" removeLineWhenBlank="true" hTextAlign="Justified">
|
|
<text><![CDATA[Here is a simple example that shows how to create a table of contents for your report, using JasperReports parts and bookmarked elements in the report.]]></text>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</element>
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</title>
|
|
<pageHeader height="40" splitType="Stretch">
|
|
<element kind="staticText" uuid="2d14bb6a-c6a1-448e-83df-d3ea629a9d32" positionType="Float" x="50" y="10" width="455" height="20" fontSize="16.0" removeLineWhenBlank="true" hTextAlign="Center" style="Sans_Normal">
|
|
<text><![CDATA[Table of Contents]]></text>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</element>
|
|
</pageHeader>
|
|
<detail>
|
|
<band height="32" splitType="Stretch">
|
|
<element kind="textField" uuid="db8b68c6-4430-4199-8967-3ab5c077cb56" positionType="Float" x="50" y="0" width="100" height="15" textAdjust="StretchHeight" linkType="LocalAnchor" removeLineWhenBlank="true" style="Sans_Bold">
|
|
<printWhenExpression><![CDATA[$F{level} == 1]]></printWhenExpression>
|
|
<expression><![CDATA[$F{label}]]></expression>
|
|
<hyperlinkAnchorExpression><![CDATA[$F{label}]]></hyperlinkAnchorExpression>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
</element>
|
|
<element kind="staticText" uuid="c1b5050c-266f-4e13-a402-a15b50548116" positionType="Float" x="150" y="0" width="325" height="15" removeLineWhenBlank="true" hTextAlign="Center" style="Sans_Bold">
|
|
<printWhenExpression><![CDATA[$F{level} == 1]]></printWhenExpression>
|
|
<text><![CDATA[___________________________________________________]]></text>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</element>
|
|
<element kind="textField" uuid="012b7361-f06b-4539-b299-5a3f0bcbb7b5" positionType="Float" x="475" y="0" width="30" height="15" textAdjust="StretchHeight" evaluationTime="Auto" linkType="LocalAnchor" removeLineWhenBlank="true" hTextAlign="Right" style="Sans_Bold">
|
|
<printWhenExpression><![CDATA[$F{level} == 1]]></printWhenExpression>
|
|
<expression><![CDATA[$V{PAGE_NUMBER} + $F{pageIndex} + 1]]></expression>
|
|
<hyperlinkAnchorExpression><![CDATA[$F{label}]]></hyperlinkAnchorExpression>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
</element>
|
|
<element kind="textField" uuid="effe6dfe-dbc8-4451-bf44-a96565a20564" positionType="Float" x="75" y="16" width="100" height="15" textAdjust="StretchHeight" linkType="LocalAnchor" removeLineWhenBlank="true">
|
|
<printWhenExpression><![CDATA[$F{level} == 2]]></printWhenExpression>
|
|
<expression><![CDATA[$F{label}]]></expression>
|
|
<hyperlinkAnchorExpression><![CDATA[$F{label}]]></hyperlinkAnchorExpression>
|
|
<hyperlinkTooltipExpression><![CDATA["View orders from " + $F{label}]]></hyperlinkTooltipExpression>
|
|
</element>
|
|
<element kind="staticText" uuid="c6cf49ba-d7d0-42fa-9b2c-36ba110e91f4" positionType="Float" x="175" y="16" width="260" height="15" removeLineWhenBlank="true" hTextAlign="Center">
|
|
<printWhenExpression><![CDATA[$F{level} == 2]]></printWhenExpression>
|
|
<text><![CDATA[. . . . . . . . . . . . . . . . . . .]]></text>
|
|
</element>
|
|
<element kind="textField" uuid="3c835858-cc27-41b1-b820-94b8d9ec0acf" positionType="Float" x="435" y="16" width="30" height="15" textAdjust="StretchHeight" evaluationTime="Auto" linkType="LocalAnchor" removeLineWhenBlank="true" hTextAlign="Right">
|
|
<printWhenExpression><![CDATA[$F{level} == 2]]></printWhenExpression>
|
|
<expression><![CDATA[$V{PAGE_NUMBER} + $F{pageIndex} + 1]]></expression>
|
|
<hyperlinkAnchorExpression><![CDATA[$F{label}]]></hyperlinkAnchorExpression>
|
|
</element>
|
|
</band>
|
|
</detail>
|
|
</jasperReport>
|