Returns the number of rows. This will not include the row of headers. Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| uint32_t | hzHtmTbl::Rowcount | (void) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
uint32_t hzHtmTbl::Rowcount (void)
{
// Returns the number of rows. This will not include the row of headers.
//
// Arguments: None
// Returns: Number of rows in the table
if (!m_nSubnodes)
{
// threadLog("Table is empty\n") ;
return 0;
}
if (!m_nCols)
{
if (!m_nRows)
Colcount() ;
if (!m_nCols)
m_nRows = m_nSubnodes ;
else
m_nRows = m_nSubnodes - 1;
}
return m_nRows ;
}