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_Object(pDocument, XFA_ObjectType::Object, XFA_Element::DataWindow) {} | 19 : CXFA_Object(pDocument, XFA_ObjectType::Object, XFA_Element::DataWindow) {} |
20 | 20 |
21 CScript_DataWindow::~CScript_DataWindow() {} | 21 CScript_DataWindow::~CScript_DataWindow() {} |
22 | 22 |
23 void CScript_DataWindow::Script_DataWindow_MoveCurrentRecord( | 23 void CScript_DataWindow::MoveCurrentRecord(CFXJSE_Arguments* pArguments) {} |
Lei Zhang
2016/07/07 19:36:18
I can't figure out what this class is suppose to d
dsinclair
2016/07/07 19:47:48
They're, essentially, dummy callbacks. If you look
| |
24 CFXJSE_Arguments* pArguments) {} | |
25 | 24 |
26 void CScript_DataWindow::Script_DataWindow_Record( | 25 void CScript_DataWindow::Record(CFXJSE_Arguments* pArguments) {} |
27 CFXJSE_Arguments* pArguments) {} | |
28 | 26 |
29 void CScript_DataWindow::Script_DataWindow_GotoRecord( | 27 void CScript_DataWindow::GotoRecord(CFXJSE_Arguments* pArguments) {} |
30 CFXJSE_Arguments* pArguments) {} | |
31 | 28 |
32 void CScript_DataWindow::Script_DataWindow_IsRecordGroup( | 29 void CScript_DataWindow::IsRecordGroup(CFXJSE_Arguments* pArguments) {} |
33 CFXJSE_Arguments* pArguments) {} | |
34 | 30 |
35 void CScript_DataWindow::Script_DataWindow_RecordsBefore( | 31 void CScript_DataWindow::RecordsBefore(CFXJSE_Value* pValue, |
36 CFXJSE_Value* pValue, | 32 FX_BOOL bSetting, |
37 FX_BOOL bSetting, | 33 XFA_ATTRIBUTE eAttribute) {} |
38 XFA_ATTRIBUTE eAttribute) {} | |
39 | 34 |
40 void CScript_DataWindow::Script_DataWindow_CurrentRecordNumber( | 35 void CScript_DataWindow::CurrentRecordNumber(CFXJSE_Value* pValue, |
41 CFXJSE_Value* pValue, | 36 FX_BOOL bSetting, |
42 FX_BOOL bSetting, | 37 XFA_ATTRIBUTE eAttribute) {} |
43 XFA_ATTRIBUTE eAttribute) {} | |
44 | 38 |
45 void CScript_DataWindow::Script_DataWindow_RecordsAfter( | 39 void CScript_DataWindow::RecordsAfter(CFXJSE_Value* pValue, |
46 CFXJSE_Value* pValue, | 40 FX_BOOL bSetting, |
47 FX_BOOL bSetting, | 41 XFA_ATTRIBUTE eAttribute) {} |
48 XFA_ATTRIBUTE eAttribute) {} | |
49 | 42 |
50 void CScript_DataWindow::Script_DataWindow_IsDefined(CFXJSE_Value* pValue, | 43 void CScript_DataWindow::IsDefined(CFXJSE_Value* pValue, |
51 FX_BOOL bSetting, | 44 FX_BOOL bSetting, |
52 XFA_ATTRIBUTE eAttribute) { | 45 XFA_ATTRIBUTE eAttribute) {} |
53 } | |
OLD | NEW |