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_DATAWINDOW_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ |
9 | 9 |
10 #include "xfa/fxfa/parser/xfa_object.h" | 10 #include "xfa/fxfa/parser/xfa_object.h" |
| 11 #include "xfa/fxjse/cfxjse_arguments.h" |
11 | 12 |
12 class CScript_DataWindow : public CXFA_OrdinaryObject { | 13 class CScript_DataWindow : public CXFA_OrdinaryObject { |
13 public: | 14 public: |
14 CScript_DataWindow(CXFA_Document* pDocument); | 15 CScript_DataWindow(CXFA_Document* pDocument); |
15 virtual ~CScript_DataWindow(); | 16 virtual ~CScript_DataWindow(); |
16 void Script_DataWindow_MoveCurrentRecord(CFXJSE_Arguments* pArguments); | 17 void Script_DataWindow_MoveCurrentRecord(CFXJSE_Arguments* pArguments); |
17 void Script_DataWindow_Record(CFXJSE_Arguments* pArguments); | 18 void Script_DataWindow_Record(CFXJSE_Arguments* pArguments); |
18 void Script_DataWindow_GotoRecord(CFXJSE_Arguments* pArguments); | 19 void Script_DataWindow_GotoRecord(CFXJSE_Arguments* pArguments); |
19 void Script_DataWindow_IsRecordGroup(CFXJSE_Arguments* pArguments); | 20 void Script_DataWindow_IsRecordGroup(CFXJSE_Arguments* pArguments); |
20 void Script_DataWindow_RecordsBefore(FXJSE_HVALUE hValue, | 21 void Script_DataWindow_RecordsBefore(FXJSE_HVALUE hValue, |
21 FX_BOOL bSetting, | 22 FX_BOOL bSetting, |
22 XFA_ATTRIBUTE eAttribute); | 23 XFA_ATTRIBUTE eAttribute); |
23 void Script_DataWindow_CurrentRecordNumber(FXJSE_HVALUE hValue, | 24 void Script_DataWindow_CurrentRecordNumber(FXJSE_HVALUE hValue, |
24 FX_BOOL bSetting, | 25 FX_BOOL bSetting, |
25 XFA_ATTRIBUTE eAttribute); | 26 XFA_ATTRIBUTE eAttribute); |
26 void Script_DataWindow_RecordsAfter(FXJSE_HVALUE hValue, | 27 void Script_DataWindow_RecordsAfter(FXJSE_HVALUE hValue, |
27 FX_BOOL bSetting, | 28 FX_BOOL bSetting, |
28 XFA_ATTRIBUTE eAttribute); | 29 XFA_ATTRIBUTE eAttribute); |
29 void Script_DataWindow_IsDefined(FXJSE_HVALUE hValue, | 30 void Script_DataWindow_IsDefined(FXJSE_HVALUE hValue, |
30 FX_BOOL bSetting, | 31 FX_BOOL bSetting, |
31 XFA_ATTRIBUTE eAttribute); | 32 XFA_ATTRIBUTE eAttribute); |
32 }; | 33 }; |
33 | 34 |
34 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ | 35 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ |
OLD | NEW |