}
private static void writeTaskTree(Writer out, EVTaskList taskList,
EVTaskFilter filter, EVReportSettings settings, String namespace)
throws IOException {
TreeTableModel tree = taskList.getMergedModel(true,
settings.shouldMergePreserveLeaves(), filter);
HTMLTreeTableWriter writer = new HTMLTreeTableWriter();
customizeTaskTableWriter(writer, taskList, null, settings, false);
writer.setTreeName(namespace + "t");
writer.setExpandAllTooltip(resources.getHTML("Report.Expand_All_Tooltip"));