blob: 697aca32d20e561c36bbf03c504675f38ead8b94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef FXJS_XFA_CJX_FIELD_H_
#define FXJS_XFA_CJX_FIELD_H_
#include "fxjs/cjx_define.h"
#include "fxjs/xfa/cjx_container.h"
class CXFA_Field;
class CJX_Field : public CJX_Container {
public:
explicit CJX_Field(CXFA_Field* field);
~CJX_Field() override;
JS_METHOD(addItem, CJX_Field);
JS_METHOD(boundItem, CJX_Field);
JS_METHOD(clearItems, CJX_Field);
JS_METHOD(deleteItem, CJX_Field);
JS_METHOD(execCalculate, CJX_Field);
JS_METHOD(execEvent, CJX_Field);
JS_METHOD(execInitialize, CJX_Field);
JS_METHOD(execValidate, CJX_Field);
JS_METHOD(getDisplayItem, CJX_Field);
JS_METHOD(getItemState, CJX_Field);
JS_METHOD(getSaveItem, CJX_Field);
JS_METHOD(setItemState, CJX_Field);
JS_PROP(defaultValue); /* {default} */
JS_PROP(access);
JS_PROP(accessKey);
JS_PROP(anchorType);
JS_PROP(borderColor);
JS_PROP(borderWidth);
JS_PROP(colSpan);
JS_PROP(editValue);
JS_PROP(fillColor);
JS_PROP(fontColor);
JS_PROP(formatMessage);
JS_PROP(formattedValue);
JS_PROP(h);
JS_PROP(hAlign);
JS_PROP(locale);
JS_PROP(mandatory);
JS_PROP(mandatoryMessage);
JS_PROP(maxH);
JS_PROP(maxW);
JS_PROP(minH);
JS_PROP(minW);
JS_PROP(parentSubform);
JS_PROP(presence);
JS_PROP(rawValue);
JS_PROP(relevant);
JS_PROP(rotate);
JS_PROP(selectedIndex);
JS_PROP(use);
JS_PROP(usehref);
JS_PROP(validationMessage);
JS_PROP(vAlign);
JS_PROP(w);
JS_PROP(x);
JS_PROP(y);
private:
static const CJX_MethodSpec MethodSpecs[];
};
#endif // FXJS_XFA_CJX_FIELD_H_
|