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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 void* filePath, | 286 void* filePath, |
287 int length); | 287 int length); |
288 | 288 |
289 /** | 289 /** |
290 * pointer to FPDF_FORMFILLINFO interface. | 290 * pointer to FPDF_FORMFILLINFO interface. |
291 **/ | 291 **/ |
292 void* m_pFormfillinfo; | 292 void* m_pFormfillinfo; |
293 | 293 |
294 /* Version 2. */ | 294 /* Version 2. */ |
295 | 295 |
296 /** | 296 void* m_isolate; /* Unused in v3, retain for compatibility. */ |
297 * pointer to the v8::Isolate to use, or NULL to force PDFium to create one. | 297 unsigned int m_v8EmbedderSlot; /* Unused in v3, retain for compatibility. */ |
298 **/ | |
299 void* m_isolate; | |
300 | 298 |
301 /** | 299 /* Version 3. */ |
302 * The embedder data slot to use in the v8::Isolate to store PDFium's | 300 /* Version 3 moves m_Isolate and m_v8EmbedderSlot to FPDF_LIBRARY_CONFIG. */ |
303 * per-isolate data. The value needs to be between 0 and | 301 |
304 * v8::Internals::kNumIsolateDataLots (exclusive). | |
305 */ | |
306 unsigned int m_v8EmbedderSlot; | |
307 } IPDF_JSPLATFORM; | 302 } IPDF_JSPLATFORM; |
308 | 303 |
309 // Flags for Cursor type | 304 // Flags for Cursor type |
310 #define FXCT_ARROW 0 | 305 #define FXCT_ARROW 0 |
311 #define FXCT_NESW 1 | 306 #define FXCT_NESW 1 |
312 #define FXCT_NWSE 2 | 307 #define FXCT_NWSE 2 |
313 #define FXCT_VBEAM 3 | 308 #define FXCT_VBEAM 3 |
314 #define FXCT_HBEAM 4 | 309 #define FXCT_HBEAM 4 |
315 #define FXCT_HAND 5 | 310 #define FXCT_HAND 5 |
316 | 311 |
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 int size_x, | 1101 int size_x, |
1107 int size_y, | 1102 int size_y, |
1108 int rotate, | 1103 int rotate, |
1109 int flags); | 1104 int flags); |
1110 | 1105 |
1111 #ifdef __cplusplus | 1106 #ifdef __cplusplus |
1112 } | 1107 } |
1113 #endif | 1108 #endif |
1114 | 1109 |
1115 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1110 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |