The XLAbstractSheet is a generalized sheet class, which functions as superclass for specialized classes, such as XLWorksheet. It implements functionality common to all sheet types. This is a pure abstract class, so it cannot be instantiated.
More...
|
| | XLSheet (XLXmlData *xmlData) |
| | The constructor. There are no default constructor, so all parameters must be provided for constructing an XLAbstractSheet object. Since this is a pure abstract class, instantiation is only possible via one of the derived classes.
|
| |
| | XLSheet (const XLSheet &other)=default |
| | The copy constructor.
|
| |
| | XLSheet (XLSheet &&other) noexcept=default |
| |
| | ~XLSheet ()=default |
| | The destructor.
|
| |
| XLSheet & | operator= (const XLSheet &other)=default |
| | Assignment operator.
|
| |
| XLSheet & | operator= (XLSheet &&other) noexcept=default |
| |
| XLSheetState | visibility () const |
| | Method for getting the current visibility state of the sheet.
|
| |
| void | setVisibility (XLSheetState state) |
| | Method for setting the state of the sheet.
|
| |
| XLColor | color () const |
| |
| void | setColor (const XLColor &color) |
| |
| uint16_t | index () const |
| | Method for getting the index of the sheet.
|
| |
| void | setIndex (uint16_t index) |
| | Method for setting the index of the sheet. This effectively moves the sheet to a different position.
|
| |
| std::string | name () const |
| | Method to retrieve the name of the sheet.
|
| |
| void | setName (const std::string &name) |
| | Method for renaming the sheet.
|
| |
| bool | isSelected () const |
| | Determine whether the sheet is selected.
|
| |
| void | setSelected (bool selected) |
| |
| bool | isActive () const |
| |
| bool | setActive () |
| |
| template<typename SheetType , typename = std::enable_if_t<std::is_same_v<SheetType, XLWorksheet> or std::is_same_v<SheetType, XLChartsheet>>> |
| bool | isType () const |
| | Method to get the type of the sheet.
|
| |
| void | clone (const std::string &newName) |
| | Method for cloning the sheet.
|
| |
| template<typename T , typename = std::enable_if_t<std::is_same_v<T, XLWorksheet> or std::is_same_v<T, XLChartsheet>>> |
| T | get () const |
| |
| | operator XLWorksheet () const |
| |
| | operator XLChartsheet () const |
| |
| void | print (std::basic_ostream< char > &ostr) const |
| | Print the XML contents of the XLSheet using the underlying XMLNode print function.
|
| |
| | 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.
|
| |
| 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.
|
| |
The XLAbstractSheet is a generalized sheet class, which functions as superclass for specialized classes, such as XLWorksheet. It implements functionality common to all sheet types. This is a pure abstract class, so it cannot be instantiated.