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 "fxjse/include/cfxjse_arguments.h" | 10 #include "fxjse/include/cfxjse_arguments.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 Reenter, | 23 Reenter, |
24 SelectionEnd, | 24 SelectionEnd, |
25 SelectionStart, | 25 SelectionStart, |
26 Shift, | 26 Shift, |
27 SoapFaultCode, | 27 SoapFaultCode, |
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_Object { |
34 public: | 34 public: |
35 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); | 35 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); |
36 ~CScript_EventPseudoModel() override; | 36 ~CScript_EventPseudoModel() override; |
37 | 37 |
38 void Script_EventPseudoModel_Change(CFXJSE_Value* pValue, | 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(CFXJSE_Value* pValue, | 41 void Script_EventPseudoModel_CommitKey(CFXJSE_Value* pValue, |
42 FX_BOOL bSetting, | 42 FX_BOOL bSetting, |
43 XFA_ATTRIBUTE eAttribute); | 43 XFA_ATTRIBUTE eAttribute); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(CFXJSE_Value* pValue, | 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 |