| 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_Object(pDocument, XFA_ObjectType::Object, XFA_Element::DataWindow) {} |
| 20 } | 20 |
| 21 CScript_DataWindow::~CScript_DataWindow() {} | 21 CScript_DataWindow::~CScript_DataWindow() {} |
| 22 |
| 22 void CScript_DataWindow::Script_DataWindow_MoveCurrentRecord( | 23 void CScript_DataWindow::Script_DataWindow_MoveCurrentRecord( |
| 23 CFXJSE_Arguments* pArguments) {} | 24 CFXJSE_Arguments* pArguments) {} |
| 25 |
| 24 void CScript_DataWindow::Script_DataWindow_Record( | 26 void CScript_DataWindow::Script_DataWindow_Record( |
| 25 CFXJSE_Arguments* pArguments) {} | 27 CFXJSE_Arguments* pArguments) {} |
| 28 |
| 26 void CScript_DataWindow::Script_DataWindow_GotoRecord( | 29 void CScript_DataWindow::Script_DataWindow_GotoRecord( |
| 27 CFXJSE_Arguments* pArguments) {} | 30 CFXJSE_Arguments* pArguments) {} |
| 31 |
| 28 void CScript_DataWindow::Script_DataWindow_IsRecordGroup( | 32 void CScript_DataWindow::Script_DataWindow_IsRecordGroup( |
| 29 CFXJSE_Arguments* pArguments) {} | 33 CFXJSE_Arguments* pArguments) {} |
| 34 |
| 30 void CScript_DataWindow::Script_DataWindow_RecordsBefore( | 35 void CScript_DataWindow::Script_DataWindow_RecordsBefore( |
| 31 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 void CScript_DataWindow::Script_DataWindow_CurrentRecordNumber( | 40 void CScript_DataWindow::Script_DataWindow_CurrentRecordNumber( |
| 35 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 void CScript_DataWindow::Script_DataWindow_RecordsAfter( | 45 void CScript_DataWindow::Script_DataWindow_RecordsAfter( |
| 39 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 void CScript_DataWindow::Script_DataWindow_IsDefined(CFXJSE_Value* pValue, | 50 void CScript_DataWindow::Script_DataWindow_IsDefined(CFXJSE_Value* pValue, |
| 43 FX_BOOL bSetting, | 51 FX_BOOL bSetting, |
| 44 XFA_ATTRIBUTE eAttribute) { | 52 XFA_ATTRIBUTE eAttribute) { |
| 45 } | 53 } |
| OLD | NEW |