'SXSSFWorkbook and XSSFSheet

I need to generate a multi sheet excel report, one sheet has the main table and it can get quite large so using SXSSFWorkbook makes sense, on the other hand in another sheet I need to put few charts and I haven't seen such option with SXSSFSheet (only with XSSFSheets), is it possible to have and XSSFSheet in SXSSFWorkbook or is there an workaround?

I am using apache poi 4.1.2



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source