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 4 methods for working with ExporterBase objects in Go programs.
Available methods include: export_presentation, export_to_path, export_to_stream, get_supported_formats.
All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go.
Methods
| Signature | Description |
|---|---|
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. |