#include <KDReportsHtmlElement.h>
The KDReports::HtmlElement class represents any part of the report that can be expressed in HTML. This is one way to insert rich text into the report (the other way is with TextElement). This can be used to create bullet-point lists and numbered lists.
KDReports::HtmlElement::HtmlElement |
( |
const QString & |
html = QString() | ) |
|
|
explicit |
Creates an HTML report element.
KDReports::HtmlElement::~HtmlElement |
( |
| ) |
|
|
override |
KDReports::HtmlElement::HtmlElement |
( |
const HtmlElement & |
other | ) |
|
Copies an HTML element. The HTML and settings are copied over.
QString KDReports::HtmlElement::html |
( |
| ) |
const |
- Returns
- the full HTML text in this element.
- Since
- 1.4
QString KDReports::HtmlElement::id |
( |
| ) |
const |
- Returns
- the ID associated with this text element.
- Since
- 1.2
HtmlElement& KDReports::HtmlElement::operator<< |
( |
const QString & |
| ) |
|
Adds more text to the HTML in this element.
Copies the HTML and settings from another HTML element.
void KDReports::HtmlElement::setHtml |
( |
const QString & |
html | ) |
|
Sets the full HTML text in this element.
void KDReports::HtmlElement::setId |
( |
const QString & |
id | ) |
|
Set the ID associated with this text element.
- Since
- 1.2
The documentation for this class was generated from the following file: