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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 int m_nFormControlIndex; | 471 int m_nFormControlIndex; |
472 FX_BOOL m_bCanSet; | 472 FX_BOOL m_bCanSet; |
473 | 473 |
474 FX_BOOL m_bDelay; | 474 FX_BOOL m_bDelay; |
475 v8::Isolate* m_isolate; | 475 v8::Isolate* m_isolate; |
476 }; | 476 }; |
477 | 477 |
478 class CJS_Field : public CJS_Object { | 478 class CJS_Field : public CJS_Object { |
479 public: | 479 public: |
480 explicit CJS_Field(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} | 480 explicit CJS_Field(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} |
481 ~CJS_Field(void) override {} | 481 ~CJS_Field() override {} |
482 | 482 |
483 void InitInstance(IJS_Runtime* pIRuntime) override; | 483 void InitInstance(IJS_Runtime* pIRuntime) override; |
484 | 484 |
485 DECLARE_JS_CLASS(); | 485 DECLARE_JS_CLASS(); |
486 JS_STATIC_PROP(alignment, Field); | 486 JS_STATIC_PROP(alignment, Field); |
487 JS_STATIC_PROP(borderStyle, Field); | 487 JS_STATIC_PROP(borderStyle, Field); |
488 JS_STATIC_PROP(buttonAlignX, Field); | 488 JS_STATIC_PROP(buttonAlignX, Field); |
489 JS_STATIC_PROP(buttonAlignY, Field); | 489 JS_STATIC_PROP(buttonAlignY, Field); |
490 JS_STATIC_PROP(buttonFitBounds, Field); | 490 JS_STATIC_PROP(buttonFitBounds, Field); |
491 JS_STATIC_PROP(buttonPosition, Field); | 491 JS_STATIC_PROP(buttonPosition, Field); |
(...skipping 66 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 |