Browse our Products
Aspose.Slides for Java 23.10 Release Notes
This page contains release notes for Aspose.Slides for Java 23.10
Key | Summary | Category | Related Documentation |
---|---|---|---|
SLIDESNET-44169 | Getting the visual size of Ink shapes | Feature | |
SLIDESNET-43931 | Images are distorted when saved as TIFF images. | Enhancement | https://docs.aspose.com/slides/net/convert-powerpoint-to-tiff/ |
SLIDESNET-44020 | Getting the number of lines of a paragraph | Feature | https://docs.aspose.com/slides/net/paragraph/ |
SLIDESNET-44109 | An image is blurred when converting PPTX to PDF | Enhancement | https://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/ |
SLIDESNET-44057 | ODP 3D charts support | Feature | https://docs.aspose.com/slides/net/convert-odp-to-pptx/ |
SLIDESJAVA-39022 | Use Aspose.Slides for Net 23.10 features | Enhancement | |
SLIDESJAVA-38863 | Portion bold and outer shadow inconsistency in PPTX | Bug | https://docs.aspose.com/slides/java/shape-effective-properties/#getting-effective-properties-of-a-text-frame |
SLIDESJAVA-39263 | Text is wrapped when loading and saving a PPT file | Bug | https://docs.aspose.com/slides/java/convert-presentation/ |
SLIDESJAVA-39257 | An image is blurred when converting PPTX to PDF | Enhancement | https://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();
}