generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d4321b
commit 17bd60e
Showing
7 changed files
with
586 additions
and
31 deletions.
There are no files selected for viewing
Binary file added
BIN
+47.6 KB
src/main/resources/certificates/images/jedyni_participant/all_logo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
185 changes: 185 additions & 0 deletions
185
.../resources/certificates/templates/jedyni_basic_participant_template_old2_2024-02-07.jrxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Created with Jaspersoft Studio version 6.19.1.final using JasperReports Library version 6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c --> | ||
<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="Certificate_template_1" pageWidth="1123" pageHeight="794" columnWidth="1103" | ||
leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenResourceMissingType="Empty" uuid="89117ad6-3c84-4403-a7cf-a658d34ec888"> | ||
|
||
<style name="Default" isDefault="true" pdfFontName="/certificates/fonts/Halvar Breitschrift Medium.ttf" fontSize="24" pdfEncoding="Cp1251" isPdfEmbedded="true"/> | ||
|
||
<field name="userName" class="java.lang.String"/> | ||
<field name="issuanceDate" class="java.lang.String"/> | ||
<field name="qrCode" class="java.io.ByteArrayInputStream"/> | ||
<!-- SERIAL NUMBER --> | ||
<field name="serialNumber" class="java.lang.Long"/> | ||
<!-- SERIAL NUMBER DONE --> | ||
<field name="studyDuration" class="java.lang.String"/> | ||
<field name="studyHours" class="java.lang.String"/> | ||
<field name="studyForm" class="java.lang.String"/> | ||
<field name="credits" class="java.lang.String"/> | ||
|
||
<background> | ||
<band splitType="Stretch"/> | ||
</background> | ||
<title> | ||
<band splitType="Stretch"/> | ||
</title> | ||
<pageHeader> | ||
<band splitType="Stretch"/> | ||
</pageHeader> | ||
<columnHeader> | ||
<band splitType="Stretch"/> | ||
</columnHeader> | ||
<detail> | ||
<band height="794" splitType="Stretch"> | ||
<image> | ||
<reportElement x="0" y="0" width="300" height="794" uuid="31e6f512-28d1-47a5-9dad-21a3fa70adaf"/> | ||
<imageExpression><![CDATA[com.softserve.teachua.utils.CertificateContentDecorator.getRealPathToImage("jedyni_participant/course_gramatic_4.png")]]></imageExpression> | ||
</image> | ||
<staticText> | ||
<reportElement x="325" y="75" width="670" height="70" forecolor="#2572da" uuid="b5113369-3677-4e88-b9d9-e27152fda9ee"/> | ||
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none"> | ||
<font size="50"/> | ||
</textElement> | ||
<text>Сертифікат</text> | ||
</staticText> | ||
<textField> | ||
<reportElement x="325" y="153" width="670" height="35" uuid="40bfc687-bc05-457c-9c6d-45d7b78a082f"/> | ||
<textElement textAlignment="Center"> | ||
<font size="22"/> | ||
</textElement> | ||
<textFieldExpression>"№"+<![CDATA[$F{serialNumber}]]></textFieldExpression> | ||
</textField> | ||
<staticText> | ||
<reportElement x="325" y="200" width="670" height="35" uuid="40bfc687-bc05-457c-9c6d-45d7b78a082f"/> | ||
<textElement textAlignment="Center"> | ||
<font size="22"/> | ||
</textElement> | ||
<text>підтверджує, що</text> | ||
</staticText> | ||
<textField> | ||
<reportElement x="330" y="265" width="670" height="35" uuid="67df464f-36c7-4834-983f-dc6a00170e6e"/> | ||
|
||
<textElement textAlignment="Center"> | ||
<font pdfFontName="/certificates/fonts/Halvar Breitschrift Black.ttf" size="24" pdfEncoding="cp1251" isPdfEmbedded="true"/> | ||
</textElement> | ||
<textFieldExpression><![CDATA[$F{userName}]]></textFieldExpression> | ||
</textField> | ||
<line> | ||
<reportElement x="290" y="295" width="740" height="1" forecolor="#E6E227" uuid="7a11bd36-f0ef-433d-b1be-3064b9bb690b"/> | ||
</line> | ||
<staticText> | ||
<reportElement x="320" y="305" width="670" height="60" uuid="94d5fdfa-9439-4090-b1c5-312832d23b36"/> | ||
<textElement textAlignment="Center"> | ||
<font size="21"/> | ||
</textElement> | ||
<text>брав(-ла) участь у проєкті «Єдині» та успішно</text> | ||
</staticText> | ||
<staticText> | ||
<reportElement x="315" y="330" width="680" height="70" uuid="94d5fdfa-9439-4090-b1c5-312832d23b36"/> | ||
<textElement textAlignment="Center"> | ||
<font size="21"/> | ||
</textElement> | ||
<text>закінчив(-ла) граматичний курс української мови.</text> | ||
</staticText> | ||
<textField> | ||
<reportElement x="290" y="388" width="680" height="70" uuid="cc8ec782-950d-4f13-ba7c-cadf15587a3e"/> | ||
<textElement> | ||
<font size="21"/> | ||
</textElement> | ||
<textFieldExpression>"Форма навчання - " + <![CDATA[$F{studyForm}]]> + ".\nТривалість - " + <![CDATA[$F{studyHours}]]> + " академічних годин ("+ <![CDATA[$F{credits}]]> +" кредити ECTS)."</textFieldExpression> | ||
</textField> | ||
<textField> | ||
<reportElement x="290" y="468" width="680" height="120" uuid="8d5ebb5d-34ad-40d2-a66f-8046c287bdcf"/> | ||
<textElement> | ||
<font size="15"/> | ||
</textElement> | ||
<!-- | ||
<textFieldExpression>"Проєкт реалізований у період "+<![CDATA[$F{studyDuration}]]> + " \nініціативою \"Навчай українською\",\nдо якої належить \"Українська гуманітарна платформа\"."</textFieldExpression> | ||
--> | ||
<textFieldExpression>"Проєкт реалізовано ініціативою «Навчай українською»,\nдо якої належить «Українська гуманітарна платформа»,\nза підтримки ІСАР Єднання у межах проєкту\n«Ініціатива секторальної підтримки громадянського суспільства»."</textFieldExpression> | ||
</textField> | ||
<staticText> | ||
<reportElement x="290" y="568" width="300" height="35" uuid="cb540382-6575-4a56-928c-d44f2058a024"/> | ||
<textElement> | ||
<font pdfFontName="/certificates/fonts/Halvar Breitschrift Bold.ttf" size="24" pdfEncoding="cp1251" isPdfEmbedded="true"/> | ||
</textElement> | ||
<text>Наталка Федечко</text> | ||
</staticText> | ||
<staticText> | ||
<reportElement x="290" y="603" width="500" height="40" uuid="4ca20b19-60d9-4563-8866-5e12cbdd9c0b"/> | ||
<textElement> | ||
<font size="15"/> | ||
</textElement> | ||
<text>голова громадської організації</text> | ||
</staticText> | ||
<staticText> | ||
<reportElement x="290" y="623" width="500" height="40" uuid="4ca20b19-60d9-4563-8866-5e12cbdd9c0b"/> | ||
<textElement> | ||
<font size="15"/> | ||
</textElement> | ||
<text>«Українська гуманітарна платформа»</text> | ||
</staticText> | ||
|
||
<image> | ||
<reportElement x="200" y="730" width="900" height="40" uuid="f3471345-6bca-4706-a2a4-efd645e19729"/> | ||
<imageExpression><![CDATA[com.softserve.teachua.utils.CertificateContentDecorator.getRealPathToImage("jedyni_participant/all_logo.png")]]></imageExpression> | ||
</image> | ||
|
||
<!-- | ||
<image> | ||
<reportElement x="410" y="690" width="150" height="70" uuid="f3471345-6bca-4706-a2a4-efd645e19729"/> | ||
<imageExpression><![CDATA[com.softserve.teachua.utils.CertificateContentDecorator.getRealPathToImage("jedyni_participant/wnis.png")]]></imageExpression> | ||
</image> | ||
<image> | ||
<reportElement x="590" y="690" width="140" height="90" uuid="f3471345-6bca-4706-a2a4-efd645e19729"/> | ||
<imageExpression><![CDATA[com.softserve.teachua.utils.CertificateContentDecorator.getRealPathToImage("jedyni_participant/uhp.png")]]></imageExpression> | ||
</image> | ||
<image> | ||
<reportElement x="750" y="690" width="180" height="90" uuid="f3471345-6bca-4706-a2a4-efd645e19729"/> | ||
<imageExpression><![CDATA[com.softserve.teachua.utils.CertificateContentDecorator.getRealPathToImage("jedyni_participant/logo.jpg")]]></imageExpression> | ||
</image> | ||
--> | ||
|
||
<image> | ||
<reportElement x="890" y="510" width="200" height="200" uuid="25ba7107-8c96-49d8-a127-46b6547b8d8c"/> | ||
<imageExpression><![CDATA[com.softserve.teachua.utils.CertificateContentDecorator.getRealPathToImage("jedyni_participant/stamp.jpg")]]></imageExpression> | ||
</image> | ||
<staticText> | ||
<reportElement x="925" y="10" width="78" height="35" uuid="afa193c3-e74f-4b54-90f3-c2ca75ec401d"/> | ||
<textElement> | ||
<font size="14" isBold="false"/> | ||
</textElement> | ||
<text>Виданий</text> | ||
</staticText> | ||
<textField> | ||
<reportElement x="1003" y="10" width="100" height="35" uuid="81313113-97ec-4c10-84d9-185edd021fca"/> | ||
<textElement textAlignment="Right"> | ||
<font size="14" isBold="false"/> | ||
</textElement> | ||
<textFieldExpression><![CDATA[$F{issuanceDate}]]></textFieldExpression> | ||
</textField> | ||
<staticText> | ||
<reportElement x="913" y="25" width="190" height="35" uuid="450dfb92-c02e-46b1-a552-93517e4668c0"/> | ||
<textElement textAlignment="Right"> | ||
<font size="14" isBold="false"/> | ||
</textElement> | ||
<text>speak-ukrainian.org.ua</text> | ||
</staticText> | ||
<image> | ||
<reportElement x="947" y="35" width="150" height="150" uuid="f3471345-6bca-4706-a2a4-efd645e19729"/> | ||
<imageExpression><![CDATA[$F{qrCode}]]></imageExpression> | ||
</image> | ||
</band> | ||
</detail> | ||
<columnFooter> | ||
<band height="0" splitType="Stretch"/> | ||
</columnFooter> | ||
<pageFooter> | ||
<band splitType="Stretch"/> | ||
</pageFooter> | ||
<summary> | ||
<band height="0" splitType="Stretch"/> | ||
</summary> | ||
</jasperReport> |
Oops, something went wrong.