Browse Source

Upgrade to OpenPDF 1.2.12

pull/22728/head
Juergen Hoeller 7 years ago
parent
commit
3ba0a79a57
  1. 2
      spring-webmvc/spring-webmvc.gradle
  2. 7
      src/docs/asciidoc/web/webmvc-view.adoc

2
spring-webmvc/spring-webmvc.gradle

@ -23,7 +23,7 @@ dependencies {
optional("javax.xml.bind:jaxb-api:2.3.1") optional("javax.xml.bind:jaxb-api:2.3.1")
optional("org.webjars:webjars-locator-core:0.37") optional("org.webjars:webjars-locator-core:0.37")
optional("com.rometools:rome:1.12.0") 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.apache.poi:poi-ooxml:4.0.1")
optional("org.freemarker:freemarker:${freemarkerVersion}") optional("org.freemarker:freemarker:${freemarkerVersion}")
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}") optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")

7
src/docs/asciidoc/web/webmvc-view.adoc

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

Loading…
Cancel
Save