|
|
|
@ -114,7 +114,9 @@ const QString KPDFPage::getTextInRect( const QRect & rect, double zoom ) const |
|
|
|
right = (int)((double)rect.right() / zoom), |
|
|
|
right = (int)((double)rect.right() / zoom), |
|
|
|
bottom = (int)((double)rect.bottom() / zoom); |
|
|
|
bottom = (int)((double)rect.bottom() / zoom); |
|
|
|
GString * text = m_text->getText( left, top, right, bottom ); |
|
|
|
GString * text = m_text->getText( left, top, right, bottom ); |
|
|
|
return QString::fromUtf8( text->getCString() ); |
|
|
|
QString result = QString::fromUtf8( text->getCString() ); |
|
|
|
|
|
|
|
delete text; |
|
|
|
|
|
|
|
return result;
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|