提交 3ba0a79a 编写于 作者: J Juergen Hoeller

Upgrade to OpenPDF 1.2.12

上级 462d047f
...@@ -23,7 +23,7 @@ dependencies { ...@@ -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}")
......
...@@ -798,9 +798,8 @@ When developing with JSPs, you can declare a `InternalResourceViewResolver` or a ...@@ -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 ...@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册