QtBase
v6.3.1
|
#include <qtextdocument_p.h>
Public Types | |
enum | ExportMode { ExportEntireDocument , ExportFragment } |
Public Member Functions | |
QTextHtmlExporter (const QTextDocument *_doc) | |
QString | toHtml (ExportMode mode=ExportEntireDocument) |
Definition at line 400 of file qtextdocument_p.h.
Enumerator | |
---|---|
ExportEntireDocument | |
ExportFragment |
Definition at line 405 of file qtextdocument_p.h.
QTextHtmlExporter::QTextHtmlExporter | ( | const QTextDocument * | _doc | ) |
QString QTextHtmlExporter::toHtml | ( | ExportMode | mode = ExportEntireDocument | ) |
Returns the document in HTML format. The conversion may not be perfect, especially for complex documents, due to the limitations of HTML.
Definition at line 2358 of file qtextdocument.cpp.