66    QString toPlainText() 
const;
 
   73    void reserve( 
int count );
 
  103    if ( a0 < 0 || a0 > sipCpp->size() )
 
  105      PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
 
  110      sipCpp->insert( a0, *a1 );
 
  167    bool hasBackgrounds() 
const;
 
  172    sipRes = sipCpp->size();
 
  191    if ( a0 < 0 || a0 >= sipCpp->size() )
 
  193      PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
 
  209    SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
 
  219    QVector< QgsTextFragment >::const_iterator begin() 
const;
 
  220    QVector< QgsTextFragment >::const_iterator end() 
const;
 
  226    QVector< QgsTextFragment > mFragments;
 
 
Represents a block of text consisting of one or more QgsTextFragment objects.
 
const QgsTextBlockFormat & blockFormat() const
Returns the block formatting for the fragment.
 
QgsTextBlock()=default
Constructor for an empty text block.
 
Stores a fragment of document along with formatting overrides to be used when rendering the fragment.