ExporterBase

Overview

ExporterBase is a class in Aspose.Slides for CPP. Inherits from: ExporterBase.

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

Methods

SignatureDescription
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.