Return Type | Function name | Arguments |
---|---|---|
hzString | hzHtmTbl::GetCell | (unsigned int,unsigned int,) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
hzString hzHtmTbl::GetCell (unsigned int nRow, unsigned int nCol) { hzHtmElem* pR ; hzHtmElem* pC ; hzString S ; uint32_t row = -1; uint32_t col = 0; if (!m_Children) { S = "No child nodes" ; return S ; } if (!m_nCols) { S = "No columns" ; return S ; } for (pR = GetFirstChild() ; row <&eq; nRow && pR ; row++, pR = pR->Sibling()) { if (row < nRow) continue ; for (pC = pR->GetFirstChild() ; col <&eq; nCol && pC ; col++, pC = pC->Sibling()) { if (col < nCol) continue ; S = pC->m_tmpContent ; break ; } break ; } return S ; }