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 _PUBLICMETHODS_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_PUBLICMETHODS_H_ |
8 #define _PUBLICMETHODS_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_PUBLICMETHODS_H_ |
9 | 9 |
10 #include "JS_Define.h" | 10 #include "JS_Define.h" |
11 | 11 |
12 class CJS_PublicMethods : public CJS_Object | 12 class CJS_PublicMethods : public CJS_Object |
13 { | 13 { |
14 public: | 14 public: |
15 CJS_PublicMethods(JSFXObject pObject) : CJS_Object(pObject) {}; | 15 CJS_PublicMethods(JSFXObject pObject) : CJS_Object(pObject) {}; |
16 virtual ~CJS_PublicMethods(void){}; | 16 virtual ~CJS_PublicMethods(void){}; |
17 | 17 |
18 public: | 18 public: |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 static FX_BOOL IsAlphabetic(wchar_t ch); | 93 static FX_BOOL IsAlphabetic(wchar_t ch); |
94 static FX_BOOL IsAlphaNumeric(wchar_t ch); | 94 static FX_BOOL IsAlphaNumeric(wchar_t ch); |
95 | 95 |
96 static FX_BOOL maskSatisfied(wchar_t c_Change,wchar_t c
_Mask); | 96 static FX_BOOL maskSatisfied(wchar_t c_Change,wchar_t c
_Mask); |
97 static FX_BOOL isReservedMaskChar(wchar_t ch); | 97 static FX_BOOL isReservedMaskChar(wchar_t ch); |
98 | 98 |
99 static double AF_Simple(FX_LPCWSTR sFuction, double dV
alue1, double dValue2); | 99 static double AF_Simple(FX_LPCWSTR sFuction, double dV
alue1, double dValue2); |
100 static CJS_Array AF_MakeArrayFromList(v8::Isolate* isolat
e, CJS_Value val); | 100 static CJS_Array AF_MakeArrayFromList(v8::Isolate* isolat
e, CJS_Value val); |
101 }; | 101 }; |
102 | 102 |
103 #endif //_PUBLICMETHODS_H_ | 103 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_PUBLICMETHODS_H_ |
OLD | NEW |