| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 bool bChangeMark, | 400 bool bChangeMark, |
| 401 bool bResetAP, | 401 bool bResetAP, |
| 402 bool bRefresh); | 402 bool bRefresh); |
| 403 static void UpdateFormControl(CPDFSDK_FormFillEnvironment* pFormFillEnv, | 403 static void UpdateFormControl(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
| 404 CPDF_FormControl* pFormControl, | 404 CPDF_FormControl* pFormControl, |
| 405 bool bChangeMark, | 405 bool bChangeMark, |
| 406 bool bResetAP, | 406 bool bResetAP, |
| 407 bool bRefresh); | 407 bool bRefresh); |
| 408 | 408 |
| 409 static CPDFSDK_Widget* GetWidget(CPDFSDK_FormFillEnvironment* pFormFillEnv, | 409 static CPDFSDK_Widget* GetWidget(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
| 410 CPDF_FormControl* pFormControl, | 410 CPDF_FormControl* pFormControl); |
| 411 bool createIfNeeded); | |
| 412 static std::vector<CPDF_FormField*> GetFormFields( | 411 static std::vector<CPDF_FormField*> GetFormFields( |
| 413 CPDFSDK_FormFillEnvironment* pFormFillEnv, | 412 CPDFSDK_FormFillEnvironment* pFormFillEnv, |
| 414 const CFX_WideString& csFieldName); | 413 const CFX_WideString& csFieldName); |
| 415 | 414 |
| 416 static void DoDelay(CPDFSDK_FormFillEnvironment* pFormFillEnv, | 415 static void DoDelay(CPDFSDK_FormFillEnvironment* pFormFillEnv, |
| 417 CJS_DelayData* pData); | 416 CJS_DelayData* pData); |
| 418 | 417 |
| 419 bool AttachField(Document* pDocument, const CFX_WideString& csFieldName); | 418 bool AttachField(Document* pDocument, const CFX_WideString& csFieldName); |
| 420 void SetDelay(bool bDelay); | 419 void SetDelay(bool bDelay); |
| 421 | 420 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 JS_STATIC_METHOD(setLock, Field); | 531 JS_STATIC_METHOD(setLock, Field); |
| 533 JS_STATIC_METHOD(signatureGetModifications, Field); | 532 JS_STATIC_METHOD(signatureGetModifications, Field); |
| 534 JS_STATIC_METHOD(signatureGetSeedValue, Field); | 533 JS_STATIC_METHOD(signatureGetSeedValue, Field); |
| 535 JS_STATIC_METHOD(signatureInfo, Field); | 534 JS_STATIC_METHOD(signatureInfo, Field); |
| 536 JS_STATIC_METHOD(signatureSetSeedValue, Field); | 535 JS_STATIC_METHOD(signatureSetSeedValue, Field); |
| 537 JS_STATIC_METHOD(signatureSign, Field); | 536 JS_STATIC_METHOD(signatureSign, Field); |
| 538 JS_STATIC_METHOD(signatureValidate, Field); | 537 JS_STATIC_METHOD(signatureValidate, Field); |
| 539 }; | 538 }; |
| 540 | 539 |
| 541 #endif // FPDFSDK_JAVASCRIPT_FIELD_H_ | 540 #endif // FPDFSDK_JAVASCRIPT_FIELD_H_ |
| OLD | NEW |