Splittable band has been fixed

This commit is contained in:
Arin Alexander
2017-08-14 22:39:38 +03:00
parent da3a182e11
commit 96e8fd06bd
6 changed files with 39 additions and 17 deletions

View File

@@ -74,6 +74,7 @@ public:
bool isEmpty() const;
LayoutType layoutType() const;
void setLayoutType(const LayoutType &layoutType);
bool isSplittable() const { return true;}
protected:
void collectionLoadFinished(const QString &collectionName);
void objectLoadFinished();

View File

@@ -783,7 +783,7 @@ QString TextItem::getTextPart(int height, int skipHeight){
int textPos = 0;
TextPtr text = textDocument();
text->documentLayout();
QTextBlock curBlock = text->begin();
QString resultText = "";