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 XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
9 | 9 |
10 #include "xfa/fxfa/parser/xfa_object.h" | 10 #include "xfa/fxfa/parser/xfa_object.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 SoapFaultString, | 28 SoapFaultString, |
29 Target, | 29 Target, |
30 CancelAction | 30 CancelAction |
31 }; | 31 }; |
32 | 32 |
33 class CScript_EventPseudoModel : public CXFA_OrdinaryObject { | 33 class CScript_EventPseudoModel : public CXFA_OrdinaryObject { |
34 public: | 34 public: |
35 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); | 35 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); |
36 virtual ~CScript_EventPseudoModel(); | 36 virtual ~CScript_EventPseudoModel(); |
37 | 37 |
38 void Script_EventPseudoModel_Change(FXJSE_HVALUE hValue, | 38 void Script_EventPseudoModel_Change(CFXJSE_Value* pValue, |
39 FX_BOOL bSetting, | 39 FX_BOOL bSetting, |
40 XFA_ATTRIBUTE eAttribute); | 40 XFA_ATTRIBUTE eAttribute); |
41 void Script_EventPseudoModel_CommitKey(FXJSE_HVALUE hValue, | 41 void Script_EventPseudoModel_CommitKey(CFXJSE_Value* pValue, |
42 FX_BOOL bSetting, | 42 FX_BOOL bSetting, |
43 XFA_ATTRIBUTE eAttribute); | 43 XFA_ATTRIBUTE eAttribute); |
44 void Script_EventPseudoModel_FullText(FXJSE_HVALUE hValue, | 44 void Script_EventPseudoModel_FullText(CFXJSE_Value* pValue, |
45 FX_BOOL bSetting, | 45 FX_BOOL bSetting, |
46 XFA_ATTRIBUTE eAttribute); | 46 XFA_ATTRIBUTE eAttribute); |
47 void Script_EventPseudoModel_KeyDown(FXJSE_HVALUE hValue, | 47 void Script_EventPseudoModel_KeyDown(CFXJSE_Value* pValue, |
48 FX_BOOL bSetting, | 48 FX_BOOL bSetting, |
49 XFA_ATTRIBUTE eAttribute); | 49 XFA_ATTRIBUTE eAttribute); |
50 void Script_EventPseudoModel_Modifier(FXJSE_HVALUE hValue, | 50 void Script_EventPseudoModel_Modifier(CFXJSE_Value* pValue, |
51 FX_BOOL bSetting, | 51 FX_BOOL bSetting, |
52 XFA_ATTRIBUTE eAttribute); | 52 XFA_ATTRIBUTE eAttribute); |
53 void Script_EventPseudoModel_NewContentType(FXJSE_HVALUE hValue, | 53 void Script_EventPseudoModel_NewContentType(CFXJSE_Value* pValue, |
54 FX_BOOL bSetting, | 54 FX_BOOL bSetting, |
55 XFA_ATTRIBUTE eAttribute); | 55 XFA_ATTRIBUTE eAttribute); |
56 void Script_EventPseudoModel_NewText(FXJSE_HVALUE hValue, | 56 void Script_EventPseudoModel_NewText(CFXJSE_Value* pValue, |
57 FX_BOOL bSetting, | 57 FX_BOOL bSetting, |
58 XFA_ATTRIBUTE eAttribute); | 58 XFA_ATTRIBUTE eAttribute); |
59 void Script_EventPseudoModel_PrevContentType(FXJSE_HVALUE hValue, | 59 void Script_EventPseudoModel_PrevContentType(CFXJSE_Value* pValue, |
60 FX_BOOL bSetting, | 60 FX_BOOL bSetting, |
61 XFA_ATTRIBUTE eAttribute); | 61 XFA_ATTRIBUTE eAttribute); |
62 void Script_EventPseudoModel_PrevText(FXJSE_HVALUE hValue, | 62 void Script_EventPseudoModel_PrevText(CFXJSE_Value* pValue, |
63 FX_BOOL bSetting, | 63 FX_BOOL bSetting, |
64 XFA_ATTRIBUTE eAttribute); | 64 XFA_ATTRIBUTE eAttribute); |
65 void Script_EventPseudoModel_Reenter(FXJSE_HVALUE hValue, | 65 void Script_EventPseudoModel_Reenter(CFXJSE_Value* pValue, |
66 FX_BOOL bSetting, | 66 FX_BOOL bSetting, |
67 XFA_ATTRIBUTE eAttribute); | 67 XFA_ATTRIBUTE eAttribute); |
68 void Script_EventPseudoModel_SelEnd(FXJSE_HVALUE hValue, | 68 void Script_EventPseudoModel_SelEnd(CFXJSE_Value* pValue, |
69 FX_BOOL bSetting, | 69 FX_BOOL bSetting, |
70 XFA_ATTRIBUTE eAttribute); | 70 XFA_ATTRIBUTE eAttribute); |
71 void Script_EventPseudoModel_SelStart(FXJSE_HVALUE hValue, | 71 void Script_EventPseudoModel_SelStart(CFXJSE_Value* pValue, |
72 FX_BOOL bSetting, | 72 FX_BOOL bSetting, |
73 XFA_ATTRIBUTE eAttribute); | 73 XFA_ATTRIBUTE eAttribute); |
74 void Script_EventPseudoModel_Shift(FXJSE_HVALUE hValue, | 74 void Script_EventPseudoModel_Shift(CFXJSE_Value* pValue, |
75 FX_BOOL bSetting, | 75 FX_BOOL bSetting, |
76 XFA_ATTRIBUTE eAttribute); | 76 XFA_ATTRIBUTE eAttribute); |
77 void Script_EventPseudoModel_SoapFaultCode(FXJSE_HVALUE hValue, | 77 void Script_EventPseudoModel_SoapFaultCode(CFXJSE_Value* pValue, |
78 FX_BOOL bSetting, | 78 FX_BOOL bSetting, |
79 XFA_ATTRIBUTE eAttribute); | 79 XFA_ATTRIBUTE eAttribute); |
80 void Script_EventPseudoModel_SoapFaultString(FXJSE_HVALUE hValue, | 80 void Script_EventPseudoModel_SoapFaultString(CFXJSE_Value* pValue, |
81 FX_BOOL bSetting, | 81 FX_BOOL bSetting, |
82 XFA_ATTRIBUTE eAttribute); | 82 XFA_ATTRIBUTE eAttribute); |
83 void Script_EventPseudoModel_Target(FXJSE_HVALUE hValue, | 83 void Script_EventPseudoModel_Target(CFXJSE_Value* pValue, |
84 FX_BOOL bSetting, | 84 FX_BOOL bSetting, |
85 XFA_ATTRIBUTE eAttribute); | 85 XFA_ATTRIBUTE eAttribute); |
86 | 86 |
87 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); | 87 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); |
88 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); | 88 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); |
89 | 89 |
90 protected: | 90 protected: |
91 void Script_EventPseudoModel_Property(FXJSE_HVALUE hValue, | 91 void Script_EventPseudoModel_Property(CFXJSE_Value* pValue, |
92 XFA_Event dwFlag, | 92 XFA_Event dwFlag, |
93 FX_BOOL bSetting); | 93 FX_BOOL bSetting); |
94 }; | 94 }; |
95 | 95 |
96 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 96 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
OLD | NEW |