Aspose.Slides for Java 16.5.0 Release Notes

KeySummaryCategory
SLIDESJAVA-35479Which version of bcprov are supported with Aspose.Slides for Java and Aspose.CellsInvestigation
SLIDESJAVA-35454Changing a function/sub of an existing VBA moduleInvestigation
SLIDESJAVA-35446Investigate the regression tests failure in Aspose Slides project on test serverInvestigation
SLIDESJAVA-35438Default image formats and their qualities when exporting presentation to PDFInvestigation
SLIDESJAVA-35420Problem extracting alignment value for some textInvestigation
SLIDESJAVA-35376Mechanism of Aspose.Slides Fonts LoadingInvestigation
SLIDESJAVA-34229StackOverFlow exception when using Aspose.Slides based program as Windows ServiceFeature
SLIDESJAVA-35359Support for rendering hidden slides in PDFFeature
SLIDESJAVA-35284Load fonts only once in an applicationFeature
SLIDESNET-37193Support to add Pentagon on a slideFeature
SLIDESNET-35693Support for adding picture bulletFeature
SLIDESNET-33272PictureBullet for pptxFeature
SLIDESJAVA-35459Default zoom is not correct for presentatin when opened in PowerPoint 2013Bug
SLIDESJAVA-35443Hyperlinks are not extracted from presentationBug
SLIDESJAVA-35439Exeption: Color is not resolved when loading presentationBug
SLIDESJAVA-35434Chart vertical lines are missing in exported PDFBug
SLIDESJAVA-35430PptxReadException on presentation loadBug
SLIDESJAVA-35425Incorrect html generated from presentationBug
SLIDESJAVA-35423Baseline of the glyphs from CJK range differ from expectedBug
SLIDESJAVA-35422Master slides’s name is returned as empty stringBug
SLIDESJAVA-35419Parameter emSize is invalid Aspose slides Java 16.3.0Bug
SLIDESJAVA-35418Missing tables on generated pdfBug
SLIDESJAVA-35417Incorrect value for bold property is returnedBug
SLIDESJAVA-35416Text becomes bulleted on ppt load and saveBug
SLIDESJAVA-35415Image lost on ppt load and saveBug
SLIDESJAVA-35409Presentation generated by slides displays picture incorrectlyBug
SLIDESJAVA-35407PPTXNotSupportedException on loading presentations in MultithreadsBug
SLIDESJAVA-35399Problem while getting properties of a tableBug
SLIDESJAVA-35398PptxReadException on presentation loadBug
SLIDESJAVA-35396Chart legend is improperly rendered in generated thumbnailBug
SLIDESJAVA-35395An element with the same key already exists in the dictionaryBug
SLIDESJAVA-35393Chart legend is improperly rendered in generated thumbnailBug
SLIDESJAVA-35391PptxReadException on presentation loadBug
SLIDESJAVA-35389Gradient improperly rendered in generated thumbnailBug
SLIDESJAVA-35384Exception while getting table propertiesBug
SLIDESJAVA-35381com.aspose.ms.System.NotImplementedException on resaving password protected pptBug
SLIDESJAVA-35380com.aspose.ms.System.NotImplementedException on encrypting pptBug
SLIDESJAVA-35377Horizonta chart bar is missig in generated thumbnailBug
SLIDESJAVA-35366Exception on presentation saveBug
SLIDESJAVA-35363Low Quality with PdfNotes better with PdfBug
SLIDESJAVA-35353Unable to export all presentations inside folder to PDF using multiple threadsBug
SLIDESJAVA-35342Unable to render a PPTX file to pdfBug
SLIDESJAVA-35330getReflectionEffect() returns nullBug
SLIDESJAVA-35310Incorrect text colorBug
SLIDESJAVA-35308Error loading presentationBug
SLIDESJAVA-35304Ole frame display incorrect imageBug
SLIDESJAVA-35298bullets and dashes changed to numberingBug
SLIDESJAVA-35290Ole frame get resized for multi page excel sheetBug
SLIDESJAVA-35210Shadow effect appeared on load and save pptxBug
SLIDESJAVA-35209Text on slide bottom is lostBug
SLIDESJAVA-35181Font size changedBug
SLIDESJAVA-35157Null pointer exception on loading pptBug
SLIDESJAVA-35047Slower performance when converting presentation to PDF in muti threaded environmentBug
SLIDESJAVA-35023Text wrapping disturbed in generated thumbnailBug
SLIDESJAVA-34959Gradient effects are changed in generated slide thumbnailBug
SLIDESJAVA-34881Incorrect text underlined on exported pdfBug
SLIDESJAVA-34510Gradient effects are changed in generated slide thhumbanilBug
SLIDESJAVA-34481Text alignment issue after conversion from PPT to PNGBug
SLIDESJAVA-34365DateTime field missing in generated PDFBug
SLIDESJAVA-34333Support for importing HTML table data in Aspose.SlidesBug

Public API Changes

Aspose.Slides for Java 16.5.0 depends on Bouncy Castle 1.54

‘Bouncy Castle Crypto API’ library has been updated to release 1.54. Aspose.Slides for Java 16.5.0 depends from latest version of this library now.

getPicture() method has been added to IBulletFormat interface and BulletFormat class

This method represents the picture used as a bullet in the paragraph.

Code snippet:

Presentation pres = new Presentation();
try
{
	 //Accessing the first slide
	 ISlide slide = pres.getSlides().get_Item(0);

	 //Instantiate the image for bullets
	 BufferedImage img = null;
	 try {
		 img = ImageIO.read(new File("bullet.jpg"));
	 } catch (IOException e) { }
	 IPPImage imgx = pres.getImages().addImage(img);

	 //Adding and accessing Autoshape
	 IAutoShape aShp = slide.getShapes().addAutoShape(ShapeType.Rectangle, 200, 200, 400, 200);

	 //Accessing the text frame of created autoshape
	 ITextFrame txtFrm = aShp.getTextFrame();
	 //Removing the default exisiting paragraph
	 txtFrm.getParagraphs().removeAt(0);

	 //Creating new paragraph
	 Paragraph para = new Paragraph();
	 para.setText("Welcome to Aspose.Slides");

	 //Setting paragraph bullet style and image
	 para.getParagraphFormat().getBullet().setType(BulletType.Picture);
	 para.getParagraphFormat().getBullet().getPicture().setImage(imgx);

	 //Setting Bullet Height
	 para.getParagraphFormat().getBullet().setHeight(100);

	 //Adding Paragraph to text frame
	 txtFrm.getParagraphs().add(para);

	 //Writing the presentation as a PPTX file
	 pres.save("Bullet.pptx", SaveFormat.Pptx);
	 //Writing the presentation as a PPT file
	 pres.save("Bullet.ppt", SaveFormat.Ppt);
	 //Writing the presentation as a ODP file
	 pres.save("Bullet.odp", SaveFormat.Odp);
}
finally
{
	if(pres != null) pres.dispose();
}

getShowHiddenSlides(), setShowHiddenSlides() methods have been added to IHtmlOptions, IPdfOption, ISwfOptions, ITiffOptions and IXpsOption interfaces and correspondent classes

Methods getShowHiddenSlides() and setShowHiddenSlides() have been added to IHtmlOptions, IPdfOption, ISwfOptions, ITiffOptions, IXpsOption interfaces and HtmlOptions, PdfOption, SwfOptions, TiffOptions, XpsOption classes.

These methods specifies whether the exported document should include hidden slides or not. Default value is “false”.

Code example:

Presentation pres = new Presentation("Presentation.pptx");
try
{
	//Instantiate the PdfOptions class
	PdfOptions pdfOptions = new PdfOptions();

	//Specify that the generated document should include hidden slides
	pdfOptions.setShowHiddenSlides(true);

	//Save the presentation to PDF with specified options
	pres.save("Presentation.pdf", SaveFormat.Pdf, pdfOptions);
}
finally
{
	if(pres != null) pres.dispose();
}