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_SRC_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
8 #define XFA_SRC_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/parser/xfa_object.h" | 10 #include "xfa/fxfa/parser/xfa_object.h" |
11 | 11 |
12 #define XFA_EVENT_CHANGE 0 | 12 #define XFA_EVENT_CHANGE 0 |
13 #define XFA_EVENT_COMMITKEY 1 | 13 #define XFA_EVENT_COMMITKEY 1 |
14 #define XFA_EVENT_FULLTEXT 2 | 14 #define XFA_EVENT_FULLTEXT 2 |
15 #define XFA_EVENT_KEYDOWN 3 | 15 #define XFA_EVENT_KEYDOWN 3 |
16 #define XFA_EVENT_MODIFIER 4 | 16 #define XFA_EVENT_MODIFIER 4 |
17 #define XFA_EVENT_NEWCONTENTTYPE 5 | 17 #define XFA_EVENT_NEWCONTENTTYPE 5 |
18 #define XFA_EVENT_NEWTEXT 6 | 18 #define XFA_EVENT_NEWTEXT 6 |
19 #define XFA_EVENT_PREVCONTENTTYPE 7 | 19 #define XFA_EVENT_PREVCONTENTTYPE 7 |
20 #define XFA_EVENT_PREVTEXT 8 | 20 #define XFA_EVENT_PREVTEXT 8 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(FXJSE_HVALUE hValue, |
92 FX_DWORD dwFlag, | 92 FX_DWORD dwFlag, |
93 FX_BOOL bSetting); | 93 FX_BOOL bSetting); |
94 }; | 94 }; |
95 | 95 |
96 #endif // XFA_SRC_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 96 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
OLD | NEW |