return Status.CANCEL_STATUS;
}
try {
{
TransformerHandler handler = mySelectedStylesheet.createTitlePageHandler();
handler.setResult(new StreamResult(outputFile));
serialize(handler, outputFile);
resultFiles.add(outputFile);
}
//
{
TransformerHandler handler = mySelectedStylesheet.createTasksPageHandler();
File tasksPageFile = appendSuffixBeforeExtension(outputFile, "-tasks");
handler.setResult(new StreamResult(tasksPageFile));
serialize(handler, outputFile);
resultFiles.add(tasksPageFile);
}
{
TransformerHandler handler = mySelectedStylesheet.createGanttChartPageHandler();
File chartPageFile = appendSuffixBeforeExtension(outputFile, "-chart");
handler.setResult(new StreamResult(chartPageFile));
serialize(handler, outputFile);
resultFiles.add(chartPageFile);
}
{
TransformerHandler handler = mySelectedStylesheet.createResourcesPageHandler();
File resourcesPageFile = appendSuffixBeforeExtension(outputFile, "-resources");
handler.setResult(new StreamResult(resourcesPageFile));
serialize(handler, outputFile);
resultFiles.add(resourcesPageFile);
}
monitor.worked(1);