aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-04-04 16:55:48 -0400
committerZackaryWelch <welch.zackary@gmail.com>2018-04-04 16:55:48 -0400
commit0e00960a81337b407898728e01f44373d0537aab (patch)
tree44cad19e23e31052e9741c77ec25338d6475b63b /src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp
parentAdded support for internal links. Code added for Poppler backend but not enab... (diff)
downloadlumina-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.cpp8
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) {
bgstack15