|
| | XLAppProperties ()=default |
| | Default constructor.
|
| | XLAppProperties (XLXmlData *xmlData, XMLDocument const &workbookXml) |
| | Constructor for creating from existing data and workbook.
|
| | XLAppProperties (XLXmlData *xmlData) |
| | Constructor for existing XML data.
|
| | XLAppProperties (const XLAppProperties &other)=default |
| | Copy constructor.
|
| | XLAppProperties (XLAppProperties &&other) noexcept=default |
| | Move constructor.
|
| | ~XLAppProperties () |
| | Destructor.
|
| XLAppProperties & | operator= (const XLAppProperties &other)=default |
| | Copy assignment operator.
|
| XLAppProperties & | operator= (XLAppProperties &&other) noexcept=default |
| | Move assignment operator.
|
| void | incrementSheetCount (int16_t increment) |
| | Increment or decrement the worksheet count in HeadingPairs and TitlesOfParts.
|
| void | alignWorksheets (const std::vector< std::string > &workbookSheetNames) |
| | Align the sheet names in TitlesOfParts with the actual workbook sheet names.
|
| void | addSheetName (std::string_view title) |
| | Add a sheet name to TitlesOfParts.
|
| void | deleteSheetName (std::string_view title) |
| | Delete a sheet name from TitlesOfParts.
|
| void | setSheetName (std::string_view oldTitle, std::string_view newTitle) |
| | Update a sheet name in TitlesOfParts.
|
| void | addHeadingPair (std::string_view name, int value) |
| | Add a HeadingPair (e.g., "Worksheets").
|
| void | deleteHeadingPair (std::string_view name) |
| | Delete a HeadingPair.
|
| void | setHeadingPair (std::string_view name, int newValue) |
| | Update a HeadingPair value.
|
| void | setProperty (std::string_view name, std::string_view value) |
| | Set a generic property in app.xml.
|
| std::string | property (std::string_view name) const |
| | Get a property value from app.xml.
|
| void | deleteProperty (std::string_view name) |
| | Delete a property from app.xml.
|
| void | appendSheetName (std::string_view sheetName) |
| | Append a sheet name.
|
| void | prependSheetName (std::string_view sheetName) |
| | Prepend a sheet name.
|
| void | insertSheetName (std::string_view sheetName, unsigned int index) |
| | Insert a sheet name at a specific index.
|
| | XLXmlFile ()=default |
| | Default constructor.
|
| std::string | xmlData (XLXmlSavingDeclaration savingDeclaration=XLXmlSavingDeclaration{}) const |
| | Method for getting the XML data represented by the object.
|
| | XLXmlFile (XLXmlData *xmlData) |
| | Constructor. Creates an object based on the xmlData input.
|
| | XLXmlFile (const XLXmlFile &other)=default |
| | Copy constructor. Default implementation used.
|
| | XLXmlFile (XLXmlFile &&other) noexcept=default |
| | Move constructor. Default implementation used.
|
| | ~XLXmlFile ()=default |
| | Destructor. Default implementation used.
|
| bool | valid () const |
| | check whether class is linked to a valid XML file
|
| XLXmlFile & | operator= (const XLXmlFile &other)=default |
| | The copy assignment operator. The default implementation has been used.
|
| XLXmlFile & | operator= (XLXmlFile &&other) noexcept=default |
| | The move assignment operator. The default implementation has been used.
|
| XLDocument & | parentDoc () |
| | This function provides access to the parent XLDocument object.
|
| const XLDocument & | parentDoc () const |
| | This function provides access to the parent XLDocument object.
|
| XLPackageServices & | package () |
| | Narrow package-services port (archive, managed XML parts, relationships, content types).
|
| const XLPackageServices & | package () const |
| XLPackagePartFactory & | partFactory () |
| | Narrow package-part factory port (chart / drawing / image / slicer / sheet accessories).
|
| const XLPackagePartFactory & | partFactory () const |
| const XLSharedStringTable & | sharedStringTable () const |
| | Read-only shared string table (SST) port.
|
| const XLSharedStrings & | sharedStrings () const |
| | Full workbook SST (including getOrCreate / append).
|
| XMLDocument & | xmlDocument () |
| | This function provides access to the underlying XMLDocument object.
|
| const XMLDocument & | xmlDocument () const |
| | This function provides access to the underlying XMLDocument object.
|
| std::string | getXmlPath () const |
| | Retrieve the path of the XML data in the .xlsx zip archive via m_xmlData->getXmlPath.
|
| const XLXmlData * | xmlDataPart () const noexcept |
| | Access the underlying XLXmlData pointer.
|
| XLXmlData * | xmlDataPart () noexcept |
The XLAppProperties class represents the extended/application properties (docProps/app.xml).