Skip to content

Commit

Permalink
Add test for missing canoeing layer with jdk 17.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebr72 committed Jul 19, 2023
1 parent 6116db0 commit 6743621
Show file tree
Hide file tree
Showing 276 changed files with 20,483 additions and 0 deletions.
132 changes: 132 additions & 0 deletions examples/src/test/resources/examples/templatesv3/A4_Landscape.jrxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1 -->
<!-- 2017-05-08T10:59:01 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="803" leftMargin="39" rightMargin="0" topMargin="17" bottomMargin="0" uuid="9a3e59f5-6675-48cf-ad74-9c42b5a5b290">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit." value="mm"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="mm"/>
<property name="com.jaspersoft.studio.unit.pageWidth" value="mm"/>
<property name="com.jaspersoft.studio.unit.topMargin" value="mm"/>
<property name="com.jaspersoft.studio.unit.bottomMargin" value="mm"/>
<property name="com.jaspersoft.studio.unit.leftMargin" value="mm"/>
<property name="com.jaspersoft.studio.unit.rightMargin" value="mm"/>
<property name="com.jaspersoft.studio.unit.columnWidth" value="mm"/>
<property name="com.jaspersoft.studio.unit.columnSpacing" value="mm"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="mapSubReport" class="java.lang.String"/>
<parameter name="mapContext" class="org.mapfish.print.attribute.map.MapfishMapContext"/>
<parameter name="scalebarSubReport" class="java.lang.String"/>
<parameter name="scale" class="java.lang.String"/>
<parameter name="title" class="java.lang.String"/>
<parameter name="partners" class="java.lang.String"/>
<parameter name="language" class="java.lang.String"/>
<parameter name="header" class="java.lang.String"/>
<pageHeader>
<band height="39">
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
<subreport>
<reportElement key="" x="0" y="0" width="516" height="25" uuid="808330b1-98c2-4706-889f-70377f6e5288">
<property name="com.jaspersoft.studio.unit.width" value="mm"/>
</reportElement>
<subreportParameter name="title">
<subreportParameterExpression><![CDATA[$P{title}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="language">
<subreportParameterExpression><![CDATA[$P{language}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression><![CDATA["de_A4_L_Header" + $P{header} + ".jasper"]]></subreportExpression>
</subreport>
</band>
</pageHeader>
<detail>
<band height="482">
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
<subreport>
<reportElement x="0" y="0" width="762" height="481" uuid="fa145068-76a5-4834-98ed-ce65b1976b3d">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
</reportElement>
<subreportExpression><![CDATA[$P{mapSubReport}]]></subreportExpression>
</subreport>
<subreport overflowType="NoStretch">
<reportElement mode="Transparent" x="768" y="99" width="35" height="60" uuid="d7192319-6cda-4c4e-a7df-d66e1b56140d">
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
</reportElement>
<subreportExpression><![CDATA[$P{scalebarSubReport}]]></subreportExpression>
</subreport>
<staticText>
<reportElement x="768" y="0" width="11" height="134" forecolor="#4D4D4D" uuid="ab208524-8a7c-4bcc-b9fd-3c53ffe42869"/>
<textElement textAlignment="Right" rotation="Left">
<font fontName="DejaVu Sans" size="7"/>
</textElement>
<text><![CDATA[Geodaten © swisstopo]]></text>
</staticText>
<line>
<reportElement x="767" y="88" width="10" height="1" forecolor="#4D4D4D" uuid="eb02ae0b-738d-4fa9-8378-68e9279758bf">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
</reportElement>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="767" y="164" width="10" height="1" forecolor="#4D4D4D" uuid="73fa381d-9d32-4c9b-ba65-c7226f42f688">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
</reportElement>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<textField isStretchWithOverflow="true">
<reportElement x="768" y="176" width="11" height="150" forecolor="#4D4D4D" backcolor="#FFFFFF" uuid="d8ed3c1c-8e90-44ce-a6d0-7fede1486d28">
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="mm"/>
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
</reportElement>
<box>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="0.0" lineStyle="Solid"/>
<bottomPen lineWidth="0.0" lineStyle="Solid"/>
<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right" rotation="Left">
<font fontName="DejaVu Sans" size="7"/>
</textElement>
<textFieldExpression><![CDATA[String.format("%1$s 1:%2$,.0f", $P{scale}, $P{mapContext}.getRoundedScaleDenominator()).replace(",","\'")]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="57">
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
<subreport>
<reportElement x="0" y="9" width="762" height="45" uuid="f952f5af-ddcc-46ad-b297-0e385714b598">
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
<property name="com.jaspersoft.studio.unit.width" value="mm"/>
<printWhenExpression><![CDATA[!($P{header}.contentEquals("_slowUp"))]]></printWhenExpression>
</reportElement>
<subreportParameter name="partners">
<subreportParameterExpression><![CDATA[$P{partners}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="language">
<subreportParameterExpression><![CDATA[$P{language}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression><![CDATA["de_A4_L_Footer.jasper"]]></subreportExpression>
</subreport>
</band>
</pageFooter>
</jasperReport>
120 changes: 120 additions & 0 deletions examples/src/test/resources/examples/templatesv3/A4_Portrait.jrxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1 -->
<!-- 2017-05-08T10:54:58 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report" pageWidth="595" pageHeight="842" columnWidth="556" leftMargin="39" rightMargin="0" topMargin="17" bottomMargin="0" uuid="9a3e59f5-6675-48cf-ad74-9c42b5a5b290">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit." value="mm"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="mapSubReport" class="java.lang.String"/>
<parameter name="mapContext" class="org.mapfish.print.attribute.map.MapfishMapContext"/>
<parameter name="scalebarSubReport" class="java.lang.String"/>
<parameter name="scale" class="java.lang.String"/>
<parameter name="title" class="java.lang.String"/>
<parameter name="partners" class="java.lang.String"/>
<parameter name="language" class="java.lang.String"/>
<parameter name="header" class="java.lang.String"/>
<pageHeader>
<band height="39">
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
<subreport>
<reportElement key="" x="0" y="0" width="516" height="25" uuid="808330b1-98c2-4706-889f-70377f6e5288"/>
<subreportParameter name="title">
<subreportParameterExpression><![CDATA[$P{title}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="language">
<subreportParameterExpression><![CDATA[$P{language}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression><![CDATA["de_A4_L_Header" + $P{header} + ".jasper"]]></subreportExpression>
</subreport>
</band>
</pageHeader>
<detail>
<band height="728">
<subreport>
<reportElement x="0" y="0" width="516" height="728" uuid="fa145068-76a5-4834-98ed-ce65b1976b3d">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
</reportElement>
<subreportExpression><![CDATA[$P{mapSubReport}]]></subreportExpression>
</subreport>
<subreport overflowType="NoStretch">
<reportElement mode="Transparent" x="522" y="97" width="35" height="60" uuid="d7192319-6cda-4c4e-a7df-d66e1b56140d">
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
</reportElement>
<subreportExpression><![CDATA[$P{scalebarSubReport}]]></subreportExpression>
</subreport>
<staticText>
<reportElement x="522" y="0" width="11" height="134" forecolor="#4D4D4D" uuid="ab208524-8a7c-4bcc-b9fd-3c53ffe42869">
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
</reportElement>
<textElement textAlignment="Right" rotation="Left">
<font fontName="DejaVu Sans" size="7"/>
</textElement>
<text><![CDATA[Geodaten © swisstopo]]></text>
</staticText>
<line>
<reportElement x="522" y="88" width="10" height="1" forecolor="#4D4D4D" uuid="eb02ae0b-738d-4fa9-8378-68e9279758bf">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
</reportElement>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="522" y="164" width="10" height="1" forecolor="#4D4D4D" uuid="73fa381d-9d32-4c9b-ba65-c7226f42f688">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
</reportElement>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<textField isStretchWithOverflow="true">
<reportElement x="522" y="176" width="11" height="150" forecolor="#4D4D4D" backcolor="#FFFFFF" uuid="d8ed3c1c-8e90-44ce-a6d0-7fede1486d28">
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="mm"/>
</reportElement>
<box>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="0.0" lineStyle="Solid"/>
<bottomPen lineWidth="0.0" lineStyle="Solid"/>
<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right" rotation="Left">
<font fontName="DejaVu Sans" size="7"/>
</textElement>
<textFieldExpression><![CDATA[String.format("%1$s 1:%2$,.0f", $P{scale}, $P{mapContext}.getRoundedScaleDenominator()).replace(",","\'")]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="57">
<property name="com.jaspersoft.studio.unit.height" value="mm"/>
<subreport>
<reportElement x="0" y="9" width="516" height="45" uuid="f952f5af-ddcc-46ad-b297-0e385714b598">
<property name="com.jaspersoft.studio.unit.x" value="mm"/>
<property name="com.jaspersoft.studio.unit.y" value="mm"/>
<property name="com.jaspersoft.studio.unit.width" value="mm"/>
<printWhenExpression><![CDATA[!($P{header}.contentEquals("_slowUp"))]]></printWhenExpression>
</reportElement>
<subreportParameter name="partners">
<subreportParameterExpression><![CDATA[$P{partners}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="language">
<subreportParameterExpression><![CDATA[$P{language}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression><![CDATA["de_A4_P_Footer.jasper"]]></subreportExpression>
</subreport>
</band>
</pageFooter>
</jasperReport>
Loading

0 comments on commit 6743621

Please sign in to comment.