code: static Workbook toWorkbook(final IDataSet dataSet, final Workbook formatting) {
          Workbook result = formatting == null ? ConverterUtils.newWorkbook() : ConverterUtils.clearContent(formatting);
          
          Sheet sheet = result.createSheet(dataSet.getName());
          for (IDsRow row : dataSet) {
              Row wbRow = sheet.createRow(row.index() - 1);
              for (IDsCell cell : row) {
                  Cell wbCell = wbRow.createCell(cell.index() - 1);
                  ConverterUtils.populateCellValue(wbCell, cell.getValue());
              }
          }
          
          return result;        
      }
docs: Converts {@link IDataSet} to {@link Workbook}.
  The result {@link Workbook} is created from @param formatting.