Return TypeFunction nameArguments
hzStringhzHtmTbl::GetCell(unsigned int,unsigned int,)

Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp

Function Logic:

0:START 1:!m_Children 2:S 3:Return S 4:!m_nCols 5:S 6:Return S 7:row<=nRow&&pR; 8:row 9:col<=nCol&&pC; 10:col 11:S 12:Return S

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 ;
}