OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_JAVASCRIPT_FIELD_H_ | 7 #ifndef FPDFSDK_JAVASCRIPT_FIELD_H_ |
8 #define FPDFSDK_JAVASCRIPT_FIELD_H_ | 8 #define FPDFSDK_JAVASCRIPT_FIELD_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 FP_STROKECOLOR, | 47 FP_STROKECOLOR, |
48 FP_STYLE, | 48 FP_STYLE, |
49 FP_TEXTCOLOR, | 49 FP_TEXTCOLOR, |
50 FP_TEXTFONT, | 50 FP_TEXTFONT, |
51 FP_TEXTSIZE, | 51 FP_TEXTSIZE, |
52 FP_USERNAME, | 52 FP_USERNAME, |
53 FP_VALUE | 53 FP_VALUE |
54 }; | 54 }; |
55 | 55 |
56 struct CJS_DelayData { | 56 struct CJS_DelayData { |
57 CJS_DelayData(FIELD_PROP prop, int idx, const CFX_WideString& name) | 57 CJS_DelayData(FIELD_PROP prop, int idx, const CFX_WideString& name); |
58 : eProp(prop), nControlIndex(idx), sFieldName(name) {} | 58 ~CJS_DelayData(); |
59 | 59 |
60 FIELD_PROP eProp; | 60 FIELD_PROP eProp; |
61 int nControlIndex; | 61 int nControlIndex; |
62 CFX_WideString sFieldName; | 62 CFX_WideString sFieldName; |
63 int32_t num; | 63 int32_t num; |
64 bool b; | 64 bool b; |
65 CFX_ByteString string; | 65 CFX_ByteString string; |
66 CFX_WideString widestring; | 66 CFX_WideString widestring; |
67 CFX_FloatRect rect; | 67 CFX_FloatRect rect; |
68 CPWL_Color color; | 68 CPWL_Color color; |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 JS_STATIC_METHOD(setLock, Field); | 558 JS_STATIC_METHOD(setLock, Field); |
559 JS_STATIC_METHOD(signatureGetModifications, Field); | 559 JS_STATIC_METHOD(signatureGetModifications, Field); |
560 JS_STATIC_METHOD(signatureGetSeedValue, Field); | 560 JS_STATIC_METHOD(signatureGetSeedValue, Field); |
561 JS_STATIC_METHOD(signatureInfo, Field); | 561 JS_STATIC_METHOD(signatureInfo, Field); |
562 JS_STATIC_METHOD(signatureSetSeedValue, Field); | 562 JS_STATIC_METHOD(signatureSetSeedValue, Field); |
563 JS_STATIC_METHOD(signatureSign, Field); | 563 JS_STATIC_METHOD(signatureSign, Field); |
564 JS_STATIC_METHOD(signatureValidate, Field); | 564 JS_STATIC_METHOD(signatureValidate, Field); |
565 }; | 565 }; |
566 | 566 |
567 #endif // FPDFSDK_JAVASCRIPT_FIELD_H_ | 567 #endif // FPDFSDK_JAVASCRIPT_FIELD_H_ |
OLD | NEW |