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