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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
702 * pointer to IPDF_JSPLATFORM interface | 702 * pointer to IPDF_JSPLATFORM interface |
703 **/ | 703 **/ |
704 IPDF_JSPLATFORM* m_pJsPlatform; | 704 IPDF_JSPLATFORM* m_pJsPlatform; |
705 | 705 |
706 #ifdef PDF_ENABLE_XFA | 706 #ifdef PDF_ENABLE_XFA |
707 /* Version 2. */ | 707 /* Version 2. */ |
708 /** | 708 /** |
709 * Method: FFI_DisplayCaret | 709 * Method: FFI_DisplayCaret |
710 * This method will show the caret at specified position. | 710 * This method will show the caret at specified position. |
711 * Interface Version: | 711 * Interface Version: |
712 * 1 | 712 * 2 |
Tom Sepez
2016/01/29 16:47:11
Thanks for correcting these comments.
| |
713 * Implementation Required: | 713 * Implementation Required: |
714 * yes | 714 * yes |
715 * Parameters: | 715 * Parameters: |
716 * pThis - Pointer to the interface structure itself. | 716 * pThis - Pointer to the interface structure itself. |
717 * page - Handle to page. Returned by FPDF_LoadPage | 717 * page - Handle to page. Returned by FPDF_LoadPage |
718 *function. | 718 *function. |
719 * left - Left position of the client area in PDF page | 719 * left - Left position of the client area in PDF page |
720 *coordinate. | 720 *coordinate. |
721 * top - Top position of the client area in PDF page | 721 * top - Top position of the client area in PDF page |
722 *coordinate. | 722 *coordinate. |
723 * right - Right position of the client area in PDF page | 723 * right - Right position of the client area in PDF page |
724 *coordinate. | 724 *coordinate. |
725 * bottom - Bottom position of the client area in PDF page | 725 * bottom - Bottom position of the client area in PDF page |
726 *coordinate. | 726 *coordinate. |
727 * Return value: | 727 * Return value: |
728 * None. | 728 * None. |
729 **/ | 729 **/ |
730 void (*FFI_DisplayCaret)(struct _FPDF_FORMFILLINFO* pThis, | 730 void (*FFI_DisplayCaret)(struct _FPDF_FORMFILLINFO* pThis, |
731 FPDF_PAGE page, | 731 FPDF_PAGE page, |
732 FPDF_BOOL bVisible, | 732 FPDF_BOOL bVisible, |
733 double left, | 733 double left, |
734 double top, | 734 double top, |
735 double right, | 735 double right, |
736 double bottom); | 736 double bottom); |
737 | 737 |
738 /** | 738 /** |
739 * Method: FFI_GetCurrentPageIndex | 739 * Method: FFI_GetCurrentPageIndex |
740 * This method will get the current page index. | 740 * This method will get the current page index. |
741 * Interface Version: | 741 * Interface Version: |
742 * 1 | 742 * 2 |
743 * Implementation Required: | 743 * Implementation Required: |
744 * yes | 744 * yes |
745 * Parameters: | 745 * Parameters: |
746 * pThis - Pointer to the interface structure itself. | 746 * pThis - Pointer to the interface structure itself. |
747 * document - Handle to document. Returned by FPDF_LoadDocument | 747 * document - Handle to document. Returned by FPDF_LoadDocument |
748 *function. | 748 *function. |
749 * Return value: | 749 * Return value: |
750 * The index of current page. | 750 * The index of current page. |
751 **/ | 751 **/ |
752 int (*FFI_GetCurrentPageIndex)(struct _FPDF_FORMFILLINFO* pThis, | 752 int (*FFI_GetCurrentPageIndex)(struct _FPDF_FORMFILLINFO* pThis, |
753 FPDF_DOCUMENT document); | 753 FPDF_DOCUMENT document); |
754 | 754 |
755 /** | 755 /** |
756 * Method: FFI_SetCurrentPage | 756 * Method: FFI_SetCurrentPage |
757 * This method will set the current page. | 757 * This method will set the current page. |
758 * Interface Version: | 758 * Interface Version: |
759 * 1 | 759 * 2 |
760 * Implementation Required: | 760 * Implementation Required: |
761 * yes | 761 * yes |
762 * Parameters: | 762 * Parameters: |
763 * pThis - Pointer to the interface structure itself. | 763 * pThis - Pointer to the interface structure itself. |
764 * document - Handle to document. Returned by FPDF_LoadDocument | 764 * document - Handle to document. Returned by FPDF_LoadDocument |
765 *function. | 765 *function. |
766 * iCurPage - The index of the PDF page. | 766 * iCurPage - The index of the PDF page. |
767 * Return value: | 767 * Return value: |
768 * None. | 768 * None. |
769 **/ | 769 **/ |
770 void (*FFI_SetCurrentPage)(struct _FPDF_FORMFILLINFO* pThis, | 770 void (*FFI_SetCurrentPage)(struct _FPDF_FORMFILLINFO* pThis, |
771 FPDF_DOCUMENT document, | 771 FPDF_DOCUMENT document, |
772 int iCurPage); | 772 int iCurPage); |
773 | 773 |
774 /** | 774 /** |
775 * Method: FFI_GotoURL | 775 * Method: FFI_GotoURL |
776 * This method will link to the specified URL. | 776 * This method will link to the specified URL. |
777 * Interface Version: | 777 * Interface Version: |
778 * 1 | 778 * 2 |
779 * Implementation Required: | 779 * Implementation Required: |
780 * no | 780 * no |
781 * Parameters: | 781 * Parameters: |
782 * pThis - Pointer to the interface structure itself. | 782 * pThis - Pointer to the interface structure itself. |
783 * document - Handle to document. Returned by FPDF_LoadDocument | 783 * document - Handle to document. Returned by FPDF_LoadDocument |
784 *function. | 784 *function. |
785 * wsURL - The string value of the URL, in UTF-16LE format. | 785 * wsURL - The string value of the URL, in UTF-16LE format. |
786 * Return value: | 786 * Return value: |
787 * None. | 787 * None. |
788 **/ | 788 **/ |
789 void (*FFI_GotoURL)(struct _FPDF_FORMFILLINFO* pThis, | 789 void (*FFI_GotoURL)(struct _FPDF_FORMFILLINFO* pThis, |
790 FPDF_DOCUMENT document, | 790 FPDF_DOCUMENT document, |
791 FPDF_WIDESTRING wsURL); | 791 FPDF_WIDESTRING wsURL); |
792 | 792 |
793 /** | 793 /** |
794 * Method: FFI_GetPageViewRect | 794 * Method: FFI_GetPageViewRect |
795 * This method will get the current page view rectangle. | 795 * This method will get the current page view rectangle. |
796 * Interface Version: | 796 * Interface Version: |
797 * 1 | 797 * 2 |
798 * Implementation Required: | 798 * Implementation Required: |
799 * yes | 799 * yes |
800 * Parameters: | 800 * Parameters: |
801 * pThis - Pointer to the interface structure itself. | 801 * pThis - Pointer to the interface structure itself. |
802 * page - Handle to page. Returned by FPDF_LoadPage | 802 * page - Handle to page. Returned by FPDF_LoadPage |
803 *function. | 803 *function. |
804 * left - The pointer to receive left position of the page | 804 * left - The pointer to receive left position of the page |
805 *view area in PDF page coordinate. | 805 *view area in PDF page coordinate. |
806 * top - The pointer to receive top position of the page | 806 * top - The pointer to receive top position of the page |
807 *view area in PDF page coordinate. | 807 *view area in PDF page coordinate. |
808 * right - The pointer to receive right position of the | 808 * right - The pointer to receive right position of the |
809 *client area in PDF page coordinate. | 809 *client area in PDF page coordinate. |
810 * bottom - The pointer to receive bottom position of the | 810 * bottom - The pointer to receive bottom position of the |
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 /** | 821 /** |
822 * Method: FFI_PopupMenu | 822 * Method: FFI_PopupMenu |
823 * This method will track the right context menu for XFA fields. | 823 * This method will track the right context menu for XFA fields. |
824 * Interface Version: | 824 * Interface Version: |
825 * 1 | 825 * 2 |
826 * Implementation Required: | 826 * Implementation Required: |
827 * yes | 827 * yes |
828 * Parameters: | 828 * Parameters: |
829 * pThis - Pointer to the interface structure itself. | 829 * pThis - Pointer to the interface structure itself. |
830 * page - Handle to page. Returned by FPDF_LoadPage | 830 * page - Handle to page. Returned by FPDF_LoadPage |
831 *function. | 831 *function. |
832 * hWidget - Handle to XFA fields. | 832 * hWidget - Handle to XFA fields. |
833 * menuFlag - The menu flags. Please refer to macro definition | 833 * menuFlag - The menu flags. Please refer to macro definition |
834 *of FXFA_MEMU_XXX and this can be one or a combination of these macros. | 834 *of FXFA_MEMU_XXX and this can be one or a combination of these macros. |
835 * x - X position of the client area in PDF page | 835 * x - X position of the client area in PDF page |
836 *coordinate. | 836 *coordinate. |
837 * y - Y position of the client area in PDF page | 837 * y - Y position of the client area in PDF page |
838 *coordinate. | 838 *coordinate. |
839 * Return value: | 839 * Return value: |
840 * TRUE indicates success; otherwise false. | 840 * TRUE indicates success; otherwise false. |
841 **/ | 841 **/ |
842 FPDF_BOOL (*FFI_PopupMenu)(struct _FPDF_FORMFILLINFO* pThis, FPDF_PAGE page, F PDF_WIDGET hWidget, int menuFlag, float x, float y); | 842 FPDF_BOOL (*FFI_PopupMenu)(struct _FPDF_FORMFILLINFO* pThis, FPDF_PAGE page, F PDF_WIDGET hWidget, int menuFlag, float x, float y); |
843 | 843 |
844 /** | 844 /** |
845 * Method: FFI_OpenFile | 845 * Method: FFI_OpenFile |
846 * This method will open the specified file with the specified mode. | 846 * This method will open the specified file with the specified mode. |
847 * Interface Version | 847 * Interface Version |
848 * 1 | 848 * 2 |
849 * Implementation Required: | 849 * Implementation Required: |
850 * yes | 850 * yes |
851 * Parameters: | 851 * Parameters: |
852 * pThis - Pointer to the interface structure itself. | 852 * pThis - Pointer to the interface structure itself. |
853 * fileFlag - The file flag.Please refer to macro definition of | 853 * fileFlag - The file flag.Please refer to macro definition of |
854 *FXFA_SAVEAS_XXX and this can be one of these macros. | 854 *FXFA_SAVEAS_XXX and this can be one of these macros. |
855 * wsURL - The string value of the file URL, in UTF-16LE | 855 * wsURL - The string value of the file URL, in UTF-16LE |
856 *format. | 856 *format. |
857 * mode - The mode for open file. | 857 * mode - The mode for open file. |
858 * Return value: | 858 * Return value: |
859 * The handle to FPDF_FILEHANDLER. | 859 * The handle to FPDF_FILEHANDLER. |
860 **/ | 860 **/ |
861 FPDF_FILEHANDLER* (*FFI_OpenFile)(struct _FPDF_FORMFILLINFO* pThis, | 861 FPDF_FILEHANDLER* (*FFI_OpenFile)(struct _FPDF_FORMFILLINFO* pThis, |
862 int fileFlag, | 862 int fileFlag, |
863 FPDF_WIDESTRING wsURL, | 863 FPDF_WIDESTRING wsURL, |
864 const char* mode); | 864 const char* mode); |
865 | 865 |
866 /** | 866 /** |
867 * Method: FFI_EmailTo | 867 * Method: FFI_EmailTo |
868 * This method will email the specified file stream to the specified | 868 * This method will email the specified file stream to the specified |
869 *contacter. | 869 *contacter. |
870 * Interface Version: | 870 * Interface Version: |
871 * 1 | 871 * 2 |
872 * Implementation Required: | 872 * Implementation Required: |
873 * yes | 873 * yes |
874 * Parameters: | 874 * Parameters: |
875 * pThis - Pointer to the interface structure itself. | 875 * pThis - Pointer to the interface structure itself. |
876 * pFileHandler - Handle to the FPDF_FILEHANDLER. | 876 * pFileHandler - Handle to the FPDF_FILEHANDLER. |
877 * pTo - A semicolon-delimited list of recipients for the | 877 * pTo - A semicolon-delimited list of recipients for the |
878 *message,in UTF-16LE format. | 878 *message,in UTF-16LE format. |
879 * pSubject - The subject of the message,in UTF-16LE format. | 879 * pSubject - The subject of the message,in UTF-16LE format. |
880 * pCC - A semicolon-delimited list of CC recipients for | 880 * pCC - A semicolon-delimited list of CC recipients for |
881 *the message,in UTF-16LE format. | 881 *the message,in UTF-16LE format. |
(...skipping 10 matching lines...) Expand all Loading... | |
892 FPDF_WIDESTRING pSubject, | 892 FPDF_WIDESTRING pSubject, |
893 FPDF_WIDESTRING pCC, | 893 FPDF_WIDESTRING pCC, |
894 FPDF_WIDESTRING pBcc, | 894 FPDF_WIDESTRING pBcc, |
895 FPDF_WIDESTRING pMsg); | 895 FPDF_WIDESTRING pMsg); |
896 | 896 |
897 /** | 897 /** |
898 * Method: FFI_UploadTo | 898 * Method: FFI_UploadTo |
899 * This method will get upload the specified file stream to the | 899 * This method will get upload the specified file stream to the |
900 *specified URL. | 900 *specified URL. |
901 * Interface Version: | 901 * Interface Version: |
902 * 1 | 902 * 2 |
903 * Implementation Required: | 903 * Implementation Required: |
904 * yes | 904 * yes |
905 * Parameters: | 905 * Parameters: |
906 * pThis - Pointer to the interface structure itself. | 906 * pThis - Pointer to the interface structure itself. |
907 * pFileHandler - Handle to the FPDF_FILEHANDLER. | 907 * pFileHandler - Handle to the FPDF_FILEHANDLER. |
908 * fileFlag - The file flag.Please refer to macro definition of | 908 * fileFlag - The file flag.Please refer to macro definition of |
909 *FXFA_SAVEAS_XXX and this can be one of these macros. | 909 *FXFA_SAVEAS_XXX and this can be one of these macros. |
910 * uploadTo - Pointer to the URL path, in UTF-16LE format. | 910 * uploadTo - Pointer to the URL path, in UTF-16LE format. |
911 * Return value: | 911 * Return value: |
912 * None. | 912 * None. |
913 **/ | 913 **/ |
914 void (*FFI_UploadTo)(struct _FPDF_FORMFILLINFO* pThis, | 914 void (*FFI_UploadTo)(struct _FPDF_FORMFILLINFO* pThis, |
915 FPDF_FILEHANDLER* fileHandler, | 915 FPDF_FILEHANDLER* fileHandler, |
916 int fileFlag, | 916 int fileFlag, |
917 FPDF_WIDESTRING uploadTo); | 917 FPDF_WIDESTRING uploadTo); |
918 | 918 |
919 /** | 919 /** |
920 * Method: FFI_GetPlatform | 920 * Method: FFI_GetPlatform |
921 * This method will get the current platform. | 921 * This method will get the current platform. |
922 * Interface Version: | 922 * Interface Version: |
923 * 1 | 923 * 2 |
924 * Implementation Required: | 924 * Implementation Required: |
925 * yes | 925 * yes |
926 * Parameters: | 926 * Parameters: |
927 * pThis - Pointer to the interface structure itself. | 927 * pThis - Pointer to the interface structure itself. |
928 * platform - Pointer to the data buffer to receive the | 928 * platform - Pointer to the data buffer to receive the |
929 *platform.Can be NULL,in UTF-16LE format. | 929 *platform.Can be NULL,in UTF-16LE format. |
930 * length - The length of the buffer, number of bytes. Can be | 930 * length - The length of the buffer, number of bytes. Can be |
931 *0. | 931 *0. |
932 * Return value: | 932 * Return value: |
933 * The length of the buffer, number of bytes. | 933 * The length of the buffer, number of bytes. |
934 **/ | 934 **/ |
935 int (*FFI_GetPlatform)(struct _FPDF_FORMFILLINFO* pThis, | 935 int (*FFI_GetPlatform)(struct _FPDF_FORMFILLINFO* pThis, |
936 void* platform, | 936 void* platform, |
937 int length); | 937 int length); |
938 | 938 |
939 /** | 939 /** |
940 * Method: FFI_GetLanguage | 940 * Method: FFI_GetLanguage |
941 * This method will get the current language. | 941 * This method will get the current language. |
942 * Interface Version: | 942 * Interface Version: |
943 * 1 | 943 * 2 |
944 * Implementation Required: | 944 * Implementation Required: |
945 * yes | 945 * yes |
946 * Parameters: | 946 * Parameters: |
947 * pThis - Pointer to the interface structure itself. | 947 * pThis - Pointer to the interface structure itself. |
948 * language - Pointer to the data buffer to receive the current | 948 * language - Pointer to the data buffer to receive the current |
949 *language.Can be NULL. | 949 *language.Can be NULL. |
950 * length - The length of the buffer, number of bytes. Can be | 950 * length - The length of the buffer, number of bytes. Can be |
951 *0. | 951 *0. |
952 * Return value: | 952 * Return value: |
953 * The length of the buffer, number of bytes. | 953 * The length of the buffer, number of bytes. |
954 **/ | 954 **/ |
955 int (*FFI_GetLanguage)(struct _FPDF_FORMFILLINFO* pThis, | 955 int (*FFI_GetLanguage)(struct _FPDF_FORMFILLINFO* pThis, |
956 void* language, | 956 void* language, |
957 int length); | 957 int length); |
958 | 958 |
959 /** | 959 /** |
960 * Method: FFI_DownloadFromURL | 960 * Method: FFI_DownloadFromURL |
961 * This method will download the specified file from the URL. | 961 * This method will download the specified file from the URL. |
962 * Interface Version: | 962 * Interface Version: |
963 * 1 | 963 * 2 |
964 * Implementation Required: | 964 * Implementation Required: |
965 * yes | 965 * yes |
966 * Parameters: | 966 * Parameters: |
967 * pThis - Pointer to the interface structure itself. | 967 * pThis - Pointer to the interface structure itself. |
968 * URL - The string value of the file URL, in UTF-16LE | 968 * URL - The string value of the file URL, in UTF-16LE |
969 *format. | 969 *format. |
970 * Return value: | 970 * Return value: |
971 * The handle to FPDF_FILEHANDLER. | 971 * The handle to FPDF_FILEHANDLER. |
972 **/ | 972 **/ |
973 FPDF_LPFILEHANDLER (*FFI_DownloadFromURL)(struct _FPDF_FORMFILLINFO* pThis, F PDF_WIDESTRING URL); | 973 FPDF_LPFILEHANDLER (*FFI_DownloadFromURL)(struct _FPDF_FORMFILLINFO* pThis, F PDF_WIDESTRING URL); |
974 /** | 974 /** |
975 * Method: FFI_PostRequestURL | 975 * Method: FFI_PostRequestURL |
976 * This method will post the request to the server URL. | 976 * This method will post the request to the server URL. |
977 * Interface Version: | 977 * Interface Version: |
978 * 1 | 978 * 2 |
979 * Implementation Required: | 979 * Implementation Required: |
980 * yes | 980 * yes |
981 * Parameters: | 981 * Parameters: |
982 * pThis - Pointer to the interface structure itself. | 982 * pThis - Pointer to the interface structure itself. |
983 * wsURL - The string value of the server URL, in UTF-16LE | 983 * wsURL - The string value of the server URL, in UTF-16LE |
984 *format. | 984 *format. |
985 * wsData - The post data,in UTF-16LE format. | 985 * wsData - The post data,in UTF-16LE format. |
986 * wsContentType - The content type of the request data,in UTF-16LE | 986 * wsContentType - The content type of the request data,in UTF-16LE |
987 *format. | 987 *format. |
988 * wsEncode - The encode type,in UTF-16LE format. | 988 * wsEncode - The encode type,in UTF-16LE format. |
989 * wsHeader - The request header,in UTF-16LE format. | 989 * wsHeader - The request header,in UTF-16LE format. |
990 * response - Pointer to the FPDF_BSTR to receive the response | 990 * response - Pointer to the FPDF_BSTR to receive the response |
991 *data from server,,in UTF-16LE format. | 991 *data from server,,in UTF-16LE format. |
992 * Return value: | 992 * Return value: |
993 * TRUE indicates success, otherwise FALSE. | 993 * TRUE indicates success, otherwise FALSE. |
994 **/ | 994 **/ |
995 FPDF_BOOL (*FFI_PostRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDES TRING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsContentType, FPDF_WIDESTR ING wsEncode, FPDF_WIDESTRING wsHeader, FPDF_BSTR* respone); | 995 FPDF_BOOL (*FFI_PostRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDES TRING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsContentType, FPDF_WIDESTR ING wsEncode, FPDF_WIDESTRING wsHeader, FPDF_BSTR* respone); |
996 | 996 |
997 /** | 997 /** |
998 * Method: FFI_PutRequestURL | 998 * Method: FFI_PutRequestURL |
999 * This method will put the request to the server URL. | 999 * This method will put the request to the server URL. |
1000 * Interface Version: | 1000 * Interface Version: |
1001 * 1 | 1001 * 2 |
1002 * Implementation Required: | 1002 * Implementation Required: |
1003 * yes | 1003 * yes |
1004 * Parameters: | 1004 * Parameters: |
1005 * pThis - Pointer to the interface structure itself. | 1005 * pThis - Pointer to the interface structure itself. |
1006 * wsURL - The string value of the server URL, in UTF-16LE | 1006 * wsURL - The string value of the server URL, in UTF-16LE |
1007 *format. | 1007 *format. |
1008 * wsData - The put data, in UTF-16LE format. | 1008 * wsData - The put data, in UTF-16LE format. |
1009 * wsEncode - The encode type, in UTR-16LE format. | 1009 * wsEncode - The encode type, in UTR-16LE format. |
1010 * Return value: | 1010 * Return value: |
1011 * TRUE indicates success, otherwise FALSE. | 1011 * TRUE indicates success, otherwise FALSE. |
1012 **/ | 1012 **/ |
1013 FPDF_BOOL (*FFI_PutRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDEST RING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsEncode); | 1013 FPDF_BOOL (*FFI_PutRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDEST RING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsEncode); |
1014 | |
1015 /** | |
1016 * Method: FFI_PageEvent | |
1017 * This method will notify applications when a page is deleted or | |
1018 *removed. | |
1019 * Interface Version: | |
1020 * 2 | |
1021 * Implementation Required: | |
1022 * yes | |
1023 * Parameters: | |
1024 * pThis - Pointer to the interface structure itself. | |
1025 * iPageIndex - The index of which page is modified. | |
1026 * iEventType - Type of events. It can be one of | |
1027 *the following marcos: | |
1028 * 1. FXFA_PAGEVIEWEVENT_POSTADDED | |
1029 * 2. FXFA_PAGEVIEWEVENT_POSTREMOVED | |
1030 * Return value: | |
1031 * None. | |
1032 **/ | |
1033 void (*FFI_PageEvent)(struct _FPDF_FORMFILLINFO* pThis, | |
1034 int iPageIndex, | |
1035 int iEventType); | |
1036 | |
1014 #endif // PDF_ENABLE_XFA | 1037 #endif // PDF_ENABLE_XFA |
1015 | 1038 |
1016 } FPDF_FORMFILLINFO; | 1039 } FPDF_FORMFILLINFO; |
1017 | 1040 |
1018 /** | 1041 /** |
1019 * Function: FPDFDOC_InitFormFillEnvironment | 1042 * Function: FPDFDOC_InitFormFillEnvironment |
1020 * Init form fill environment. | 1043 * Init form fill environment. |
1021 * Comments: | 1044 * Comments: |
1022 * This function should be called before any form fill operation. | 1045 * This function should be called before any form fill operation. |
1023 * Parameters: | 1046 * Parameters: |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1686 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, | 1709 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, |
1687 FPDF_BYTESTRING bsText, | 1710 FPDF_BYTESTRING bsText, |
1688 FPDF_DWORD size); | 1711 FPDF_DWORD size); |
1689 #endif // PDF_ENABLE_XFA | 1712 #endif // PDF_ENABLE_XFA |
1690 | 1713 |
1691 #ifdef __cplusplus | 1714 #ifdef __cplusplus |
1692 } | 1715 } |
1693 #endif | 1716 #endif |
1694 | 1717 |
1695 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1718 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |