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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 * pointer to FPDF_FORMFILLINFO interface. | 224 * pointer to FPDF_FORMFILLINFO interface. |
225 **/ | 225 **/ |
226 void* m_pFormfillinfo; | 226 void* m_pFormfillinfo; |
227 | 227 |
228 /* Version 2. */ | 228 /* Version 2. */ |
229 | 229 |
230 /** | 230 /** |
231 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one
. | 231 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one
. |
232 **/ | 232 **/ |
233 void* m_isolate; | 233 void* m_isolate; |
| 234 |
| 235 /** |
| 236 * The embedder data slot to use in the v8::Isolate to store PDFium's |
| 237 * per-isolate data. The value needs to be between 0 and |
| 238 * v8::Internals::kNumIsolateDataLots (exclusive). |
| 239 */ |
| 240 unsigned int m_v8EmbedderSlot; |
234 } IPDF_JSPLATFORM; | 241 } IPDF_JSPLATFORM; |
235 | 242 |
236 // Flags for Cursor type | 243 // Flags for Cursor type |
237 #define FXCT_ARROW 0 | 244 #define FXCT_ARROW 0 |
238 #define FXCT_NESW 1 | 245 #define FXCT_NESW 1 |
239 #define FXCT_NWSE 2 | 246 #define FXCT_NWSE 2 |
240 #define FXCT_VBEAM 3 | 247 #define FXCT_VBEAM 3 |
241 #define FXCT_HBEAM 4 | 248 #define FXCT_HBEAM 4 |
242 #define FXCT_HAND 5 | 249 #define FXCT_HAND 5 |
243 | 250 |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 **/ | 842 **/ |
836 DLLEXPORT void STDCALL FPDF_FFLDraw(FPDF_FORMHANDLE hHandle,FPDF_BITMAP bitmap,
FPDF_PAGE page, int start_x, int start_y, | 843 DLLEXPORT void STDCALL FPDF_FFLDraw(FPDF_FORMHANDLE hHandle,FPDF_BITMAP bitmap,
FPDF_PAGE page, int start_x, int start_y, |
837 int size_x, int size_y, int rotate, int flags); | 844 int size_x, int size_y, int rotate, int flags); |
838 | 845 |
839 | 846 |
840 #ifdef __cplusplus | 847 #ifdef __cplusplus |
841 } | 848 } |
842 #endif | 849 #endif |
843 | 850 |
844 #endif // PUBLIC_FPDF_FORMFILL_H_ | 851 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |