Browse our Products
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-tasks</artifactId>
<version>25.4</version>
<classifier>jdk18</classifier>
</dependency>
compile(group: 'com.aspose', name: 'aspose-tasks', version: '25.4', classifier: 'jdk18')
<dependency org="com.aspose" name="aspose-tasks" rev="25.4">
<artifact name="aspose-tasks" m:classifier="jdk18" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-tasks" % "25.4"
What’s new in the Aspose.Tasks for Java 25.4
Release Highlights
Aspose.Tasks for Java 25.4 enhances Gantt chart customization and introduces advanced calendar calculation capabilities. This release empowers developers with precise control over legend bar display and timescale behavior in visual exports, while significantly improving Primavera P6 compatibility.
New Features
Legend Bar Control for Gantt Charts:
Developers can now define specific bar types shown in the Gantt chart legend using theSaveOptions.setLegendItems()
method, allowing for tailored presentation in exported PDFs and images.Enhanced Timescale Alignment Settings:
Introduced theTimescaleFitBehavior
enumeration to control how the timescale aligns with the end of a page. This improves visual consistency in Gantt chart rendering.Calendar Intersection for Advanced Date Calculations:
A powerful API to compute intersections of task and resource calendars has been added. Users can now calculate durations, working times, and work schedule intersections with greater precision.
Bug Fixes
Primavera Export Compatibility:
Addressed issues where exported Primavera P6 XML files were not importing correctly, and resource assignments for summary tasks were improperly handled.Gantt and TaskUsage View Rendering Fixes:
Corrected layout issues with the TaskUsage view, rendering near page edges, and improved rendering under single-page export conditions.Auto and Manual Task Scheduling Conflict Resolved:
Resolved a bug causing incorrect scheduling when an automatic task followed a manual task, ensuring consistency in scheduling behavior.
Public API and Backward Incompatible Changes
Added Types
ICalendar
— Interface for performing calendar-based calculations.PageLegendItem
— Represents legend items for the Gantt chart export.
Added Methods and Properties
Calendar.getIntersectionCalendar(Calendar, Calendar)
ICalendar.getWorkingHours(Date, Date)
ICalendar.getFinishDateByStartAndWork(Date, Duration)
SaveOptions.getLegendItems() / setLegendItems(PageLegendItem[])
SaveOptions.getTimescaleFitBehavior() / setTimescaleFitBehavior(TimescaleFitBehavior)
LevelingOptions.setCancellationToken(CancellationToken)
LoadOptions.setCancellationToken(CancellationToken)
PrimaveraSaveOptions.setSkipSummaryAssignments(boolean)
PrimaveraXmlSaveOptions.setSkipSummaryAssignments(boolean)
Added Enumerations
TimescaleFitBehavior
— Defines rendering behavior of the timescale’s right end.
Removed Enumerations
TaskKey.DurationFormat
Tsk.DURATION_FORMAT
🔍 Explore the Full Release Details
For the complete list of updates, visit Aspose.Tasks for Java 25.4 Release Notes
gantt chart legend control
| calendar intersection logic
| primavera export bug fix
| timescale fit behavior
Version | Release Date |
---|---|
25.4 | April 29, 2025 |
25.3 | March 31, 2025 |
25.2 | February 21, 2025 |
25.1 | January 31, 2025 |
24.12 | December 19, 2024 |
24.11 | November 27, 2024 |
24.10 | October 25, 2024 |
24.9 | September 30, 2024 |
24.8 | August 27, 2024 |
24.7 | July 29, 2024 |
24.6 | June 28, 2024 |
24.5 | May 23, 2024 |
24.4 | April 17, 2024 |
24.3 | March 26, 2024 |
24.2 | February 28, 2024 |
24.1 | January 30, 2024 |
23.12 | December 21, 2023 |
23.11 | November 21, 2023 |
23.10 | October 19, 2023 |
23.9 | September 21, 2023 |
23.8 | August 25, 2023 |
23.7 | July 21, 2023 |
23.6 | June 23, 2023 |
23.5 | May 19, 2023 |
23.4 | April 19, 2023 |
23.3 | March 15, 2023 |
23.2 | February 10, 2023 |
23.1 | January 21, 2023 |
22.12 | December 19, 2022 |
22.11 | November 18, 2022 |
22.10 | October 7, 2022 |
22.9 | September 12, 2022 |
22.8 | August 16, 2022 |
22.7 | July 14, 2022 |
22.6 | June 21, 2022 |
22.5 | May 25, 2022 |
22.4 | April 25, 2022 |
22.3 | March 23, 2022 |
22.2 | February 22, 2022 |
22.1 | January 26, 2022 |
21.12 | December 14, 2021 |
21.11 | November 17, 2021 |
21.10 | October 25, 2021 |
21.9 | September 14, 2021 |
21.8 | August 13, 2021 |
21.7 | July 10, 2021 |
21.6 | June 15, 2021 |
21.5 | May 12, 2021 |
21.4 | April 7, 2021 |
21.3 | March 16, 2021 |
21.2 | February 18, 2021 |
20.12 | December 30, 2020 |
20.11 | November 24, 2020 |
20.10 | October 16, 2020 |
20.8 | September 10, 2020 |
20.7 | July 8, 2020 |
20.6 | June 16, 2020 |
20.4 | April 22, 2020 |
20.2 | February 25, 2020 |
20.1 | January 31, 2020 |
19.12 | December 25, 2019 |
19.10 | November 8, 2019 |
19.9 | September 27, 2019 |
19.7 | August 13, 2019 |
19.6 | July 11, 2019 |
19.5 | June 3, 2019 |
19.4 | April 8, 2019 |
19.3 | March 18, 2019 |
18.11 | November 28, 2018 |
18.10 | October 31, 2018 |
18.8 | September 28, 2018 |
18.7 | July 30, 2018 |
18.6 | June 29, 2018 |
18.5 | May 31, 2018 |
18.4 | May 3, 2018 |
18.3 | March 29, 2018 |
17.11 | January 28, 2018 |
17.8 | November 13, 2017 |
17.5 | July 22, 2017 |
17.3.0 | May 16, 2017 |
17.1.0 | February 22, 2017 |
16.11.0 | December 11, 2016 |
9.6.0 | October 26, 2016 |
9.5.0 | August 21, 2016 |
9.4.0 | June 17, 2016 |
9.3.0 | March 18, 2016 |
9.2.0 | January 29, 2016 |
9.1.0 | December 30, 2015 |
File | Classifier | Size |
---|---|---|
aspose-tasks-25.4-javadoc.jar | javadoc | 2 MB |
aspose-tasks-25.4-jdk17.jar | jdk17 | 15 MB |
aspose-tasks-25.4-jdk18.jar | jdk18 | 15 MB |
aspose-tasks-25.4.pom | 395 bytes |