Reporting Services

Aspose.Tasks for Java provides reporting services for creating reports from project files similar to Microsoft Project. The SaveReport function is used to create PDF files containing the report’s images. This function takes two arguments:

  1. the PDF file name. and
  2. the ReportType enumerator.

Aspose.Tasks Reporting Services

Types of Report

The following types of reports can be created using Aspose.Tasks:

  1. Project overview
  2. Resource cost overview
  3. Cost overview
  4. Work overview
  5. Critical tasks
  6. Milestones
  7. Late tasks
  8. Resource overview
  9. Cost overruns
  10. Upcoming task
  11. Task cost overview
  12. Over-allocated resources
  13. Slipping tasks
  14. Best practice analyzer
  15. Burn down
  16. Cash flow

The sample code snippets below can be used to create these reports. All the sample MPP files used in these examples are present as attachments for testing the sample code.

Project Overview

exported project overview report example Java

1Project project = new Project("Cyclic structure.mpp");
2project.saveReport("ProjectOverView.pdf", ReportType.ProjectOverview);

Resource Cost Overview

exported resource cost overview report example Java

1Project project = new Project("OzBuild 16 Orig.mpp");
2project.saveReport("ResourceCostOverview.pdf", ReportType.ResourceCostOverview);

Cost Overview

exported cost overview report example Java

1Project project = new Project("OzBuild 16 Orig.mpp");
2project.saveReport("CostOverview.pdf", ReportType.CostOverview);

Work Overview

exported work overview report example Java

1Project project = new Project("Residential Construction.mpp");
2project.saveReport("WorkOverview.pdf", ReportType.WorkOverview);

Critical Tasks

exported critical tasks report example Java

1Project project = new Project("Residential Construction.mpp");
2project.saveReport("CriticalTasks.pdf", ReportType.CriticalTasks);

Milestones

exported milestones report example Java

1Project project = new Project("Residential Construction.mpp");
2project.saveReport("Milestones.pdf", ReportType.Milestones);

Late Tasks

exported late tasks report example Java

1Project project = new Project("Residential Construction.mpp");
2project.saveReport("LateTasks.pdf", ReportType.LateTasks);

Resource Overview

exported resource overview report example Java

1Project project = new Project("Software Development Plan.mpp");
2project.saveReport("ResourceOverview.pdf", ReportType.ResourceOverview);

Cost Overruns

exported cost overruns report example Java

1Project project = new Project("Software Development.mpp");
2project.saveReport("CostOverruns.pdf", ReportType.CostOverruns);

Upcoming Task

exported upcoming task report example Java

1Project project = new Project("UpcomingTasks.mpp");
2project.saveReport("UpcomingTasks.pdf", ReportType.UpcomingTask);

Task Cost Overview

exported task cost overview report example Java

1Project project = new Project("Software Development.mpp");
2project.saveReport("TaskCostOverview.pdf", ReportType.TaskCostOverview);

Over-allocated Resources

exported over-allocated resources report example Java

1Project project = new Project("Software Development Plan.mpp");
2project.saveReport("OverAllocatedResources.pdf", ReportType.OverallocatedResources);

Slipping Tasks

exported slipping report example Java

1Project project = new Project("Cyclic structure.mpp");
2project.saveReport("SlippingTasks.pdf", ReportType.SlippingTasks);

Best Practice Analyzer

exported best practice report example Java

1Project project = new Project("Cyclic structure.mpp");
2project.saveReport("BestPracticeAnalyzer.pdf", ReportType.BestPracticeAnalyzer);

Burn Down

exported practice analyzer report example Java

1Project project = new Project("Cyclic structure.mpp");
2project.saveReport("Burndown.pdf", ReportType.Burndown);

Cash Flow

exported burndown report example Java

1Project project = new Project("OzBuild 16 Orig.mpp");
2project.saveReport("CashFlow.pdf", ReportType.CashFlow);
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.