Cutelee  6.1.0
Public Member Functions | Public Attributes | List of all members
Cutelee::PlainTextMarkupBuilderPrivate Class Reference

Public Member Functions

 PlainTextMarkupBuilderPrivate (PlainTextMarkupBuilder *b)
 
QString getLetterString (int itemNumber)
 
QString getReferences ()
 
QString getRomanString (int itemNumber)
 

Public Attributes

QString activeLink
 
QList< int > currentListItemNumbers
 
QList< QTextListFormat::Style > currentListItemStyles
 
QString m_text
 
QStringList m_urls
 
PlainTextMarkupBuilderq_ptr
 

Detailed Description

Definition at line 26 of file plaintextmarkupbuilder.cpp.

Member Function Documentation

◆ getLetterString()

QString PlainTextMarkupBuilderPrivate::getLetterString ( int  itemNumber)

Get a letter string to represent a number.

The numbers 1-26 are represented by a-z, and 27-52 by aa-az, 53-79 by ba-bz etc.

Parameters
Thenumber to convert
Returns
The letter string representation of the number.

Definition at line 107 of file plaintextmarkupbuilder.cpp.

◆ getReferences()

QString PlainTextMarkupBuilderPrivate::getReferences ( )

Gets a block of references in the body of the text. This is an ordered list of links and images in the text.

Definition at line 129 of file plaintextmarkupbuilder.cpp.