Java Microsoft Project File Manipulation APIs
Manipulate or Export Project documents to Primavera, Excel, HTML, PDF, images & XML formats.Download Free Trial
Aspose.Tasks for Java
Aspose.Tasks for Java is a stable and flexible project management API to manipulate Microsoft Project documents. Developers can define a project’s main and default properties as well as calendar information. They can also specify weekdays and calendar exceptions. API makes it easy to add & recalculate tasks, resources and other project data without user intervention.
Aspose.Tasks for Java API exposes the complete project document structure to read and write Microsoft Project documents. With this powerful API, developers can control various stages of project management such as project planning, tracking and much more.
At A Glance
An overview of Aspose.Tasks project reading/writing, rendering and reporting capabilities.
- Gantt Chart
- Task Usage
- Resource Usage
- Resource Sheet
- Create & Update Project Files
- Manage Project Properties
- Support for Primavera Format
- Resource Cost Overview
- Resource Overview
- Cost Overview
- Work Overview
- Task Cost Overview
- Late Tasks
- Critical Tasks
- Upcoming Tasks
- Slipping Tasks
- Cost Overruns
- Over-allocated Resources
- Best Practice Analyzer
- Burn Down
- Cash Flow
Aspose.Tasks for Java supports JDK 1.7 and above.
- JSP/JSF Web Applications
- Desktop Applications
Supported File Formats
Aspose.Tasks for Java supports common project file formats along with many other industry standard formats.
- Microsoft Project: MPP, MPT, MPX, XML
- Primavera: P6 XML, PM XER, XML
- Microsoft Excel: XLSX
- Fixed Layout: PDF
- Images: JPEG, PNG, BMP, TIFF, SVG
- Text: TXT
- Others: HTML
Advanced Project Management API Features
Read, change & write Microsoft Project files
Read MPP & XML project formats
Create, update & write projects in XML project forma
Read MPP project files & update summary information
Change default project settings
Convert MPP projects to XML format
Change main project settings
Manage extended attributes
Render project data to HTML
Define weekdays for the project
Define weekdays for calendars & calendar exceptions
Read & write calendars for tasks & resources
Manage task baseline scheduling & durations
Handle constraints on tasks
Create & manage links between tasks
Read, change & create tasks, milestone, estimated, critical or effort driven tasks
Manage resources costs & variances
Access assignment costs & budget
Export Project Data to Universal Formats
Aspose.Tasks supports rendering tasks, resources and resource assignment data to various formats such as JPG, PNG, PDF, XML, XAML, HTML, BMP, XPS, TIFF and SVG. In addition, it is also possible to export project data to CSV, TXT, XLS, XLSX and MPT formats.
Save project data in different formats - Java
// load the file to be converted Project project = new Project(dir + "template.mpp"); // save in different formats project.save(dir + "output.pdf", SaveFileFormat.PDF); project.save(dir + "output.html", SaveFileFormat.HTML); project.save(dir + "output.tiff", SaveFileFormat.TIFF);
Handle Tasks in Project
Aspose.Tasks for Java API provides a rich set of classes for handling tasks within a Microsoft Project file. Project plans can range in complexity from a simple flat task list to a large nested group of interdependent tasks. Regardless of the complexity, Aspose.Tasks for Java is capable of dealing with any scenario.
Create & Update Resources in Project
Aspose.Tasks for Java provides features for working with resources within project plans. Almost all of the resource attributes are supported. Resource data can be updated and written back to both MPP and XML formats.
Render Project Data to Image Formats
Aspose.Tasks for Java has its own rendering engine specially designed for rendering with highest of fidelity to the Microsoft Project. This allows the developers to render project data to a number of raster & vector image formats while controlling certain aspects of the resultant image.
Render project data to JPEG - Java
// load project file Project project = new Project(dir + "template.mpp"); // create ImageSaveOptions with desired format ImageSaveOptions options = new ImageSaveOptions(SaveFileFormat.JPEG); // render project data to image format project.save(dir + "output.jpg", options);
Manage Resource Assignments
In its simplest form, a project plan is a collection of tasks assigned to a group of resources. Aspose.Tasks for Java provides an API for handling resource allocation and assignment within a project plan.
Handle Calendars & Calendar Exceptions
Aspose.Tasks for Java takes care of project calendars and calendar exceptions. There could be any number of calendars within a project plan, and Aspose.Tasks for Java can handle them with the greatest ease.
Microsoft Office Automation - Not Needed
Aspose.Tasks for Java is built using managed code that never needs Microsoft Office or Microsoft Project to be installed on the machine to work with MS Project files. It is a perfect Microsoft Prroject automation alternative in terms of supported features, security, stability, scalability, speed and price.