Browse our Products
Aspose.Tasks for Java 21.2 Release Notes
This page contains release notes information for Aspose.Tasks for Java 21.2.
All Changes
Key | Summary | Issue Type |
---|---|---|
TASKSNET-4518 | Save project documents with password protection | New Feature |
TASKSJAVA-1255 | Add an ability to read and write Activity_Id (task_code in XER) for Primavera XML, XER and DB formats | Enhancement |
TASKSJAVA-1291 | Add the ability to render MPP file as a single page | Enhancement |
TASKSNET-4120 | Add reading of timescale settings and rendering of custom timescales for Task Usage and Resource Usage views | Enhancement |
TASKSNET-4561 | Fix exception when trying to access TimephasedData for assignment of material resource | Bug |
TASKSNET-4554 | Fix “NullReferenceException” when trying to render the specific project to HTML | Bug |
TASKSNET-4553 | Fix incorrectly read / written colors in View.TableTextStyles for MSP 2007 format. | Bug |
TASKSNET-4548 | Fix System.OverflowException when trying to save password-protected project | Bug |
TASKSNET-4547 | Fix “Index was outside the bounds of the array.” exception when open document MPP file | Bug |
TASKSNET-4544 | Fix “Index was out of range. Must be non-negative and less than the size of the collection. (Parameter ‘index’)” exception when get pages count MPP file | Bug |
TASKSNET-4543 | Fix ‘Stream does not support reading’ exception when saving to HTML | Bug |
TASKSNET-4526 | Fix ResourceAssignments are not read from password protected files for MSP 2010+ files | Bug |
Public API and Backwards Incompatible Changes
The following public methods and properties were added: | Description |
---|---|
com.aspose.tasks.MPPSaveOptions.getProtectionPassword com.aspose.tasks.MPPSaveOptions.setProtectionPassword | Gets or sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats. |
com.aspose.tasks.UsageView.getTimescaleSizePercentage com.aspose.tasks.UsageView.setTimescaleSizePercentage | Gets or sets a percentage to reduce or enlarge the spacing between units on the timescale tier. |
com.aspose.tasks.UsageView.getBottomTimescaleTier com.aspose.tasks.UsageView.setBottomTimescaleTier | Gets or sets settings of view’s bottom timescale tier. |
com.aspose.tasks.UsageView.getMiddleTimescaleTier com.aspose.tasks.UsageView.setMiddleTimescaleTier | Gets or sets settings of view’s middle timescale tier. |
com.aspose.tasks.UsageView.getTopTimescaleTier com.aspose.tasks.UsageView.setTopTimescaleTier | Gets or sets settings of view’s top timescale tier. |
The following public enumeration members were added: | Description |
com.aspose.tasks.TaskKey.ActivityId | Represents the ActivityId field (only applicable to Primavera projects). |
com.aspose.tasks.Tsk.ACTIVITY_ID | Represents activity id field - a task’s unique identifier used by Primavera. (only applicable to Primavera projects). |
The following public methods and properties were deleted: | Description |
com.aspose.tasks.ExtendedAttributeDefinition.createLookupDefinition | Replaced by more specific CreateLookupTaskDefinition and CreateLookupResourceDefinition. |
com.aspose.tasks.SaveOptions.getTimescaleTier com.aspose.tasks.SaveOptions.setTimescaleTier | View’s TopTimescaleTier, MiddleTimescaleTier, BottomTimescaleTier properties should be used instead. |
com.aspose.tasks.View.getIndex | Not used anymore. |