if(importAsWorksheet && newWSId != null) {
pw.println(",");
new WorksheetListUpdate().generateJson(prefix, pw, vWorkspace);
pw.println(",");
if (showCleaningCharts) {
new WorksheetCleaningUpdate(newWSId, true, SuperSelectionManager.DEFAULT_SELECTION).generateJson(prefix, pw, vWorkspace);
pw.println(",");
}
new WorksheetHeadersUpdate(newWSId, SuperSelectionManager.DEFAULT_SELECTION).generateJson(prefix, pw, vWorkspace);
pw.println(",");
new WorksheetDataUpdate(newWSId, SuperSelectionManager.DEFAULT_SELECTION).generateJson(prefix, pw, vWorkspace);