ExporterBase

General

ExporterBase és una classe en Aspose.Slides FOSS per a C++.

Classe de base abstracta per als exportadors de formats de presentació. Cada exportador gestiona la conversió des de la representació interna de les presentacions a un format d’exportació específic (PPTX, PDF, HTML, etc.). Les subclasses han de substituir: - export_to_path(): Exportar a una ruta de fitxer - exporta_a_stream() Exporter a l’estrem binari - get_supported_formats (())): Retornar llista dels valors suportats SaveFormat

Mètodes

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.
 Català