From 479a3bc00ec9d7a135a276d94a0b237b5fe03476 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Thu, 27 May 2010 13:10:13 +0000 Subject: [pdf] Catch rendition and ocg_state actions --- 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"; } -- cgit v0.9.1