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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 **/ | 298 **/ |
299 void* m_pFormfillinfo; | 299 void* m_pFormfillinfo; |
300 | 300 |
301 /* Version 2. */ | 301 /* Version 2. */ |
302 | 302 |
303 void* m_isolate; /* Unused in v3, retain for compatibility. */ | 303 void* m_isolate; /* Unused in v3, retain for compatibility. */ |
304 unsigned int m_v8EmbedderSlot; /* Unused in v3, retain for compatibility. */ | 304 unsigned int m_v8EmbedderSlot; /* Unused in v3, retain for compatibility. */ |
305 | 305 |
306 /* Version 3. */ | 306 /* Version 3. */ |
307 /* Version 3 moves m_Isolate and m_v8EmbedderSlot to FPDF_LIBRARY_CONFIG. */ | 307 /* Version 3 moves m_Isolate and m_v8EmbedderSlot to FPDF_LIBRARY_CONFIG. */ |
308 | |
309 } IPDF_JSPLATFORM; | 308 } IPDF_JSPLATFORM; |
310 | 309 |
311 // Flags for Cursor type | 310 // Flags for Cursor type |
312 #define FXCT_ARROW 0 | 311 #define FXCT_ARROW 0 |
313 #define FXCT_NESW 1 | 312 #define FXCT_NESW 1 |
314 #define FXCT_NWSE 2 | 313 #define FXCT_NWSE 2 |
315 #define FXCT_VBEAM 3 | 314 #define FXCT_VBEAM 3 |
316 #define FXCT_HBEAM 4 | 315 #define FXCT_HBEAM 4 |
317 #define FXCT_HAND 5 | 316 #define FXCT_HAND 5 |
318 | 317 |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1024 * pThis - Pointer to the interface structure itself. | 1023 * pThis - Pointer to the interface structure itself. |
1025 * wsURL - The string value of the server URL, in UTF-16LE | 1024 * wsURL - The string value of the server URL, in UTF-16LE |
1026 *format. | 1025 *format. |
1027 * wsData - The put data, in UTF-16LE format. | 1026 * wsData - The put data, in UTF-16LE format. |
1028 * wsEncode - The encode type, in UTR-16LE format. | 1027 * wsEncode - The encode type, in UTR-16LE format. |
1029 * Return value: | 1028 * Return value: |
1030 * TRUE indicates success, otherwise FALSE. | 1029 * TRUE indicates success, otherwise FALSE. |
1031 **/ | 1030 **/ |
1032 FPDF_BOOL (*FFI_PutRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDEST
RING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsEncode); | 1031 FPDF_BOOL (*FFI_PutRequestURL)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDEST
RING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsEncode); |
1033 #endif // PDF_ENABLE_XFA | 1032 #endif // PDF_ENABLE_XFA |
1034 | |
1035 } FPDF_FORMFILLINFO; | 1033 } FPDF_FORMFILLINFO; |
1036 | 1034 |
1037 /** | 1035 /** |
1038 * Function: FPDFDOC_InitFormFillEnvironment | 1036 * Function: FPDFDOC_InitFormFillEnvironment |
1039 * Init form fill environment. | 1037 * Init form fill environment. |
1040 * Comments: | 1038 * Comments: |
1041 * This function should be called before any form fill operation. | 1039 * This function should be called before any form fill operation. |
1042 * Parameters: | 1040 * Parameters: |
1043 * document - Handle to document. Returned by | 1041 * document - Handle to document. Returned by |
1044 *FPDF_LoadDocument function. | 1042 *FPDF_LoadDocument function. |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1705 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, | 1703 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, |
1706 FPDF_BYTESTRING bsText, | 1704 FPDF_BYTESTRING bsText, |
1707 FPDF_DWORD size); | 1705 FPDF_DWORD size); |
1708 #endif // PDF_ENABLE_XFA | 1706 #endif // PDF_ENABLE_XFA |
1709 | 1707 |
1710 #ifdef __cplusplus | 1708 #ifdef __cplusplus |
1711 } | 1709 } |
1712 #endif | 1710 #endif |
1713 | 1711 |
1714 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1712 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |