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_CSCRIPT_DATAWINDOW_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ | 8 #define XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_ |
9 | 9 |
10 #include "fxjs/include/cfxjse_arguments.h" | 10 #include "fxjs/include/cfxjse_arguments.h" |
11 #include "xfa/fxfa/parser/xfa_object.h" | 11 #include "xfa/fxfa/parser/xfa_object.h" |
12 | 12 |
13 class CScript_DataWindow : public CXFA_Object { | 13 class CScript_DataWindow : public CXFA_Object { |
14 public: | 14 public: |
15 explicit CScript_DataWindow(CXFA_Document* pDocument); | 15 explicit CScript_DataWindow(CXFA_Document* pDocument); |
16 ~CScript_DataWindow() override; | 16 ~CScript_DataWindow() override; |
17 | 17 |
18 void MoveCurrentRecord(CFXJSE_Arguments* pArguments); | 18 void MoveCurrentRecord(CFXJSE_Arguments* pArguments); |
19 void Record(CFXJSE_Arguments* pArguments); | 19 void Record(CFXJSE_Arguments* pArguments); |
20 void GotoRecord(CFXJSE_Arguments* pArguments); | 20 void GotoRecord(CFXJSE_Arguments* pArguments); |
21 void IsRecordGroup(CFXJSE_Arguments* pArguments); | 21 void IsRecordGroup(CFXJSE_Arguments* pArguments); |
22 void RecordsBefore(CFXJSE_Value* pValue, | 22 void RecordsBefore(CFXJSE_Value* pValue, |
23 FX_BOOL bSetting, | 23 FX_BOOL bSetting, |
24 XFA_ATTRIBUTE eAttribute); | 24 XFA_ATTRIBUTE eAttribute); |
25 void CurrentRecordNumber(CFXJSE_Value* pValue, | 25 void CurrentRecordNumber(CFXJSE_Value* pValue, |
26 FX_BOOL bSetting, | 26 FX_BOOL bSetting, |
27 XFA_ATTRIBUTE eAttribute); | 27 XFA_ATTRIBUTE eAttribute); |
28 void RecordsAfter(CFXJSE_Value* pValue, | 28 void RecordsAfter(CFXJSE_Value* pValue, |
29 FX_BOOL bSetting, | 29 FX_BOOL bSetting, |
30 XFA_ATTRIBUTE eAttribute); | 30 XFA_ATTRIBUTE eAttribute); |
31 void IsDefined(CFXJSE_Value* pValue, | 31 void IsDefined(CFXJSE_Value* pValue, |
32 FX_BOOL bSetting, | 32 FX_BOOL bSetting, |
33 XFA_ATTRIBUTE eAttribute); | 33 XFA_ATTRIBUTE eAttribute); |
34 }; | 34 }; |
35 | 35 |
36 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_DATAWINDOW_H_ | 36 #endif // XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_ |
OLD | NEW |