| 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_INCLUDE_JAVASCRIPT_FIELD_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ |
| 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ |
| 9 | 9 |
| 10 #include <string> // For std::wstring. | 10 #include <string> // For std::wstring. |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 v8::Isolate* m_isolate; | 531 v8::Isolate* m_isolate; |
| 532 }; | 532 }; |
| 533 | 533 |
| 534 class CJS_Field : public CJS_Object { | 534 class CJS_Field : public CJS_Object { |
| 535 public: | 535 public: |
| 536 CJS_Field(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} | 536 CJS_Field(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} |
| 537 ~CJS_Field(void) override {} | 537 ~CJS_Field(void) override {} |
| 538 | 538 |
| 539 FX_BOOL InitInstance(IFXJS_Context* cc) override; | 539 FX_BOOL InitInstance(IFXJS_Context* cc) override; |
| 540 | 540 |
| 541 DECLARE_JS_CLASS(CJS_Field); | 541 DECLARE_JS_CLASS(); |
| 542 | |
| 543 JS_STATIC_PROP(alignment, Field); | 542 JS_STATIC_PROP(alignment, Field); |
| 544 JS_STATIC_PROP(borderStyle, Field); | 543 JS_STATIC_PROP(borderStyle, Field); |
| 545 JS_STATIC_PROP(buttonAlignX, Field); | 544 JS_STATIC_PROP(buttonAlignX, Field); |
| 546 JS_STATIC_PROP(buttonAlignY, Field); | 545 JS_STATIC_PROP(buttonAlignY, Field); |
| 547 JS_STATIC_PROP(buttonFitBounds, Field); | 546 JS_STATIC_PROP(buttonFitBounds, Field); |
| 548 JS_STATIC_PROP(buttonPosition, Field); | 547 JS_STATIC_PROP(buttonPosition, Field); |
| 549 JS_STATIC_PROP(buttonScaleHow, Field); | 548 JS_STATIC_PROP(buttonScaleHow, Field); |
| 550 JS_STATIC_PROP(buttonScaleWhen, Field); | 549 JS_STATIC_PROP(buttonScaleWhen, Field); |
| 551 JS_STATIC_PROP(calcOrderIndex, Field); | 550 JS_STATIC_PROP(calcOrderIndex, Field); |
| 552 JS_STATIC_PROP(charLimit, Field); | 551 JS_STATIC_PROP(charLimit, Field); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 JS_STATIC_METHOD(setLock, Field); | 614 JS_STATIC_METHOD(setLock, Field); |
| 616 JS_STATIC_METHOD(signatureGetModifications, Field); | 615 JS_STATIC_METHOD(signatureGetModifications, Field); |
| 617 JS_STATIC_METHOD(signatureGetSeedValue, Field); | 616 JS_STATIC_METHOD(signatureGetSeedValue, Field); |
| 618 JS_STATIC_METHOD(signatureInfo, Field); | 617 JS_STATIC_METHOD(signatureInfo, Field); |
| 619 JS_STATIC_METHOD(signatureSetSeedValue, Field); | 618 JS_STATIC_METHOD(signatureSetSeedValue, Field); |
| 620 JS_STATIC_METHOD(signatureSign, Field); | 619 JS_STATIC_METHOD(signatureSign, Field); |
| 621 JS_STATIC_METHOD(signatureValidate, Field); | 620 JS_STATIC_METHOD(signatureValidate, Field); |
| 622 }; | 621 }; |
| 623 | 622 |
| 624 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ | 623 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ |
| OLD | NEW |