Dan Sinclair | 5123032 | 2017-10-30 15:36:02 +0000 | [diff] [blame] | 1 | // Copyright 2017 PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | |
Dan Sinclair | e0345a4 | 2017-10-30 20:20:42 +0000 | [diff] [blame] | 7 | #ifndef FXJS_CJS_DELAYDATA_H_ |
| 8 | #define FXJS_CJS_DELAYDATA_H_ |
Dan Sinclair | 5123032 | 2017-10-30 15:36:02 +0000 | [diff] [blame] | 9 | |
Dan Sinclair | 5123032 | 2017-10-30 15:36:02 +0000 | [diff] [blame] | 10 | #include <vector> |
| 11 | |
| 12 | #include "core/fxcrt/fx_coordinates.h" |
| 13 | #include "core/fxcrt/widestring.h" |
| 14 | #include "core/fxge/cfx_color.h" |
Dan Sinclair | e0345a4 | 2017-10-30 20:20:42 +0000 | [diff] [blame] | 15 | #include "fxjs/cjs_field.h" |
Dan Sinclair | 5123032 | 2017-10-30 15:36:02 +0000 | [diff] [blame] | 16 | |
| 17 | struct CJS_DelayData { |
| 18 | CJS_DelayData(FIELD_PROP prop, int idx, const WideString& name); |
| 19 | ~CJS_DelayData(); |
| 20 | |
| 21 | FIELD_PROP eProp; |
| 22 | int nControlIndex; |
| 23 | WideString sFieldName; |
| 24 | int32_t num; |
| 25 | bool b; |
Lei Zhang | 109aa6d | 2018-09-20 01:21:05 +0000 | [diff] [blame] | 26 | ByteString bytestring; |
Dan Sinclair | 5123032 | 2017-10-30 15:36:02 +0000 | [diff] [blame] | 27 | WideString widestring; |
| 28 | CFX_FloatRect rect; |
| 29 | CFX_Color color; |
| 30 | std::vector<uint32_t> wordarray; |
| 31 | std::vector<WideString> widestringarray; |
| 32 | }; |
| 33 | |
Dan Sinclair | e0345a4 | 2017-10-30 20:20:42 +0000 | [diff] [blame] | 34 | #endif // FXJS_CJS_DELAYDATA_H_ |