Index: fpdfsdk/include/fsdk_mgr.h |
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h |
index d686a460cc070cb3d58d63e095ae97605ea09fc2..195dde54fe7dac82ee48a0b844c70dc8340cd2f1 100644 |
--- a/fpdfsdk/include/fsdk_mgr.h |
+++ b/fpdfsdk/include/fsdk_mgr.h |
@@ -450,6 +450,11 @@ class CPDFDoc_Environment final { |
} |
return L""; |
} |
+ void FFI_PageEvent(int iPageIndex, int iEventType) const { |
+ if (!m_pInfo || !m_pInfo->FFI_PageEvent) |
+ return; |
+ m_pInfo->FFI_PageEvent(m_pInfo, iPageIndex, iEventType); |
+ } |
#endif // PDF_ENABLE_XFA |
FX_BOOL IsJSInitiated() const { return m_pInfo && m_pInfo->m_pJsPlatform; } |