Grantlee 5.3.0
|
Creates MediaWiki markup from a QTextDocument. More...
#include <mediawikimarkupbuilder.h>
Definition at line 32 of file mediawikimarkupbuilder.h.
|
overridevirtual |
Add a newline to the markup.
Implements Grantlee::AbstractMarkupBuilder.
Append the plain text text
to the markup
text | The text to append. |
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin a url anchor element in the markup
href | The href of the anchor. |
name | The name of the anchor. |
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin an emphasised element in the markup
Implements Grantlee::AbstractMarkupBuilder.
Begin a level level
header
level | An integer between 1 and 6 |
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin a new list element in the markup. A list element contains list items, and may contain other lists.
style | The style of list to create. |
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin a new list item in the markup
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin a struck out element in the markup
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin a bold element in the markup
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Begin an underlined element in the markup
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the anchor element
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the emphasised element in the markup
Implements Grantlee::AbstractMarkupBuilder.
End a level level
header
level | An integer between 1 and 6 |
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the list.
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
End the list item
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the paragraph in the markup.
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the struck out element in the markup
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the bold element in the markup
Implements Grantlee::AbstractMarkupBuilder.
|
overridevirtual |
Close the underlined element in the markup
Implements Grantlee::AbstractMarkupBuilder.
Escapes text
appropriately for MediaWiki.
|
overridevirtual |
Return the fully marked up result of the building process.
This may contain metadata etc, such as a head element in html.
Implements Grantlee::AbstractMarkupBuilder.