[evince] [pdf] Catch rendition and ocg_state actions



commit 479a3bc00ec9d7a135a276d94a0b237b5fe03476
Author: Hib Eris <hib hiberis nl>
Date:   Thu May 27 15:10:13 2010 +0200

    [pdf] Catch rendition and ocg_state actions

 backend/pdf/ev-poppler.cc |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index add48f7..6d660b6 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -1163,6 +1163,14 @@ ev_link_from_action (PdfDocument   *pdf_document,
 	        case POPPLER_ACTION_MOVIE:
 			unimplemented_action = "POPPLER_ACTION_MOVIE";
 			break;
+#if POPPLER_CHECK_VERSION (0, 13, 2)
+	        case POPPLER_ACTION_RENDITION:
+			unimplemented_action = "POPPLER_ACTION_RENDITION";
+			break;
+	        case POPPLER_ACTION_OCG_STATE:
+			unimplemented_action = "POPPLER_ACTION_OCG_STATE";
+			break;
+#endif
 	        case POPPLER_ACTION_UNKNOWN:
 			unimplemented_action = "POPPLER_ACTION_UNKNOWN";
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]