Reinforced Presentation Security
With Aspose.Slides for Android via Java 24.7, you can safeguard your presentations by eliminating potential threats using the DeleteEmbeddedBinaryObjects
property. Here is how to make your presentations secure on the Android platform with Java integration.
LoadOptions loadOptions = new LoadOptions();
loadOptions.setDeleteEmbeddedBinaryObjects(true);
Presentation pres = new Presentation("malware.ppt", loadOptions);
try {
pres.save("clean.ppt", SaveFormat.Ppt);
} finally {
if (pres != null) pres.dispose();
}
Source*
Versatile PDF Export Functionality
Expand PDF export capabilities in your Android applications by including embedded files with the newly introduced IncludeOleData
property. This code example demonstrates the feature usage.
Presentation pres = new Presentation("pres.pptx");
try {
PdfOptions options = new PdfOptions();
options.setIncludeOleData(true);
pres.save("pres.pdf", SaveFormat.Pdf, options);
} finally {
if (pres != null) pres.dispose();
}
Source*
Dynamic Layout Customization
Add different types of placeholders and create tailored slide layouts with the new ILayoutPlaceholderManager
interface using the latest Android PowerPoint presentations API. The following code snippet shows how to add this functionality to your apps.
Presentation pres = new Presentation();
try {
// Getting the Blank layout slide
ILayoutSlide layout = pres.getLayoutSlides().getByType(SlideLayoutType.Blank);
// Getting the placeholder manager of the layout slide
ILayoutPlaceholderManager 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", SaveFormat.Pptx);
} finally {
if (pres != null) pres.dispose();
}
Source*
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for Android via Java 24.7 Release Notes.