Aspose.Tasks for Java 18.7 Release Notes

Major Improvements

  • Support for saving fonts/images/css styles separately when saving as HTML
  • Support for OnlyTableValuesAllowed in Extended Attribute

Breaking Changes

  • Methods save and saveAsTemplate in Project class can now throw java.io.IOException.

All Changes

KeySummaryCategory
TASKSNET-1915Add an option for saving fonts/images/css styles separately when saving as htmlNew Feature
TASKSNET-2465Remove obsolete members in ExtendedAttributeDefinition and OutlineValueEnhancement
TASKSNET-1790Add support for OnlyTableValuesAllowed field in new Extended Attributes APIEnhancement
TASKSNET-2537Differences in XML output after resaveBug
TASKSNET-2509Incorrect timephased data for tasks with splitsBug
TASKSNET-2508Incorrect finish dates for tasks with splitsBug
TASKSNET-2506Timephased data displayed incorrectly after a resaveBug
TASKSNET-2504Fix duplicated “OutlineCode” elements in project’s xmlBug
TASKSNET-2503AT brakes MPP file when tasks has splitsBug
TASKSNET-2494Incorrect duration in XML with custom timephased dataBug
TASKSNET-2480Duration changed due to update the percentage completeBug
TASKSJAVA-590LinkType changes after saving data to MPXBug

Public API and Backwards Incompatible Changes

Added Public TypesDescription
com.aspose.tasks.CssSavingArgsThis class represents set of data that related to external css file’s saving that
com.aspose.tasks.FontFaceTypeEnumerates font face types
com.aspose.tasks.FontSavingArgsThis class represents set of data that related to external fonts file’s saving that
com.aspose.tasks.ICssSavingCallbackRepresents a callback that is called to create resource to store css.
com.aspose.tasks.IFontSavingCallbackRepresents a callback that is called to create resource to store fonts.
com.aspose.tasks.IImageSavingCallbackRepresents a callback that is called to create resource to store images.
com.aspose.tasks.ImageSavingArgsThis class represents set of data that related to external image file’s saving that
com.aspose.tasks.ResourceExportTypeSpecifies the resource export type for HTML format.
com.aspose.tasks.ResourceSavingArgsThis class represents set of data that related to external resource file’s saving that
com.aspose.tasks.HtmlImageTypeRepresents HTML image type.
Deleted Public TypesDescription
com.aspose.tasks.FilterCriticalTasks
com.aspose.tasks.FilterResourceAssignByResource
com.aspose.tasks.GroupCriteria
com.aspose.tasks.FilterResourceAssignByTask
Added Public Methods and PropertiesDescription
com.aspose.tasks.CssSavingArgs.#ctorInitializes a new instance of the CssSavingArgs class.
com.aspose.tasks.ExtendedAttributeDefinition.createTaskDefinition(int,java.lang.String)Factory method which creates a simple extended attribute definition, which Microsoft Project shows as “None”.
com.aspose.tasks.ExtendedAttributeDefinition.createResourceDefinition(int,java.lang.String)Factory method which creates a simple extended attribute definition, which Microsoft Project shows as “None”.
com.aspose.tasks.ExtendedAttributeDefinition.createLookupTaskDefinition(int,java.lang.String)Factory method which creates an extended attribute definition with lookup.
com.aspose.tasks.ExtendedAttributeDefinition.createLookupResourceDefinition(int,java.lang.String)Factory method which creates an extended attribute definition with lookup.
com.aspose.tasks.FontSavingArgs.#ctorInitializes a new instance of the FontSavingArgs class.
com.aspose.tasks.ICssSavingCallback.cssSaving(com.aspose.tasks.CssSavingArgs)The method to be called while saving of CSS.
com.aspose.tasks.IFontSavingCallback.fontSaving(com.aspose.tasks.FontSavingArgs)The method to be called while saving of fonts.
com.aspose.tasks.IImageSavingCallback.imageSaving(com.aspose.tasks.ImageSavingArgs)The method to be called while saving of images.
com.aspose.tasks.ImageSavingArgs.#ctorInitializes a new instance of the ImageSavingArgs class.
com.aspose.tasks.ImageSavingArgs.getImageTypeGets a HTML image type.
com.aspose.tasks.OutlineValue.getDurationValueGets the duration if Type is Duration.
com.aspose.tasks.OutlineValue.setDurationValue(com.aspose.tasks.Duration)Sets the duration if Type is Duration.
com.aspose.tasks.ResourceSavingArgs.#ctorInitializes a new instance of the ResourceSavingArgs class.
com.aspose.tasks.ResourceSavingArgs.getFileNameGets the supposed file name that goes from converter to code of custom method.
com.aspose.tasks.ResourceSavingArgs.getKeepStreamOpenGets a value indicating whether the stream will be kept open after resource saving finishes.
com.aspose.tasks.ResourceSavingArgs.getStreamGets the binary content of saved file.
com.aspose.tasks.ResourceSavingArgs.getUriGets the resource URI.
com.aspose.tasks.ResourceSavingArgs.setFileName(java.lang.String)Sets the supposed file name that goes from converter to code of custom method.
com.aspose.tasks.ResourceSavingArgs.setKeepStreamOpen(boolean)Sets a value indicating whether the stream will be kept open after resource saving finishes.
com.aspose.tasks.ResourceSavingArgs.setStream(java.io.OutputStream)Sets the binary content of saved file.
com.aspose.tasks.ResourceSavingArgs.setUri(java.lang.String)Sets the resource URI.
com.aspose.tasks.ResourceSavingArgs.closeStreamIfRequiredClose stream if KeepStreamOpen is false, else flush it.
com.aspose.tasks.HtmlSaveOptions.getExportCssGets the way css are exported.
com.aspose.tasks.HtmlSaveOptions.getExportImagesGets the way images are exported.
com.aspose.tasks.HtmlSaveOptions.getExportFontsGets the way fonts are exported.
com.aspose.tasks.HtmlSaveOptions.getCssSavingCallbackGets the callback that is called to create resource to store CSS.
com.aspose.tasks.HtmlSaveOptions.getFontSavingCallbackGets the callback that is called to create resource to store font.
com.aspose.tasks.HtmlSaveOptions.getImageSavingCallbackGets the callback that is called to create resource to store font.
com.aspose.tasks.HtmlSaveOptions.getFontFaceTypesGets the font face types.
com.aspose.tasks.HtmlSaveOptions.setCssSavingCallback(com.aspose.tasks.ICssSavingCallback)Sets the callback that is called to create resource to store CSS.
com.aspose.tasks.HtmlSaveOptions.setExportCss(int)Sets the way css are exported.
com.aspose.tasks.HtmlSaveOptions.setExportFonts(int)Sets the way fonts are exported.
com.aspose.tasks.HtmlSaveOptions.setExportImages(int)Sets the way images are exported.
com.aspose.tasks.HtmlSaveOptions.setFontFaceTypes(int)Sets the font face types.
com.aspose.tasks.HtmlSaveOptions.setFontSavingCallback(com.aspose.tasks.IFontSavingCallback)Sets the callback that is called to create resource to store font.
com.aspose.tasks.HtmlSaveOptions.setImageSavingCallback(com.aspose.tasks.IImageSavingCallback)Sets the callback that is called to create resource to store font.
com.aspose.tasks.Value.getDurationGets the actual value which is used to represent Duration.
com.aspose.tasks.Value.setDuration(com.aspose.tasks.Duration)Sets the actual value which is used to represent Duration.
Deleted Public Methods and PropertiesDescription
com.aspose.tasks.ExtendedAttributeDefinition.#ctor
com.aspose.tasks.ExtendedAttributeDefinition.setCfType(int)
com.aspose.tasks.ExtendedAttributeDefinition.setFieldName(java.lang.String)
com.aspose.tasks.ExtendedAttributeDefinition.setLookupUid(java.lang.String)
com.aspose.tasks.ExtendedAttributeDefinition.setValueList(java.util.List)
Added Public EnumerationsDescription
com.aspose.tasks.FontFaceType.NotSpecifiedFont type is not specified.
com.aspose.tasks.FontFaceType.TtfThe true type font.
com.aspose.tasks.FontFaceType.EotThe EOT font.
com.aspose.tasks.FontFaceType.WoffThe WOFF font.
com.aspose.tasks.ResourceExportType.NoExportNo export.
com.aspose.tasks.ResourceExportType.AsFileExport as a file.
com.aspose.tasks.ResourceExportType.AsEmbeddedExported as an embedded resource.
com.aspose.tasks.HtmlImageType.BmpWindows Bitmap.
com.aspose.tasks.HtmlImageType.GifGif image format.
com.aspose.tasks.HtmlImageType.JpegJPEG JFIF.
com.aspose.tasks.HtmlImageType.PngPortable Network Graphics.
com.aspose.tasks.HtmlImageType.SvgSVG image format.
com.aspose.tasks.HtmlImageType.SvgzCompressed SVG.
com.aspose.tasks.HtmlImageType.TiffTiff image format.
com.aspose.tasks.HtmlImageType.UnknownUnknown format.