spring-framework / org.springframework.web.servlet.view.document

Package org.springframework.web.servlet.view.document

Types

AbstractPdfStamperView

abstract class AbstractPdfStamperView : AbstractUrlBasedView

Abstract superclass for PDF views that operate on an existing document with an AcroForm. Application-specific view classes will extend this class to merge the PDF form with model data.

This view implementation uses Bruno Lowagie's iText package. Known to work with iText 2.1.7 as well as its fork OpenPDF.

Thanks to Bryant Larsen for the suggestion and the original prototype!

AbstractPdfView

abstract class AbstractPdfView : AbstractView

Abstract superclass for PDF views. Application-specific view classes will extend this class. The view will be held in the subclass itself, not in a template.

This view implementation uses Bruno Lowagie's iText package. Known to work with iText 2.1.7 as well as its fork OpenPDF.

Note: Internet Explorer requires a ".pdf" extension, as it doesn't always respect the declared content type.

AbstractXlsxStreamingView

abstract class AbstractXlsxStreamingView : AbstractXlsxView

Convenient superclass for Excel document views in the Office 2007 XLSX format, using POI's streaming variant. Compatible with Apache POI 3.9 and higher.

For working with the workbook in subclasses, see Apache's POI site.