• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The PDFium Authors
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 
7 #ifndef FXJS_CJS_DELAYDATA_H_
8 #define FXJS_CJS_DELAYDATA_H_
9 
10 #include <vector>
11 
12 #include "core/fxcrt/fx_coordinates.h"
13 #include "core/fxcrt/widestring.h"
14 #include "core/fxge/cfx_color.h"
15 #include "fxjs/cjs_field.h"
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   int32_t num = 0;
24   bool b = false;
25   WideString sFieldName;
26   ByteString bytestring;
27   WideString widestring;
28   CFX_FloatRect rect;
29   CFX_Color color;
30   std::vector<uint32_t> wordarray;
31   std::vector<WideString> widestringarray;
32 };
33 
34 #endif  // FXJS_CJS_DELAYDATA_H_
35