From 4cb07478e906a5103980b9110b49a477cf7a5f0b Mon Sep 17 00:00:00 2001 From: "Oliver.Warz@pdv.de" Date: Sun, 1 May 2022 13:01:05 +0200 Subject: [PATCH] 0.9.5 --- .github/dependabot.yml | 2 +- CHANGELOG | 13 ++++-- pom.xml | 51 ++++++++++++--------- src/main/webapp/index.jsp | 93 ++++++++++++++++++++++++--------------- 4 files changed, 99 insertions(+), 60 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4eeafeb..5b06320 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: "" # See documentation for possible values + - package-ecosystem: "maven" # See documentation for possible values directory: "/" # Location of package manifests schedule: interval: "daily" diff --git a/CHANGELOG b/CHANGELOG index 579bdda..05f7edf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.9.5] - 2022-05-01 +### Changed +- uptake fontbox 2.0.26 +- uptake pdfbox 2.0.26 +- uptake dependency-check-maven 7.1.0 + +## [0.9.4] - 2022-04-28 +### Added +- picocss 1.5 + ## [0.9.3] - 2022-04-04 ### Changed - uptake javamelody 1.91.0 @@ -25,6 +35,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - initial version - apache fop 2.6 -[Unreleased]: http://gitlab.pdv.lan/oliver1/fop4apex/compare/0.9.3...master -[0.9.3]: http://gitlab.pdv.lan/oliver1/fop4apex/compare/0.9.2...0.9.3 -[0.9.2]: hhttp://gitlab.pdv.lan/oliver1/fop4apex/-/tags/0.9.2 diff --git a/pom.xml b/pom.xml index c85a3b2..cde5321 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.pdv.apex fop4apex - 0.9.3 + 0.9.5 fop4apex war https://www.pdv.de @@ -41,7 +41,7 @@ org.apache.pdfbox pdfbox - 2.0.25 + 2.0.26 test @@ -61,12 +61,19 @@ compile + + + org.webjars.bowergithub.picocss + pico + 1.5.0 + + org.apache.pdfbox fontbox - 2.0.25 + 2.0.26 compile @@ -88,15 +95,17 @@ + org.apache.maven.plugins maven-war-plugin 3.3.2 + org.owasp dependency-check-maven - 7.0.4 + 7.1.0 @@ -105,29 +114,31 @@ + org.apache.maven.plugins maven-surefire-plugin 3.0.0-M6 + diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 6274d83..d570e6c 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,47 +1,55 @@ -<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> - - + + + + + + Apache FOP for Oracle APEX - -

JSP - Apache FOP (Formatting Objects Processor) integration for Oracle APEX

-
-<%--suppress HtmlUnknownTarget --%> -pdf Servlet / Hello World / fo2pdf
-<%--suppress HtmlUnknownTarget --%> -JavaMelody Monitoring -

Sample APEX Settings

- +
+
+

Apache FOP integration for Oracle APEX

+

FOP = Formatting Objects Processor

+
+ + + + <%--suppress HtmlUnknownTarget --%> + +
+

Sample APEX Settings

+

Internal Workspace / Instance Settings / Report Printing

+
+
- - + + - + - + - + - + - + @@ -50,19 +58,32 @@
ParameterValueParameterValue
PrintServerPrintServer External (Apache FOP)
ProtocolProtocol HTTP / HTTPS
HostHost 127.0.0.1
PortPort 8080
ScriptScript ${pageContext.request.contextPath}/pdf
-

Debugging

- -# Add to logging.properties
-org.apache.tomcat.util.http.Parameters.level = ALL
-de.pdv.apex.level = ALL -
+
+

Debugging

+

Add to tomcat conf/logging.properties

+
+
org.apache.tomcat.util.http.Parameters.level = ALL
+de.pdv.apex.level = ALL
- -

Server Info

-Server Version: <%= application.getServerInfo() %>
-Servlet Version: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %>
-JSP Version: <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %>
-Web Application Context Path = ${pageContext.request.contextPath}
-
+

Server Info / Environment

+<%--@elvariable id="System" type=""--%> +
+Server Version:   <%= application.getServerInfo() %>
+Servlet Version:  <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %>
+JSP Version:      <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %>
+Context Path:     ${pageContext.request.contextPath}
+
+java.version:     ${System.getProperty("java.version")}
+java.vm.vendor:   ${System.getProperty("java.vm.vendor")}
+user.country:     ${System.getProperty("user.country")}
+user.language:    ${System.getProperty("user.language")}
+user.name:        ${System.getProperty("user.name")}
+user.timezone:    ${System.getProperty("user.timezone")}
+os.name:          ${System.getProperty("os.name")}
+os.version:       ${System.getProperty("os.version")}
+file.encoding:    ${System.getProperty("file.encoding")}
+sun.jnu.encoding: ${System.getProperty("sun.jnu.encoding")}
+

page build with Pico.css, fop conversion with Apache FOP

+ \ No newline at end of file