| 29 | #include "options.h" |
| 30 | |
| 31 | TAO_BEGIN |
| 32 | |
| 33 | |
| 34 | XL::Infix * text_portability::fromHTML(QString html) |
| 35 | // ---------------------------------------------------------------------------- |
| 36 | // Translate an HTML formated text into XL::Tree |
| 37 | // ---------------------------------------------------------------------------- |
| 38 | { |
| 39 | QTextDocument doc; |
| 40 | doc.setHtml(html); |
| 41 | return docToTree(doc); |
| 42 | } |
| 43 | |
| 44 | XL::Infix* text_portability::docToTree(const QTextDocument &doc) |
| 45 | // ---------------------------------------------------------------------------- |