Powerful Security Features
Remove embedded binary objects like VBA projects and ActiveX controls with Aspose.Slides for Node.js via Java 24.7 and boost presentation security within your apps, as illustrated in the following code example.
var loadOptions = new aspose.slides.LoadOptions();
loadOptions.setDeleteEmbeddedBinaryObjects(true);
var pres = new aspose.slides.Presentation("malware.ppt", loadOptions);
pres.save("clean.ppt", aspose.slides.SaveFormat.Ppt);
Source*
Unlock Richer PDF Export
Embed files present within your presentations when exporting to PDF format using the most recent Node.js presentations API version. This code example showcases the feature usage.
var pres = new aspose.slides.Presentation("pres.pptx");
var options = new aspose.slides.PdfOptions();
options.setIncludeOleData(true);
pres.save("pres.pdf", aspose.slides.SaveFormat.Pdf, options);
Source*
Simplified Layout Management
Easily add various placeholder types (content, text, pictures, etc.) to layout slides for intuitive presentation creation. The following code sample demonstrates adding different types of placeholders to layout slides.
var pres = new aspose.slides.Presentation();
// Getting the Blank layout slide
var layout = pres.getLayoutSlides().getByType(java.newByte(aspose.slides.SlideLayoutType.Blank));
// Getting the placeholder manager of the layout slide
var placeholderManager = layout.getPlaceholderManager();
// Adding different placeholders to the Blank layout slide
placeholderManager.addContentPlaceholder(10, 10, 300, 200);
placeholderManager.addVerticalTextPlaceholder(350, 10, 200, 300);
placeholderManager.addChartPlaceholder(10, 350, 300, 300);
placeholderManager.addTablePlaceholder(350, 350, 300, 200);
// Adding the new slide with Blank layout
pres.getSlides().addEmptySlide(layout);
pres.save("placeholders.pptx", aspose.slides.SaveFormat.Pptx);
Source*
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for Node.js via Java 24.7 Release Notes.