File tree Expand file tree Collapse file tree 3 files changed +17
-8
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/view/document Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 33
33
* document with an AcroForm. Application-specific view classes
34
34
* will extend this class to merge the PDF form with model data.
35
35
*
36
+ * <p>This view implementation uses Bruno Lowagie's
37
+ * <a href="http://www.lowagie.com/iText">iText</a> package.
38
+ * Known to work with iText 2.1.7 as well as its fork
39
+ * <a href="https://github.com/LibrePDF/OpenPDF">OpenPDF</a>.
40
+ *
36
41
* <p>Thanks to Bryant Larsen for the suggestion and the original prototype!
37
42
*
38
43
* @author Juergen Hoeller
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
30
30
import org .springframework .web .servlet .view .AbstractView ;
31
31
32
32
/**
33
- * Abstract superclass for PDF views, using Bruno Lowagie's
33
+ * Abstract superclass for PDF views. Application-specific view classes
34
+ * will extend this class. The view will be held in the subclass itself,
35
+ * not in a template.
36
+ *
37
+ * <p>This view implementation uses Bruno Lowagie's
34
38
* <a href="http://www.lowagie.com/iText">iText</a> package.
35
- * Application-specific view classes will extend this class.
36
- * The view will be held in the subclass itself, not in a template .
39
+ * Known to work with iText 2.1.7 as well as its fork
40
+ * <a href="https://github.com/LibrePDF/OpenPDF">OpenPDF</a> .
37
41
*
38
- * <p>Note: Internet Explorer requires a ".pdf" extension, as
39
- * it doesn't always respect the declared content type.
42
+ * <p>Note: Internet Explorer requires a ".pdf" extension, as it doesn't
43
+ * always respect the declared content type.
40
44
*
41
45
* @author Rod Johnson
42
46
* @author Juergen Hoeller
Original file line number Diff line number Diff line change @@ -1930,8 +1930,8 @@ dynamically from the model data. The document is the view and will be streamed f
1930
1930
server with the correct content type to (hopefully) enable the client PC to run their
1931
1931
spreadsheet or PDF viewer application in response.
1932
1932
1933
- In order to use Excel views, you need to add the 'poi' library to your classpath, and
1934
- for PDF generation, the iText library .
1933
+ In order to use Excel views, you need to add the Apache POI library to your classpath,
1934
+ and for PDF generation, the common iText 2.1.7 or its fork OpenPDF (e.g. OpenPDF 1.0.4) .
1935
1935
1936
1936
1937
1937
You can’t perform that action at this time.
0 commit comments