[evince] pdf: Create highlight annotations for existing annotations in document
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] pdf: Create highlight annotations for existing annotations in document
- Date: Sun, 16 Nov 2014 10:10:40 +0000 (UTC)
commit 53c349e804317325a6dd20330d4b6ebcb986c63b
Author: Giselle Reis <gisellemnr src gnome org>
Date: Thu Aug 7 16:03:39 2014 +0200
pdf: Create highlight annotations for existing annotations in document
Implementing the type and a method to create
highlight annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=583377
backend/pdf/ev-poppler.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 631eab4..086563f 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -2872,6 +2872,9 @@ ev_annot_from_poppler_annot (PopplerAnnot *poppler_annot,
g_object_unref (poppler_attachment);
}
break;
+ case POPPLER_ANNOT_HIGHLIGHT:
+ ev_annot = ev_annotation_text_markup_highlight_new (page);
+ break;
case POPPLER_ANNOT_LINK:
case POPPLER_ANNOT_WIDGET:
/* Ignore link and widgets annots since they are already handled */
@@ -2879,7 +2882,6 @@ ev_annot_from_poppler_annot (PopplerAnnot *poppler_annot,
case POPPLER_ANNOT_3D:
case POPPLER_ANNOT_CARET:
case POPPLER_ANNOT_FREE_TEXT:
- case POPPLER_ANNOT_HIGHLIGHT:
case POPPLER_ANNOT_LINE:
case POPPLER_ANNOT_SCREEN:
case POPPLER_ANNOT_SOUND:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]