OpenXLSX 1.9.1
Loading...
Searching...
No Matches
OpenXLSX::XLDefinedName Class Reference

A class representing a single defined name in a workbook. More...

#include <XLWorkbook.hpp>

Public Member Functions

 XLDefinedName ()=default
 
 XLDefinedName (const XMLNode &node)
 
std::string name () const
 
void setName (std::string_view name)
 
std::string refersTo () const
 
void setRefersTo (std::string_view formula)
 
std::optional< uint32_t > localSheetId () const
 
void setLocalSheetId (uint32_t id)
 
bool hidden () const
 
void setHidden (bool hidden)
 
std::string comment () const
 
void setComment (std::string_view comment)
 
bool valid () const
 

Detailed Description

A class representing a single defined name in a workbook.

Constructor & Destructor Documentation

◆ XLDefinedName() [1/2]

OpenXLSX::XLDefinedName::XLDefinedName ( )
default

◆ XLDefinedName() [2/2]

XLDefinedName::XLDefinedName ( const XMLNode node)
explicit

Member Function Documentation

◆ comment()

std::string XLDefinedName::comment ( ) const

◆ hidden()

bool XLDefinedName::hidden ( ) const

◆ localSheetId()

std::optional< uint32_t > XLDefinedName::localSheetId ( ) const

◆ name()

std::string XLDefinedName::name ( ) const

◆ refersTo()

std::string XLDefinedName::refersTo ( ) const

◆ setComment()

void XLDefinedName::setComment ( std::string_view  comment)

◆ setHidden()

void XLDefinedName::setHidden ( bool  hidden)

◆ setLocalSheetId()

void XLDefinedName::setLocalSheetId ( uint32_t  id)

◆ setName()

void XLDefinedName::setName ( std::string_view  name)

◆ setRefersTo()

void XLDefinedName::setRefersTo ( std::string_view  formula)

◆ valid()

bool OpenXLSX::XLDefinedName::valid ( ) const
inline

The documentation for this class was generated from the following files: