OpcPackage

Overview

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

Abstract interface for an OPC package that stores named parts as byte arrays. Concrete implementations may back this with a ZIP file, in-memory map, etc.

Methods

SignatureDescription
get_part(part_name: std::string_view)std::optional<std::vector<uint8_t>>Retrieve a part’s content by name. Returns nullopt if the part does not exist.
set_part(part_name: std::string_view, content: std::vector<uint8_t>)Store (or overwrite) a part with the given content.
has_part(part_name: std::string_view)boolCheck whether a part exists in the package.
delete_part(part_name: std::string_view)boolDelete a part from the package.