Aspose.Slides for C++ is a powerful API to manipulate, render & convert PowerPoint files without requiring Microsoft PowerPoint. API supports high fidelity rendering of slides in the documents to various graphics formats as well as provides the functionality to modify or create almost all the possible contents of the files, format text and shapes on slides and much more.
Aspose.Slides for C++ supports most of the Microsoft PowerPoint and slideshow formats including POT, PPT, PPS, POTX, PPTX, PPSX & ODP and export these to popular formats.
Overview of API.
Aspose.Slides for C++ supports C++ applications.
API supports PowerPoint formats as well as some other commonly used file formats.
Save the presentation to file or stream
Convert presentations to standard formats
Manage built-in & custom document properties
Password protect presentations
Add, format & manipulate charts
Add, format & manipulate shapes
Add, format & manipulate slides
Add, format & manipulate text
Add, format & manipulate tables
Export presentations to PDF & XPS
Export slides in SVG format
Add images to presentations
Generate presentations from database
Support for MSO 2016 Charts
Export presentations as HTML
Import and export HTML text in slides
Add layout slides to presentations
Load protected presentations
Set Font Size of Individual Legend
Create Stock Chart and Get Chart Image
Change Series Color
Set Chart Area Rounded Borders
Change Color of Categories in Series
Set Font Properties for Chart Data Table
Having its own specially designed rendering engine, Aspose.Slides for C++ renders with the highest of fidelity to the Microsoft PowerPoint. It allows exporting presentations to industry-standard formats like XPS and PDF with similar results as of the original presentation.
// load presentation to be converted SharedPtr<Presentation> prs = MakeObject<Presentation>(dir + L"template.pptx"); // save in PDF & XPS formats prs->Save(dir + L"output.pdf", Aspose::Slides::Export::SaveFormat::Pdf); prs->Save(dir + L"output.xps", Aspose::Slides::Export::SaveFormat::Xps);
There are built-in methods provided by Aspose.Slides for C++ to clone or copy existing slides not only within a document but also from one file to the other. Since a slide inherits its layout from the master slide, the built-in cloning methods automatically copy the master during the cloning process.
Library allows formatting shapes and text on slides in a file while using API. Text is managed through text frames associated with shapes, hence text is formatted using paragraphs and portions associated with the text frames. You can manage the font type, color, size, shades as well as the paragraph alignment, bulleting & orientation. One can also manipulate shape element attributes such as size, line, position, image, text and fill with great ease.
Although Aspose.Slides for C++ supports a large number of shapes, however, if a shape is not supported by the API, there is a serialization method provided through which you can serialize that shape from an existing slide for further usage as per application requirement.