13#include <Kanoop/gui/libkanoopgui.h>
14#include <Kanoop/gui/utility/htmlutil.h>
35 void startParagraph(
const QColor& color = QColor(),
const QColor& backgroundColor = QColor());
Streaming HTML fragment builder.
void startStrong()
Append an opening <strong> tag.
void appendText(const QString &text)
Append plain text to the output.
void endParagraph()
Append a closing </p> tag.
QString toString() const
Return the accumulated HTML string.
void endBold()
Append a closing </b> tag.
void endStrong()
Append a closing </strong> tag.
void startParagraph(const QColor &color=QColor(), const QColor &backgroundColor=QColor())
Append an opening <p> tag with optional foreground and background colors.
void startBold()
Append an opening <b> tag.
HtmlBuilder()
Construct an empty builder.