blob: f4c78201439b814727fc202597949c97276309e1 [file] [log] [blame]
Dan Sinclair51230322017-10-30 15:36:02 +00001// 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 Sinclaire0345a42017-10-30 20:20:42 +00007#ifndef FXJS_CJS_DELAYDATA_H_
8#define FXJS_CJS_DELAYDATA_H_
Dan Sinclair51230322017-10-30 15:36:02 +00009
Dan Sinclair51230322017-10-30 15:36:02 +000010#include <vector>
11
12#include "core/fxcrt/fx_coordinates.h"
13#include "core/fxcrt/widestring.h"
14#include "core/fxge/cfx_color.h"
Dan Sinclaire0345a42017-10-30 20:20:42 +000015#include "fxjs/cjs_field.h"
Dan Sinclair51230322017-10-30 15:36:02 +000016
17struct 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 Zhang109aa6d2018-09-20 01:21:05 +000026 ByteString bytestring;
Dan Sinclair51230322017-10-30 15:36:02 +000027 WideString widestring;
28 CFX_FloatRect rect;
29 CFX_Color color;
30 std::vector<uint32_t> wordarray;
31 std::vector<WideString> widestringarray;
32};
33
Dan Sinclaire0345a42017-10-30 20:20:42 +000034#endif // FXJS_CJS_DELAYDATA_H_