STOFFChart::Position Struct Reference

a cell position More...

#include <STOFFChart.hxx>

Public Member Functions

 Position (STOFFVec2i pos=STOFFVec2i(-1,-1), librevenge::RVNGString const &sheetName="")
 constructor More...
 
bool valid () const
 return true if the position is valid More...
 
bool valid (Position const &maxPos) const
 return true if the position is valid More...
 
librevenge::RVNGString getCellName () const
 return the cell name More...
 
bool operator== (Position &pos) const
 operator== More...
 
bool operator!= (Position &pos) const
 operator!= More...
 

Public Attributes

STOFFVec2i m_pos
 the cell column and row More...
 
librevenge::RVNGString m_sheetName
 the cell sheet name More...
 

Friends

std::ostream & operator<< (std::ostream &o, Position const &pos)
 operator<< More...
 

Detailed Description

a cell position

Constructor & Destructor Documentation

◆ Position()

STOFFChart::Position::Position ( STOFFVec2i  pos = STOFFVec2i(-1,-1),
librevenge::RVNGString const &  sheetName = "" 
)
inlineexplicit

constructor

Member Function Documentation

◆ getCellName()

librevenge::RVNGString STOFFChart::Position::getCellName ( ) const

return the cell name

◆ operator!=()

bool STOFFChart::Position::operator!= ( Position pos) const
inline

operator!=

◆ operator==()

bool STOFFChart::Position::operator== ( Position pos) const
inline

operator==

Referenced by operator!=().

◆ valid() [1/2]

bool STOFFChart::Position::valid ( ) const
inline

return true if the position is valid

Referenced by getCellName(), STOFFChart::Serie::valid(), STOFFChart::TextZone::valid(), and valid().

◆ valid() [2/2]

bool STOFFChart::Position::valid ( Position const &  maxPos) const
inline

return true if the position is valid

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
STOFFChart::Position const &  pos 
)
friend

operator<<

Member Data Documentation

◆ m_pos

STOFFVec2i STOFFChart::Position::m_pos

the cell column and row

Referenced by getCellName(), operator==(), and valid().

◆ m_sheetName

librevenge::RVNGString STOFFChart::Position::m_sheetName

the cell sheet name

Referenced by getCellName(), operator==(), and valid().


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

Generated on Wed Mar 15 2023 00:00:00 for libstaroffice by doxygen 1.9.1