OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
XLPackageServices.hpp File Reference

Narrow package-level ports for XML parts that must touch the OPC package without depending on the full XLDocument façade (open/save/command bus, etc.). More...

#include "IZipArchive.hpp"
#include "OpenXLSX-Exports.hpp"
#include "XLContentTypes.hpp"
#include "XLRelationships.hpp"
#include <cstdint>
#include <string>
#include <string_view>

Go to the source code of this file.

Data Structures

class  OpenXLSX::XLPackageServices
 Abstract package services port (archive + XML parts + relationships + content types). More...

Namespaces

namespace  OpenXLSX

Detailed Description

Narrow package-level ports for XML parts that must touch the OPC package without depending on the full XLDocument façade (open/save/command bus, etc.).

Typical consumers are Drawing / Pivot / Slicer helpers that only need:

  • ZIP archive I/O
  • managed XML part lookup / creation
  • relationship part access
  • [Content_Types].xml registry

Prefer XLXmlFile::package() over parentDoc() when only these services are required. Prefer XLXmlFile::partFactory() for createChart / sheetDrawing / addImage / slicers. Keep parentDoc() for workbook model, styles, persons, and command/query APIs.