QtBase  v6.3.1
Public Types | Public Member Functions | List of all members
QTextHtmlExporter Class Reference

#include <qtextdocument_p.h>

Public Types

enum  ExportMode { ExportEntireDocument , ExportFragment }
 

Public Member Functions

 QTextHtmlExporter (const QTextDocument *_doc)
 
QString toHtml (ExportMode mode=ExportEntireDocument)
 

Detailed Description

Definition at line 400 of file qtextdocument_p.h.

Member Enumeration Documentation

◆ ExportMode

Enumerator
ExportEntireDocument 
ExportFragment 

Definition at line 405 of file qtextdocument_p.h.

Constructor & Destructor Documentation

◆ QTextHtmlExporter()

QTextHtmlExporter::QTextHtmlExporter ( const QTextDocument _doc)

Definition at line 2341 of file qtextdocument.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ toHtml()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: