From 57025fa255f992d047746b70e2b7c13de47c7433 Mon Sep 17 00:00:00 2001
From: Phillipus
Date: Mon, 13 Jan 2025 11:44:36 +0000
Subject: [PATCH] [Jasper Reports] Use textAdjust instead of
isStretchWithOverflow
- isStretchWithOverflow is deprecated since version 6.11.0
- And re-enable logging in JasperReportsExporter
---
.../Customizable Report/diagram_object.jrxml | 4 ++--
.../reports/Customizable Report/elements.jrxml | 16 ++++++++--------
.../reports/Customizable Report/main.jrxml | 8 ++++----
.../reports/Customizable Report/view.jrxml | 8 ++++----
.../jasperreports/JasperReportsExporter.java | 2 +-
5 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/com.archimatetool.jasperreports/reports/Customizable Report/diagram_object.jrxml b/com.archimatetool.jasperreports/reports/Customizable Report/diagram_object.jrxml
index 895b9c09f..7c6a3026c 100644
--- a/com.archimatetool.jasperreports/reports/Customizable Report/diagram_object.jrxml
+++ b/com.archimatetool.jasperreports/reports/Customizable Report/diagram_object.jrxml
@@ -37,12 +37,12 @@
-
+
-
+
diff --git a/com.archimatetool.jasperreports/reports/Customizable Report/elements.jrxml b/com.archimatetool.jasperreports/reports/Customizable Report/elements.jrxml
index b280e4d9c..02819a257 100644
--- a/com.archimatetool.jasperreports/reports/Customizable Report/elements.jrxml
+++ b/com.archimatetool.jasperreports/reports/Customizable Report/elements.jrxml
@@ -33,7 +33,7 @@
-
+
@@ -55,12 +55,12 @@
-
+
-
+
@@ -85,12 +85,12 @@
-
+
-
+
@@ -108,12 +108,12 @@
-
+
-
+
@@ -124,7 +124,7 @@
-
+
diff --git a/com.archimatetool.jasperreports/reports/Customizable Report/main.jrxml b/com.archimatetool.jasperreports/reports/Customizable Report/main.jrxml
index b5f7843e3..9b50f3345 100644
--- a/com.archimatetool.jasperreports/reports/Customizable Report/main.jrxml
+++ b/com.archimatetool.jasperreports/reports/Customizable Report/main.jrxml
@@ -105,7 +105,7 @@
-
+
@@ -191,7 +191,7 @@
-
+
@@ -219,13 +219,13 @@
-
+
-
+
diff --git a/com.archimatetool.jasperreports/reports/Customizable Report/view.jrxml b/com.archimatetool.jasperreports/reports/Customizable Report/view.jrxml
index c57661f82..e9b378191 100644
--- a/com.archimatetool.jasperreports/reports/Customizable Report/view.jrxml
+++ b/com.archimatetool.jasperreports/reports/Customizable Report/view.jrxml
@@ -82,7 +82,7 @@
-
+
@@ -123,7 +123,7 @@
-
+
@@ -152,14 +152,14 @@
-
+
-
+
diff --git a/com.archimatetool.jasperreports/src/com/archimatetool/jasperreports/JasperReportsExporter.java b/com.archimatetool.jasperreports/src/com/archimatetool/jasperreports/JasperReportsExporter.java
index 62d6bfb7e..6264aa49d 100644
--- a/com.archimatetool.jasperreports/src/com/archimatetool/jasperreports/JasperReportsExporter.java
+++ b/com.archimatetool.jasperreports/src/com/archimatetool/jasperreports/JasperReportsExporter.java
@@ -99,7 +99,7 @@ public JasperReportsExporter(IArchimateModel model, File exportFolder, String ex
fLocale = locale == null ? Locale.getDefault() : locale;
// Stop logging
- System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.NoOpLog"); //$NON-NLS-1$//$NON-NLS-2$
+ // System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.NoOpLog"); //$NON-NLS-1$//$NON-NLS-2$
}
/**