Browse our Products

Aspose.Tasks for Java 23.4 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-10742Replace usages of System.Drawing.StringAlignment with Aspose.Tasks.Visualization.StringAlignmentEnhancement
TASKSJAVA-1939Property UseProjectDefaultFont or DefaultFontName does not workBug
TASKSNET-10831Fix NullReferenceException when accessing AssignmentBaseline.TimephasedData for new Assignment’s baselineBug
TASKSNET-10825Fix task baseline 1-10 properties are not shown when opening a resulting MPP 2007 file using MS ProjectBug
TASKSNET-10824Fix baselines’s FixedCost is not shown when output MPP file is opened using MS ProjectBug
TASKSNET-10823Fix OverflowException when opening the specific fileBug
TASKSJAVA-1913Reading resource usage is not imported properlyBug

Public API and Backwards Incompatible Changes

The following public types were added:Description
com.aspose.tasks.HorizontalStringAlignmentSpecifies the alignment of a text string relative to its layout rectangle.
The following public methods were deleted:Description
com.aspose.tasks.Calendar.getParentProject()
com.aspose.tasks.CalendarCollection.getParentProject()
com.aspose.tasks.Filter.getParentProject()
com.aspose.tasks.FilterCollection.getParentProject()
com.aspose.tasks.Group.getParentProject()
com.aspose.tasks.GroupCollection.getParentProject()
com.aspose.tasks.Table.getParentProject()
com.aspose.tasks.TableCollection.getParentProject()
com.aspose.tasks.TableFieldCollection.getParentProject()
The following public enumerations were added:Description
com.aspose.tasks.HorizontalStringAlignment.NearSpecifies the text be aligned near the layout. In a left-to-right layout, the near position is left. In a right-to-left layout, the near position is right.
com.aspose.tasks.HorizontalStringAlignment.CenterSpecifies that text is aligned in the center of the layout rectangle.
com.aspose.tasks.HorizontalStringAlignment.FarSpecifies that text is aligned far from the origin position of the layout rectangle. In a left-to-right layout, the far position is right. In a right-to-left layout, the far position is left.

Examples and additional notes

Related issue: TASKSNET-10742 - Replace usages of System.Drawing.StringAlignment with Aspose.Tasks.Visualization.HorizontalStringAlignment

In order to make public interfaces of Aspose.Tasks for Java and Aspose.Tasks for .NET were unified, com.aspose.tasks.HorizontalStringAlignment was added. com.aspose.tasks.StringAlignment can continue to be used, but is marked as deprecated and will be removed after release 23.10.