Class AbstractXlsxView

All Implemented Interfaces:
Aware, BeanNameAware, ApplicationContextAware, ServletContextAware, View
Direct Known Subclasses:
AbstractXlsxStreamingView

@Deprecated(since="7.0", forRemoval=true) public abstract class AbstractXlsxView extends AbstractXlsView
Deprecated, for removal: This API element is subject to removal in a future version.
since 7.0. Libraries or applications can provide their own View class or perform rendering in web handlers directly.
Convenient superclass for Excel document views in the Office 2007 XLSX format (as supported by POI-OOXML). Compatible with Apache POI 3.5 and higher.

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

Since:
4.2
Author:
Juergen Hoeller
  • Constructor Details

    • AbstractXlsxView

      public AbstractXlsxView()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Default Constructor.

      Sets the content type of the view to "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".

  • Method Details

    • createWorkbook

      protected org.apache.poi.ss.usermodel.Workbook createWorkbook(Map<String,Object> model, HttpServletRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This implementation creates an XSSFWorkbook for the XLSX format.
      Overrides:
      createWorkbook in class AbstractXlsView
      Parameters:
      model - the model Map
      request - current HTTP request (for taking the URL or headers into account)
      Returns:
      the new Workbook instance