]> www.fi.muni.cz Git - evince.git/blobdiff - backend/pdf/ev-poppler.cc
[pdf] Catch rendition and ocg_state actions
[evince.git] / backend / pdf / ev-poppler.cc
index add48f7448ab85d6a75b28e1d55b11e87a1fd166..6d660b687051aca125cd6f24310685c78cac88bd 100644 (file)
@@ -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";
        }