81 void reserve(
int count );
98 if ( a0 < 0 || a0 >= sipCpp->size() )
100 PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
116 SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
132 sipRes = sipCpp->size();
139 QStringList toPlainText()
const;
150 void splitLines(
const QString &wrapCharacter,
int autoWrapLength = 0,
bool useMaxLineLengthWhenAutoWrapping =
true );
161 QVector< QgsTextBlock >::const_iterator begin()
const;
162 QVector< QgsTextBlock >::const_iterator end()
const;
168 QVector< QgsTextBlock > mBlocks;
Represents a block of text consisting of one or more QgsTextFragment objects.
Represents a document consisting of one or more QgsTextBlock objects.
Stores a fragment of text along with formatting overrides to be used when rendering the fragment.