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