Upgrade to OpenPDF 1.2.12

This commit is contained in:
Juergen Hoeller 2019-03-30 00:13:29 +01:00
parent 462d047f72
commit 3ba0a79a57
2 changed files with 4 additions and 5 deletions

View File

@ -23,7 +23,7 @@ dependencies {
optional("javax.xml.bind:jaxb-api:2.3.1")
optional("org.webjars:webjars-locator-core:0.37")
optional("com.rometools:rome:1.12.0")
optional("com.github.librepdf:openpdf:1.2.10")
optional("com.github.librepdf:openpdf:1.2.12")
optional("org.apache.poi:poi-ooxml:4.0.1")
optional("org.freemarker:freemarker:${freemarkerVersion}")
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")

View File

@ -798,9 +798,8 @@ When developing with JSPs, you can declare a `InternalResourceViewResolver` or a
`ResourceBundleViewResolver` bean.
`ResourceBundleViewResolver` relies on a properties file to define the view names
mapped to a class and a URL. With a `ResourceBundleViewResolver`, you
can mix different types of views by using only one resolver, as the following example
shows:
mapped to a class and a URL. With a `ResourceBundleViewResolver`, you can mix
different types of views by using only one resolver, as the following example shows:
====
[source,xml,indent=0]
@ -1960,7 +1959,7 @@ In order to use Excel views, you need to add the Apache POI library to your clas
For PDF generation, you need to add (preferably) the OpenPDF library.
NOTE: You should use the latest versions of the underlying document-generation libraries,
if possible. In particular, we strongly recommend OpenPDF (for example, OpenPDF 1.0.5)
if possible. In particular, we strongly recommend OpenPDF (for example, OpenPDF 1.2.12)
instead of the outdated original iText 2.1.7, since OpenPDF is actively maintained and
fixes an important vulnerability for untrusted PDF content.