87 void reserve(
int count );
104 if ( a0 < 0 || a0 >= sipCpp->size() )
106 PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
122 SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
138 sipRes = sipCpp->size();
145 QStringList toPlainText()
const;
156 void splitLines(
const QString &wrapCharacter,
int autoWrapLength = 0,
bool useMaxLineLengthWhenAutoWrapping =
true );
167 QVector< QgsTextBlock >::const_iterator begin()
const;
168 QVector< QgsTextBlock >::const_iterator end()
const;
174 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.