16 #ifndef QGSTEXTDOCUMENT_H
17 #define QGSTEXTDOCUMENT_H
20 #include "qgis_core.h"
78 void reserve(
int count );
86 if ( a0 < 0 || a0 >= sipCpp->size() )
88 PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
104 SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
120 sipRes = sipCpp->size();
127 QStringList toPlainText()
const;
138 void splitLines(
const QString &wrapCharacter,
int autoWrapLength = 0,
bool useMaxLineLengthWhenAutoWrapping =
true );
141 QVector< QgsTextBlock >::const_iterator begin()
const;
143 QVector< QgsTextBlock >::const_iterator end()
const;
149 QVector< QgsTextBlock > mBlocks;
153 #endif // QGSTEXTDOCUMENT_H