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 "fxjs/include/cfxjse_arguments.h" | 9 #include "fxjs/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_script.h" | 14 #include "xfa/fxfa/parser/xfa_script.h" |
15 #include "xfa/fxfa/parser/xfa_utils.h" | 15 #include "xfa/fxfa/parser/xfa_utils.h" |
16 | 16 |
17 CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument) | 17 CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument) |
18 : CXFA_Object(pDocument, XFA_ObjectType::Object, XFA_Element::DataWindow) {} | 18 : CXFA_Object(pDocument, |
| 19 XFA_ObjectType::Object, |
| 20 XFA_Element::DataWindow, |
| 21 CFX_WideStringC(L"dataWindow")) {} |
19 | 22 |
20 CScript_DataWindow::~CScript_DataWindow() {} | 23 CScript_DataWindow::~CScript_DataWindow() {} |
21 | 24 |
22 void CScript_DataWindow::MoveCurrentRecord(CFXJSE_Arguments* pArguments) {} | 25 void CScript_DataWindow::MoveCurrentRecord(CFXJSE_Arguments* pArguments) {} |
23 | 26 |
24 void CScript_DataWindow::Record(CFXJSE_Arguments* pArguments) {} | 27 void CScript_DataWindow::Record(CFXJSE_Arguments* pArguments) {} |
25 | 28 |
26 void CScript_DataWindow::GotoRecord(CFXJSE_Arguments* pArguments) {} | 29 void CScript_DataWindow::GotoRecord(CFXJSE_Arguments* pArguments) {} |
27 | 30 |
28 void CScript_DataWindow::IsRecordGroup(CFXJSE_Arguments* pArguments) {} | 31 void CScript_DataWindow::IsRecordGroup(CFXJSE_Arguments* pArguments) {} |
29 | 32 |
30 void CScript_DataWindow::RecordsBefore(CFXJSE_Value* pValue, | 33 void CScript_DataWindow::RecordsBefore(CFXJSE_Value* pValue, |
31 FX_BOOL bSetting, | 34 FX_BOOL bSetting, |
32 XFA_ATTRIBUTE eAttribute) {} | 35 XFA_ATTRIBUTE eAttribute) {} |
33 | 36 |
34 void CScript_DataWindow::CurrentRecordNumber(CFXJSE_Value* pValue, | 37 void CScript_DataWindow::CurrentRecordNumber(CFXJSE_Value* pValue, |
35 FX_BOOL bSetting, | 38 FX_BOOL bSetting, |
36 XFA_ATTRIBUTE eAttribute) {} | 39 XFA_ATTRIBUTE eAttribute) {} |
37 | 40 |
38 void CScript_DataWindow::RecordsAfter(CFXJSE_Value* pValue, | 41 void CScript_DataWindow::RecordsAfter(CFXJSE_Value* pValue, |
39 FX_BOOL bSetting, | 42 FX_BOOL bSetting, |
40 XFA_ATTRIBUTE eAttribute) {} | 43 XFA_ATTRIBUTE eAttribute) {} |
41 | 44 |
42 void CScript_DataWindow::IsDefined(CFXJSE_Value* pValue, | 45 void CScript_DataWindow::IsDefined(CFXJSE_Value* pValue, |
43 FX_BOOL bSetting, | 46 FX_BOOL bSetting, |
44 XFA_ATTRIBUTE eAttribute) {} | 47 XFA_ATTRIBUTE eAttribute) {} |
OLD | NEW |