DocDiff application: text bounding boxes

This commit is contained in:
Jakub Melka
2021-09-27 11:15:43 +02:00
parent 7f748295c0
commit 3b6784b8e4
4 changed files with 36 additions and 10 deletions

View File

@ -56,6 +56,7 @@ public:
PDFInteger pageIndex = 0;
QString text;
Flags flags = None;
std::vector<QRectF> characterBoundingRects;
bool isText() const { return flags.testFlag(Text); }
bool isSpecial() const { return !isText(); }