Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: public/fpdf_formfill.h

Issue 1640233004: XFA: Fix a crashier in SetFocus() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffnotify.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/fpdf_formfill.h
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index b3bbb9280c0e4d82ee0cd120761c29b4d5e28f86..04f260a7e5aad36352eee6e332ae8accefc0768b 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -709,7 +709,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_DisplayCaret
* This method will show the caret at specified position.
* Interface Version:
- * 1
+ * 2
Tom Sepez 2016/01/29 16:47:11 Thanks for correcting these comments.
* Implementation Required:
* yes
* Parameters:
@@ -739,7 +739,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_GetCurrentPageIndex
* This method will get the current page index.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -756,7 +756,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_SetCurrentPage
* This method will set the current page.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -775,7 +775,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_GotoURL
* This method will link to the specified URL.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* no
* Parameters:
@@ -794,7 +794,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_GetPageViewRect
* This method will get the current page view rectangle.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -822,7 +822,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_PopupMenu
* This method will track the right context menu for XFA fields.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -845,7 +845,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_OpenFile
* This method will open the specified file with the specified mode.
* Interface Version
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -868,7 +868,7 @@ typedef struct _FPDF_FORMFILLINFO {
* This method will email the specified file stream to the specified
*contacter.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -899,7 +899,7 @@ typedef struct _FPDF_FORMFILLINFO {
* This method will get upload the specified file stream to the
*specified URL.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -920,7 +920,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_GetPlatform
* This method will get the current platform.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -940,7 +940,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_GetLanguage
* This method will get the current language.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -960,7 +960,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_DownloadFromURL
* This method will download the specified file from the URL.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -975,7 +975,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_PostRequestURL
* This method will post the request to the server URL.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -998,7 +998,7 @@ typedef struct _FPDF_FORMFILLINFO {
* Method: FFI_PutRequestURL
* This method will put the request to the server URL.
* Interface Version:
- * 1
+ * 2
* Implementation Required:
* yes
* Parameters:
@@ -1011,6 +1011,29 @@ 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);
+
+ /**
+ * Method: FFI_PageEvent
+ * This method will notify applications when a page is deleted or
+ *removed.
+ * Interface Version:
+ * 2
+ * Implementation Required:
+ * yes
+ * Parameters:
+ * pThis - Pointer to the interface structure itself.
+ * iPageIndex - The index of which page is modified.
+ * iEventType - Type of events. It can be one of
+ *the following marcos:
+ * 1. FXFA_PAGEVIEWEVENT_POSTADDED
+ * 2. FXFA_PAGEVIEWEVENT_POSTREMOVED
+ * Return value:
+ * None.
+ **/
+ void (*FFI_PageEvent)(struct _FPDF_FORMFILLINFO* pThis,
+ int iPageIndex,
+ int iEventType);
+
#endif // PDF_ENABLE_XFA
} FPDF_FORMFILLINFO;
« no previous file with comments | « fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffnotify.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698