inMax = this.myProjekt.getNumberOfPages();
} else {
inMax = this.myProjekt.getNumberOfVolumes();
}
ProjectStatusDataTable pData = new ProjectStatusDataTable(this.myProjekt.getTitel(), start, end);
IProvideProjectTaskList ptl = new WorkflowProjectTaskList();
List<? extends IProjectTask> tasklist = ptl.calculateProjectTasks(this.myProjekt, countImages, inMax);
for (IProjectTask pt : tasklist) {
pData.addTask(pt);
}
// Determine height of the image
int height = ProjectStatusDraw.getImageHeight(pData.getNumberOfTasks());
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
Graphics2D g2d = image.createGraphics();
g2d.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING, java.awt.RenderingHints.VALUE_ANTIALIAS_ON);