| Return Type | Function name | Arguments |
|---|---|---|
| hzString | hzHtmTbl::GetColl | (unsigned int,) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
hzString hzHtmTbl::GetColl (unsigned int nCol)
{
hzHtmElem* pE ;
hzHtmElem* pC ;
hzString S ;
uint32_t nIndex ;
if (!m_Children)
return S ;
pE = GetFirstChild() ;
if (!pE->GetFirstChild())
return S ;
nIndex = 0;
for (pC = pE->GetFirstChild() ; pC ; pC = pC->Sibling())
{
if (pC->Type() != HTAG_THEAD)
continue ;
if (nIndex == nCol)
{
S = pC->m_tmpContent ;
break ;
}
nIndex++ ;
}
return S ;
}