21#ifndef GRANTLEE_BBCODEBUILDER_H
22#define GRANTLEE_BBCODEBUILDER_H
24#include "abstractmarkupbuilder.h"
55 void beginAnchor(
const QString &href = {},
const QString &name = {})
override;
69 qreal bottom = 0.0, qreal left = 0.0,
70 qreal right = 0.0)
override;
75 void insertImage(
const QString &src, qreal width, qreal height)
override;
77 void beginList(QTextListFormat::Style type)
override;
100 const QString
escape(
const QString &text)
const;
105 QList<QTextListFormat::Style> m_currentListItemStyles;
109 Qt::Alignment m_currentAlignment;
Interface for creating marked-up text output.
void beginSuperscript() override
void endStrikeout() override
void beginList(QTextListFormat::Style type) override
void endAnchor() override
const QString escape(const QString &text) const
void endUnderline() override
void endFontPointSize() override
void beginAnchor(const QString &href={}, const QString &name={}) override
void endSuperscript() override
void endForeground() override
void beginListItem() override
void beginParagraph(Qt::Alignment a=Qt::AlignLeft, qreal top=0.0, qreal bottom=0.0, qreal left=0.0, qreal right=0.0) override
void addNewline() override
void beginForeground(const QBrush &brush) override
void beginTable(qreal, qreal, const QString &) override
void beginStrikeout() override
void beginEmph() override
void endParagraph() override
void beginTableRow() override
void beginFontPointSize(int size) override
void beginSubscript() override
void endSubscript() override
void endStrong() override
void beginUnderline() override
void insertImage(const QString &src, qreal width, qreal height) override
void beginStrong() override
QString getResult() override
void appendLiteralText(const QString &text) override
The Grantlee namespace holds all public Grantlee API.