Browse our Products

Aspose.Slides for Java 23.10 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-44169Getting the visual size of Ink shapesFeature
SLIDESNET-43931Images are distorted when saved as TIFF images.Enhancementhttps://docs.aspose.com/slides/net/convert-powerpoint-to-tiff/
SLIDESNET-44020Getting the number of lines of a paragraphFeaturehttps://docs.aspose.com/slides/net/paragraph/
SLIDESNET-44109An image is blurred when converting PPTX to PDFEnhancementhttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-44057ODP 3D charts supportFeaturehttps://docs.aspose.com/slides/net/convert-odp-to-pptx/
SLIDESJAVA-39022Use Aspose.Slides for Net 23.10 featuresEnhancement
SLIDESJAVA-38863Portion bold and outer shadow inconsistency in PPTXBughttps://docs.aspose.com/slides/java/shape-effective-properties/#getting-effective-properties-of-a-text-frame
SLIDESJAVA-39263Text is wrapped when loading and saving a PPT fileBughttps://docs.aspose.com/slides/java/convert-presentation/
SLIDESJAVA-39257An image is blurred when converting PPTX to PDFEnhancementhttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/

Public API Changes

TiffOptions.BwConversionMode property and BlackWhiteConversionMode enum added

The new TiffOptions.BwConversionMode property allows you to specify the algorithm for converting a color image to a black and white image. This setting is applied only when CompressionType is set to TiffCompressionTypes.CCITT4 or TiffCompressionTypes.CCITT3.

Example:

TiffOptions tiffOptions = new TiffOptions();
tiffOptions.setCompressionType(TiffCompressionTypes.CCITT4);
tiffOptions.setBwConversionMode(BlackWhiteConversionMode.Dithering);

Presentation presentation = new Presentation();
try {
    presentation.save(tiffFilePath, SaveFormat.Tiff, tiffOptions);
} finally {
    if (presentation != null) presentation.dispose();
}

InkBrush and InkTrace classes have been added

New classes related to Ink management API have been added:

  • InkTrace represents a trace element that is used to record the data captured by the digitizer. It contains a sequence of points.
  • InkBrush represents trace brush.

Example:

Presentation pres = new Presentation("pres.pptx");
try {
    IInk ink = (IInk)pres.getSlides().get_Item(0).getShapes().get_Item(0);
    IInkTrace[] traces = ink.getTraces();
    IInkBrush brush = traces[0].getBrush();
} finally {
    if (pres != null) pres.dispose();
}

Paragraph.GetLinesCount method has been added

The new GetLinesCount method of the Paragraph class allows you to get the number of lines in a paragraph.

Example:

Presentation pres = new Presentation();
try {
    ISlide sld = pres.getSlides().get_Item(0);
    IAutoShape ashp = sld.getShapes().addAutoShape(ShapeType.Rectangle, 150, 75, 150, 50);
    IParagraph para = ashp.getTextFrame().getParagraphs().get_Item(0);
    IPortion portion = para.getPortions().get_Item(0);
    portion.setText("Aspose Paragraph GetLinesCount() Example");
    System.out.println("Lines Count = " + para.getLinesCount());
} finally {
    if (pres != null) pres.dispose();
}