Java API to manipulate Microsoft Project® documents

Customize & manipulate Microsoft Project® MPP MPT & XML documents. Render project data to Primavera, Excel, HTML PDF, XPS and image formats within any Java based application.

  Download Free Trial
Aspose.Tasks for Java

Aspose.Tasks for Java

 
 

Aspose.Tasks for Java offers project management APIs that enables Java application developers to provide Microsoft Project ® documents manipulation capability in their applications - all without using Microsoft Project ®.

With this Java API for MS Project documents - developers can define a project’s main and default properties as well as calendar information. Developers can also specify weekdays and calendar exceptions. The API makes it easy to add & recalculate tasks, resources and other project data without user intervention.

Like Aspose.Tasks for .NET, Aspose.Tasks for Java API exposes the complete project document structure to read and write Microsoft Project documents in both MPP and XML formats. With this powerful API, developers can control various stages of project management - such as project planning, definition and tracking.

 

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.

 

Support and Learning Resources

 

Aspose.Tasks offer individual Project APIs for other popular development environments as listed below: