Lines Matching defs:tag
100 wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& tag, double pixel_scale = 1.0);
107 void AddRow(const wxHtmlTag& tag);
108 void AddCell(wxHtmlContainerCell *cell, const wxHtmlTag& tag);
126 wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& tag, double pixel_scale)
131 (tag.HasParam(wxT("BORDER")) && tag.GetParam(wxT("BORDER")) != wxT("0"));
138 if (tag.HasParam(wxT("BGCOLOR")))
140 tag.GetParamAsColour(wxT("BGCOLOR"), &m_tBkg);
144 if (tag.HasParam(wxT("VALIGN")))
145 m_tValign = tag.GetParam(wxT("VALIGN"));
148 if (!tag.GetParamAsInt(wxT("CELLSPACING"), &m_Spacing))
150 if (!tag.GetParamAsInt(wxT("CELLPADDING"), &m_Padding))
225 void wxHtmlTableCell::AddRow(const wxHtmlTag& tag)
234 if (tag.HasParam(wxT("BGCOLOR")))
235 tag.GetParamAsColour(wxT("BGCOLOR"), &m_rBkg);
236 if (tag.HasParam(wxT("VALIGN")))
237 m_rValign = tag.GetParam(wxT("VALIGN"));
244 void wxHtmlTableCell::AddCell(wxHtmlContainerCell *cell, const wxHtmlTag& tag)
278 if (tag.HasParam(wxT("WIDTH")))
280 wxString wd = tag.GetParam(wxT("WIDTH"));
304 tag.GetParamAsInt(wxT("COLSPAN"), &m_CellInfo[r][c].colspan);
305 tag.GetParamAsInt(wxT("ROWSPAN"), &m_CellInfo[r][c].rowspan);
336 if (tag.HasParam(wxT("BGCOLOR")))
337 tag.GetParamAsColour(wxT("BGCOLOR"), &bk);
347 if (tag.HasParam(wxT("VALIGN")))
348 valign = tag.GetParam(wxT("VALIGN"));
360 if (tag.HasParam(wxT("NOWRAP")))
678 TAG_HANDLER_PROC(tag)
683 if (tag.GetName() == wxT("TABLE"))
690 m_Table = new wxHtmlTableCell(c, tag, m_WParser->GetPixelScale());
694 if (tag.HasParam(wxT("WIDTH")))
696 wxString wd = tag.GetParam(wxT("WIDTH"));
716 if (tag.HasParam(wxT("ALIGN")))
717 m_tAlign = tag.GetParam(wxT("ALIGN"));
719 ParseInner(tag);
735 if (tag.GetName() == wxT("TR"))
737 m_Table->AddRow(tag);
739 if (tag.HasParam(wxT("ALIGN")))
740 m_rAlign = tag.GetParam(wxT("ALIGN"));
747 m_Table->AddCell(c, tag);
751 if (tag.GetName() == wxT("TH")) /*header style*/
759 if (tag.HasParam(wxT("ALIGN")))
760 als = tag.GetParam(wxT("ALIGN"));
771 ParseInner(tag);