diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-04-04 16:55:48 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-04-04 16:55:48 -0400 |
commit | 0e00960a81337b407898728e01f44373d0537aab (patch) | |
tree | 44cad19e23e31052e9741c77ec25338d6475b63b /src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | |
parent | Added support for internal links. Code added for Poppler backend but not enab... (diff) | |
download | lumina-0e00960a81337b407898728e01f44373d0537aab.tar.gz lumina-0e00960a81337b407898728e01f44373d0537aab.tar.bz2 lumina-0e00960a81337b407898728e01f44373d0537aab.zip |
Added propper text annotation handling and changed how links and annotations are shown
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp index 98a351bd..7354cf38 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp @@ -190,8 +190,16 @@ TextData* Renderer::linkList(int pageNum, int entry) { return 0; } +QList<QString> Renderer::annotList(int pageNum, int entry) { + return QList<QString>() << QString() << QString(); +} + int Renderer::linkSize(int pageNum) { return linkHash[pageNum].size(); } +int Renderer::annotSize(int pageNum) { return 0; } + +QRectF Renderer::annotLoc(int pageNum, int entry) { return QRectF(); } + bool Renderer::isExternalLink(int pageNum, QString text) { Poppler::Link* trueLink; foreach(QList<Link*> linkArray, linkHash) { |