Home | History | Annotate | Download | only in fxjs
      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 
      7 #ifndef FXJS_CJS_DELAYDATA_H_
      8 #define FXJS_CJS_DELAYDATA_H_
      9 
     10 #include <string>
     11 #include <vector>
     12 
     13 #include "core/fxcrt/fx_coordinates.h"
     14 #include "core/fxcrt/widestring.h"
     15 #include "core/fxge/cfx_color.h"
     16 #include "fxjs/cjs_field.h"
     17 
     18 struct CJS_DelayData {
     19   CJS_DelayData(FIELD_PROP prop, int idx, const WideString& name);
     20   ~CJS_DelayData();
     21 
     22   FIELD_PROP eProp;
     23   int nControlIndex;
     24   WideString sFieldName;
     25   int32_t num;
     26   bool b;
     27   ByteString string;
     28   WideString widestring;
     29   CFX_FloatRect rect;
     30   CFX_Color color;
     31   std::vector<uint32_t> wordarray;
     32   std::vector<WideString> widestringarray;
     33 };
     34 
     35 #endif  // FXJS_CJS_DELAYDATA_H_
     36