classafFandoc::TableProcessor
sys::Obj afFandoc::TableProcessor : afFandoc::PreProcessor
@Js
A PreProcessor for rendering tables to HTML.
- table
Str table := "<table>"- tableEnd
Str tableEnd := "</table>"- tbody
Str tbody := "<tbody>"- tbodyEnd
Str tbodyEnd := "</tbody>"- td
Str td := "<td>"- tdEnd
Str tdEnd := "</td>"- textRenderer
|Str->Str textRenderer := |Str->Str| { ... }Hook for rendering cell text. Just returns
text.toXmlby default.- th
Str th := "<th>"- thEnd
Str thEnd := "</th>"- thead
Str thead := "<thead>"- theadEnd
Str theadEnd := "</thead>"- tr
Str tr := "<tr>"- trEnd
Str trEnd := "</tr>"