diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-06 16:13:33 -0800 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-06 16:19:17 -0800 |
commit | bb5ef88ea69242521915cabde162c9156b0ae947 (patch) | |
tree | def58b1ff2277e27630070b83338e781f3d6c965 /fpdfsdk/include/fpdfformfill.h | |
parent | 90a7c2280f80b3728a3a051b6848678803aaf49e (diff) | |
download | pdfium-bb5ef88ea69242521915cabde162c9156b0ae947.tar.xz |
Change version of FPDF_FORMFILLINFO to 2; Add #define PDF_USE_XFA
Diffstat (limited to 'fpdfsdk/include/fpdfformfill.h')
-rw-r--r-- | fpdfsdk/include/fpdfformfill.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fpdfsdk/include/fpdfformfill.h b/fpdfsdk/include/fpdfformfill.h index a08bfd16b7..bae07ce271 100644 --- a/fpdfsdk/include/fpdfformfill.h +++ b/fpdfsdk/include/fpdfformfill.h @@ -294,7 +294,7 @@ typedef struct _FPDF_SYSTEMTIME typedef struct _FPDF_FORMFILLINFO { /** - * Version number of the interface. Currently must be 1. + * Version number of the interface. Currently must be 2 (with XFA module). **/ int version; @@ -559,7 +559,13 @@ typedef struct _FPDF_FORMFILLINFO * See the Destinations description of <<PDF Reference, version 1.7>> in 8.2.1 for more details. **/ void (*FFI_DoGoToAction)(struct _FPDF_FORMFILLINFO* pThis, int nPageIndex, int zoomMode, float* fPosArray, int sizeofArray); - /** + + /** + * pointer to IPDF_JSPLATFORM interface + **/ + IPDF_JSPLATFORM* m_pJsPlatform; + + /** * Method: FFI_DisplayCaret * This method will show the caret at specified position. * Interface Version: @@ -788,8 +794,6 @@ typedef struct _FPDF_FORMFILLINFO * TRUE indicates success, otherwise FALSE. **/ FPDF_BOOL (*FFI_PutRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDESTRING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsEncode); - - IPDF_JSPLATFORM* m_pJsPlatform; } FPDF_FORMFILLINFO; |