OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef PUBLIC_FPDF_FORMFILL_H_ | 7 #ifndef PUBLIC_FPDF_FORMFILL_H_ |
8 #define PUBLIC_FPDF_FORMFILL_H_ | 8 #define PUBLIC_FPDF_FORMFILL_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 *client area in PDF page coordinate. | 811 *client area in PDF page coordinate. |
812 * Return value: | 812 * Return value: |
813 * None. | 813 * None. |
814 **/ | 814 **/ |
815 void (*FFI_GetPageViewRect)(struct _FPDF_FORMFILLINFO* pThis, | 815 void (*FFI_GetPageViewRect)(struct _FPDF_FORMFILLINFO* pThis, |
816 FPDF_PAGE page, | 816 FPDF_PAGE page, |
817 double* left, | 817 double* left, |
818 double* top, | 818 double* top, |
819 double* right, | 819 double* right, |
820 double* bottom); | 820 double* bottom); |
| 821 |
| 822 /** |
| 823 * Method: FFI_PageEvent |
| 824 * This method fires when pages have been added or deleted. |
| 825 * Interface Version: |
| 826 * 2 |
| 827 * Implementation Required: |
| 828 * yes |
| 829 * Parameters: |
| 830 * pThis - Pointer to the interface structure itself. |
| 831 * page_index - 0-based page number. |
| 832 * event_type - See FXFA_PAGEVIEWEVENT_* above. |
| 833 * Return value: |
| 834 * None. |
| 835 **/ |
| 836 void (*FFI_PageEvent)(struct _FPDF_FORMFILLINFO* pThis, |
| 837 int page_index, |
| 838 FPDF_DWORD event_type); |
| 839 |
821 /** | 840 /** |
822 * Method: FFI_PopupMenu | 841 * Method: FFI_PopupMenu |
823 * This method will track the right context menu for XFA fields. | 842 * This method will track the right context menu for XFA fields. |
824 * Interface Version: | 843 * Interface Version: |
825 * 2 | 844 * 2 |
826 * Implementation Required: | 845 * Implementation Required: |
827 * yes | 846 * yes |
828 * Parameters: | 847 * Parameters: |
829 * pThis - Pointer to the interface structure itself. | 848 * pThis - Pointer to the interface structure itself. |
830 * page - Handle to page. Returned by FPDF_LoadPage | 849 * page - Handle to page. Returned by FPDF_LoadPage |
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1686 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, | 1705 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, |
1687 FPDF_BYTESTRING bsText, | 1706 FPDF_BYTESTRING bsText, |
1688 FPDF_DWORD size); | 1707 FPDF_DWORD size); |
1689 #endif // PDF_ENABLE_XFA | 1708 #endif // PDF_ENABLE_XFA |
1690 | 1709 |
1691 #ifdef __cplusplus | 1710 #ifdef __cplusplus |
1692 } | 1711 } |
1693 #endif | 1712 #endif |
1694 | 1713 |
1695 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1714 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |