void HtmlReport::addTableRow(std::string t1, std::string t2, std::string t3, std::string t4) { if (isTableRow_) endTableRow(); addTableCell(t1); if (t2.size() != 0 || t3.size() != 0 || t4.size() !=0) addTableCell(t2); if (t3.size() != 0 || t4.size() !=0) addTableCell(t3); if (t4.size() !=0) addTableCell(t4); endTableRow(); }
CCObject* CHandBookHeroLayer::tableviewDataSource( CCObject* pConvertCell, unsigned int uIdx ) { CTableViewCell *pCell = (CTableViewCell*)(pConvertCell); if (!pCell) { pCell = new CTableViewCell; pCell->autorelease(); addTableCell(uIdx, pCell); } else { pCell->removeAllChildren(); addTableCell(uIdx, pCell); } return pCell; }
void mmHTMLBuilder::addTableCellLink(const wxString& href , const wxString& value) { addTableCell(wxString::Format(tags::TABLE_CELL_LINK, href, value )); }