From 84e5a12f186a00bf37a26cc13965f65c25561bd1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 19 Feb 2016 14:25:10 -0800 Subject: Hook up FFI_PageEvent. BUG=pdfium:401 R=jun_fang@foxitsoftware.com, tsepez@chromium.org Review URL: https://codereview.chromium.org/1712763003 . --- public/fpdf_formfill.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'public') diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h index 45c7e52c0c..710dc4e9d2 100644 --- a/public/fpdf_formfill.h +++ b/public/fpdf_formfill.h @@ -818,6 +818,25 @@ typedef struct _FPDF_FORMFILLINFO { double* top, double* right, double* bottom); + + /** + * Method: FFI_PageEvent + * This method fires when pages have been added or deleted. + * Interface Version: + * 2 + * Implementation Required: + * yes + * Parameters: + * pThis - Pointer to the interface structure itself. + * page_index - 0-based page number. + * event_type - See FXFA_PAGEVIEWEVENT_* above. + * Return value: + * None. + **/ + void (*FFI_PageEvent)(struct _FPDF_FORMFILLINFO* pThis, + int page_index, + FPDF_DWORD event_type); + /** * Method: FFI_PopupMenu * This method will track the right context menu for XFA fields. -- cgit v1.2.3