Browse our Products

Aspose.Tasks for Java 19.5 Release Notes

Features

  • The support of Microsoft Project Online has been added.
  • The support of setting CSS prefix for HTML export has been added.
  • The feature to set custom date format while exporting to PDF format has been implemented.
  • Enhanced exceptions which are throwing while access to Primavera DB.

All Changes

KeySummaryIssue Type
TASKSNET-2777Implement the Adding of Page Prefixes in CSS Classes when Saving MS Project into HTMLNew Feature
TASKSNET-2150Support for Microsoft Office 365 Project Online ServiceNew Feature
TASKSNET-2740Implement an informative exception when trying to open a non-existing project from Primavera DBEnhancement
TASKSNET-2623Implement a feature to set custom date format while exporting to PDF formatEnhancement
TASKSNET-2964Fix extra text in the hyperlink note after the MPP file being resavedBug
TASKSNET-2957Fix missing hyperlinks after the MPP file being resavedBug
TASKSNET-2956Fix error when project with incorrect formula is saved to XMLBug
TASKSNET-2916Fix reading of resources in MspResourceMapper and MpdResourceMapperBug
TASKSNET-2905Fix schedule differences after the MPP file being resavedBug
TASKSJAVA-748The Chinese timestamp of the Project file is displayed in English after being exported to PDFBug
TASKSNET-2519Fix displaying of lookup values after the MPP file being resavedBug
TASKSJAVA-909Multipage HTML export saves files into %TEMP% instead of the CWDBug

Public API and Backwards Incompatible Changes

The following public types were added:Description
com.aspose.tasks.ProjectInfoBrief info about the published project available on Project Online.
com.aspose.tasks.ProjectOnlineExceptionRepresents an exception which is thrown when errors are found during the reading of a project from Project Online.
com.aspose.tasks.ProjectOnlineReaderThe class which provides the methods to retrieve projects from the specified Project Online account.
com.aspose.tasks.ProjectServerCredentialsCredentials which are used to connect to Project Online.
The following public methods and properties were added:Description
com.aspose.tasks.ProjectInfo.#ctorInitializes a new instance of the class.
com.aspose.tasks.ProjectInfo.getIdInitializes a new instance of the class.
com.aspose.tasks.ProjectInfo.getNameGets the name of the project.
com.aspose.tasks.ProjectInfo.getCreatedDateGets the date and time when the project was created.
com.aspose.tasks.ProjectInfo.isCheckedOutGets a value indicating whether the project is checked out.
com.aspose.tasks.ProjectInfo.getLastPublishedDateGets the most recent date when the project was published.
com.aspose.tasks.ProjectInfo.getLastSavedDateGets the most recent date when the project was saved.
com.aspose.tasks.ProjectInfo.getDescriptionGets the description of the project.
com.aspose.tasks.ProjectOnlineReader.#ctor(com.aspose.tasks.ProjectServerCredentials)Initializes a new instance of the class.
com.aspose.tasks.ProjectOnlineReader.getProject(java.util.UUID)Gets the project with the specified GUID from the Project Online.
com.aspose.tasks.ProjectOnlineReader.getProjectListGets the list of published projects in the current Project Online account.
com.aspose.tasks.ProjectServerCredentials.#ctor(java.lang.String,java.lang.String)Initializes a new instance of the class.
com.aspose.tasks.ProjectServerCredentials.getSiteUrlGets the URL of the SharePoint site.
com.aspose.tasks.ProjectServerCredentials.getAuthTokenGets the authorization token for the SharePoint. Can be retrieved using SharePointOnlineCredentials class from

com.aspose.tasks.HtmlSaveOptions.getCssStylePrefix

com.aspose.tasks.HtmlSaveOptions.setCssStylePrefix(java.lang.String)

Gets or sets css style prefix.
The following public enumerations were added:Description
com.aspose.tasks.DateFormat.CustomDatetime values are formatted using format string which is set to the project’s property.
com.aspose.tasks.Prj.CUSTOM_DATE_FORMATProject view custom date format. Used to format dates when Prj.DateFormat property is set to .
com.aspose.tasks.PrjKey.CustomDateFormatRepresents user-defined date format.