MCPcopy Create free account
hub / github.com/c3d/tao3D / fromHTML

Method fromHTML

tao/text_edit.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#include "options.h"
30
31TAO_BEGIN
32
33
34XL::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
44XL::Infix* text_portability::docToTree(const QTextDocument &doc)
45// ----------------------------------------------------------------------------

Callers 1

pasteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected