static OutputStream toXlsxFile(final IDataSet dataSet, final InputStream formatting) {
        ByteArrayOutputStream xlsx = new ByteArrayOutputStream();
        
        try { toWorkbook(dataSet, ConverterUtils.newWorkbook(formatting)).write(xlsx); }
        catch (IOException e) { throw new CalculationEngineException(e); }
        
        return xlsx;
    }
static OutputStream toXlsxFile ( final IDataSet dataSet , final InputStream formatting ) { ByteArrayOutputStream xlsx = new ByteArrayOutputStream ( ) ; try { toWorkbook ( dataSet , ConverterUtils . newWorkbook ( formatting ) ) . write ( xlsx ) ; } catch ( IOException e ) { throw new CalculationEngineException ( e ) ; } return xlsx ; }
Converts {@link IDataSet} to {@link Workbook},
then writes this Workbook to new {@link ByteArrayOutputStream}.
Middle-state {@link Workbook} is created from @param formatting.