libwps::PocketExcelParserInternal::Sheet Struct Reference

the sheet data of a PocketExcelParser More...

Public Member Functions

 Sheet ()
 constructor
 Sheet (Sheet const &)=delete
Sheet & operator= (Sheet const &)=delete
std::vector< WPSColumnFormat > getWidths () const
 return the columns format
float getRowHeight (int row) const
 returns the row size in point
float getRowHeight (int row, int &numRepeated) const
 returns the height of a row in point and updated repeated row

Public Attributes

ColInfo m_defColInfo
 the default column info
std::map< std::pair< int, int >, ColInfo > m_colInfo
 the col info for a sequence of column defined by <minC, maxC>
int m_defRowHeight
 the default row height in dpi
std::map< int, int > m_rowHeight
 the row height in dpi for each specific row
std::set< int > m_hiddenRows
 the list of hidden rows
std::map< std::pair< int, int >, Cell > m_posToCellsMap
 a map position(row,col) to cell
Cell * m_currentCell
 the current cell

Detailed Description

the sheet data of a PocketExcelParser

Constructor & Destructor Documentation

◆ Sheet() [1/2]

libwps::PocketExcelParserInternal::Sheet::Sheet ( )
inline

constructor

Referenced by operator=(), and Sheet().

◆ Sheet() [2/2]

libwps::PocketExcelParserInternal::Sheet::Sheet ( Sheet const & )
delete

Member Function Documentation

◆ getRowHeight() [1/2]

float libwps::PocketExcelParserInternal::Sheet::getRowHeight ( int row) const
inline

returns the row size in point

Referenced by libwps::PocketExcelParser::sendSheet().

◆ getRowHeight() [2/2]

float libwps::PocketExcelParserInternal::Sheet::getRowHeight ( int row,
int & numRepeated ) const
inline

returns the height of a row in point and updated repeated row

◆ getWidths()

std::vector< WPSColumnFormat > libwps::PocketExcelParserInternal::Sheet::getWidths ( ) const
inline

return the columns format

Referenced by libwps::PocketExcelParser::sendSheet().

◆ operator=()

Sheet & libwps::PocketExcelParserInternal::Sheet::operator= ( Sheet const & )
delete

Member Data Documentation

◆ m_colInfo

std::map<std::pair<int, int>, ColInfo> libwps::PocketExcelParserInternal::Sheet::m_colInfo

the col info for a sequence of column defined by <minC, maxC>

Referenced by getWidths(), and Sheet().

◆ m_currentCell

Cell* libwps::PocketExcelParserInternal::Sheet::m_currentCell

the current cell

Referenced by Sheet().

◆ m_defColInfo

ColInfo libwps::PocketExcelParserInternal::Sheet::m_defColInfo

the default column info

Referenced by getWidths(), and Sheet().

◆ m_defRowHeight

int libwps::PocketExcelParserInternal::Sheet::m_defRowHeight

the default row height in dpi

Referenced by getRowHeight(), getRowHeight(), and Sheet().

◆ m_hiddenRows

std::set<int> libwps::PocketExcelParserInternal::Sheet::m_hiddenRows

the list of hidden rows

Referenced by Sheet().

◆ m_posToCellsMap

std::map<std::pair<int, int>, Cell> libwps::PocketExcelParserInternal::Sheet::m_posToCellsMap

a map position(row,col) to cell

Referenced by getWidths(), libwps::PocketExcelParser::sendSheet(), and Sheet().

◆ m_rowHeight

std::map<int, int> libwps::PocketExcelParserInternal::Sheet::m_rowHeight

the row height in dpi for each specific row

Referenced by getRowHeight(), getRowHeight(), and Sheet().


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

Generated on for libwps by doxygen 1.17.0