ExporterBase

Overview

ExporterBase is a class in Aspose.Slides FOSS for C++.

Abstract base class for presentation format exporters. Each exporter handles conversion from the internal presentation representation to a specific output format (PPTX, PDF, HTML, etc.). Subclasses should override: - export_to_path(): Export to a file path - export_to_stream(): Export to a binary stream - get_supported_formats(): Return list of SaveFormat values supported

This class provides 6 methods for working with ExporterBase objects in C++ programs. Available methods include: export_presentation, export_to_path, export_to_stream, get_supported_formats, ~ExporterBase. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.

Methods

SignatureDescription
~ExporterBase()
export_to_path(package: opc::OpcPackage, path: std::string_view)Export the presentation to a file path.
export_to_stream(package: opc::OpcPackage, stream: std::ostream)Export the presentation to a binary stream.
get_supported_formats()std::vector<std::string>Get the list of SaveFormat values this exporter supports.
export_presentation(package: opc::OpcPackage, path: std::string_view)Export to either a file path or stream. Dispatches to export_to_path() when called with a string path, or export_to_stream() when called with a stream.
export_presentation(package: opc::OpcPackage, stream: std::ostream)Export to either a file path or stream. Dispatches to export_to_path() when called with a string path, or export_to_stream() when called with a stream.

See Also

 English