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 #include "xfa/fxfa/parser/xfa_script_datawindow.h" | 7 #include "xfa/fxfa/parser/xfa_script_datawindow.h" |
8 | 8 |
9 #include "fxjse/include/cfxjse_arguments.h" | 9 #include "fxjse/include/cfxjse_arguments.h" |
10 #include "xfa/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
11 #include "xfa/fxfa/parser/xfa_document.h" | 11 #include "xfa/fxfa/parser/xfa_document.h" |
12 #include "xfa/fxfa/parser/xfa_localemgr.h" | 12 #include "xfa/fxfa/parser/xfa_localemgr.h" |
13 #include "xfa/fxfa/parser/xfa_object.h" | 13 #include "xfa/fxfa/parser/xfa_object.h" |
14 #include "xfa/fxfa/parser/xfa_parser.h" | 14 #include "xfa/fxfa/parser/xfa_parser.h" |
15 #include "xfa/fxfa/parser/xfa_script.h" | 15 #include "xfa/fxfa/parser/xfa_script.h" |
16 #include "xfa/fxfa/parser/xfa_utils.h" | 16 #include "xfa/fxfa/parser/xfa_utils.h" |
17 | 17 |
18 CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument) | 18 CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument) |
19 : CXFA_OrdinaryObject(pDocument, XFA_ELEMENT_DataWindow) { | 19 : CXFA_OrdinaryObject(pDocument, XFA_Element::DataWindow) { |
20 m_uScriptHash = XFA_HASHCODE_DataWindow; | 20 m_uScriptHash = XFA_HASHCODE_DataWindow; |
21 } | 21 } |
22 CScript_DataWindow::~CScript_DataWindow() {} | 22 CScript_DataWindow::~CScript_DataWindow() {} |
23 void CScript_DataWindow::Script_DataWindow_MoveCurrentRecord( | 23 void CScript_DataWindow::Script_DataWindow_MoveCurrentRecord( |
24 CFXJSE_Arguments* pArguments) {} | 24 CFXJSE_Arguments* pArguments) {} |
25 void CScript_DataWindow::Script_DataWindow_Record( | 25 void CScript_DataWindow::Script_DataWindow_Record( |
26 CFXJSE_Arguments* pArguments) {} | 26 CFXJSE_Arguments* pArguments) {} |
27 void CScript_DataWindow::Script_DataWindow_GotoRecord( | 27 void CScript_DataWindow::Script_DataWindow_GotoRecord( |
28 CFXJSE_Arguments* pArguments) {} | 28 CFXJSE_Arguments* pArguments) {} |
29 void CScript_DataWindow::Script_DataWindow_IsRecordGroup( | 29 void CScript_DataWindow::Script_DataWindow_IsRecordGroup( |
30 CFXJSE_Arguments* pArguments) {} | 30 CFXJSE_Arguments* pArguments) {} |
31 void CScript_DataWindow::Script_DataWindow_RecordsBefore( | 31 void CScript_DataWindow::Script_DataWindow_RecordsBefore( |
32 CFXJSE_Value* pValue, | 32 CFXJSE_Value* pValue, |
33 FX_BOOL bSetting, | 33 FX_BOOL bSetting, |
34 XFA_ATTRIBUTE eAttribute) {} | 34 XFA_ATTRIBUTE eAttribute) {} |
35 void CScript_DataWindow::Script_DataWindow_CurrentRecordNumber( | 35 void CScript_DataWindow::Script_DataWindow_CurrentRecordNumber( |
36 CFXJSE_Value* pValue, | 36 CFXJSE_Value* pValue, |
37 FX_BOOL bSetting, | 37 FX_BOOL bSetting, |
38 XFA_ATTRIBUTE eAttribute) {} | 38 XFA_ATTRIBUTE eAttribute) {} |
39 void CScript_DataWindow::Script_DataWindow_RecordsAfter( | 39 void CScript_DataWindow::Script_DataWindow_RecordsAfter( |
40 CFXJSE_Value* pValue, | 40 CFXJSE_Value* pValue, |
41 FX_BOOL bSetting, | 41 FX_BOOL bSetting, |
42 XFA_ATTRIBUTE eAttribute) {} | 42 XFA_ATTRIBUTE eAttribute) {} |
43 void CScript_DataWindow::Script_DataWindow_IsDefined(CFXJSE_Value* pValue, | 43 void CScript_DataWindow::Script_DataWindow_IsDefined(CFXJSE_Value* pValue, |
44 FX_BOOL bSetting, | 44 FX_BOOL bSetting, |
45 XFA_ATTRIBUTE eAttribute) { | 45 XFA_ATTRIBUTE eAttribute) { |
46 } | 46 } |
OLD | NEW |