Issue #24: Text selection and table selection bug

This commit is contained in:
Jakub Melka
2022-08-09 13:25:25 +02:00
parent ae5e2fa9cd
commit b8ca3833bd
4 changed files with 25 additions and 40 deletions

View File

@ -368,7 +368,12 @@ public:
/// \param point1 First point
/// \param point2 Second point
/// \param selectionColor Selection color
PDFTextSelection createTextSelection(PDFInteger pageIndex, const QPointF& point1, const QPointF& point2, QColor selectionColor = Qt::yellow);
/// \param strictSelection If true, does not adjust horizontal range when above/below text block
PDFTextSelection createTextSelection(PDFInteger pageIndex,
const QPointF& point1,
const QPointF& point2,
QColor selectionColor = Qt::yellow,
bool strictSelection = false);
/// Returns string from text selection
/// \param itBegin Iterator (begin range)