1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "xfa/fxfa/parser/cscript_datawindow.h"
8
9 #include "fxjs/cfxjse_arguments.h"
10 #include "xfa/fxfa/parser/cxfa_document.h"
11 #include "xfa/fxfa/parser/xfa_localemgr.h"
12 #include "xfa/fxfa/parser/xfa_object.h"
13 #include "xfa/fxfa/parser/xfa_utils.h"
14
CScript_DataWindow(CXFA_Document * pDocument)15 CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument)
16 : CXFA_Object(pDocument,
17 XFA_ObjectType::Object,
18 XFA_Element::DataWindow,
19 CFX_WideStringC(L"dataWindow")) {}
20
~CScript_DataWindow()21 CScript_DataWindow::~CScript_DataWindow() {}
22
MoveCurrentRecord(CFXJSE_Arguments * pArguments)23 void CScript_DataWindow::MoveCurrentRecord(CFXJSE_Arguments* pArguments) {}
24
Record(CFXJSE_Arguments * pArguments)25 void CScript_DataWindow::Record(CFXJSE_Arguments* pArguments) {}
26
GotoRecord(CFXJSE_Arguments * pArguments)27 void CScript_DataWindow::GotoRecord(CFXJSE_Arguments* pArguments) {}
28
IsRecordGroup(CFXJSE_Arguments * pArguments)29 void CScript_DataWindow::IsRecordGroup(CFXJSE_Arguments* pArguments) {}
30
RecordsBefore(CFXJSE_Value * pValue,bool bSetting,XFA_ATTRIBUTE eAttribute)31 void CScript_DataWindow::RecordsBefore(CFXJSE_Value* pValue,
32 bool bSetting,
33 XFA_ATTRIBUTE eAttribute) {}
34
CurrentRecordNumber(CFXJSE_Value * pValue,bool bSetting,XFA_ATTRIBUTE eAttribute)35 void CScript_DataWindow::CurrentRecordNumber(CFXJSE_Value* pValue,
36 bool bSetting,
37 XFA_ATTRIBUTE eAttribute) {}
38
RecordsAfter(CFXJSE_Value * pValue,bool bSetting,XFA_ATTRIBUTE eAttribute)39 void CScript_DataWindow::RecordsAfter(CFXJSE_Value* pValue,
40 bool bSetting,
41 XFA_ATTRIBUTE eAttribute) {}
42
IsDefined(CFXJSE_Value * pValue,bool bSetting,XFA_ATTRIBUTE eAttribute)43 void CScript_DataWindow::IsDefined(CFXJSE_Value* pValue,
44 bool bSetting,
45 XFA_ATTRIBUTE eAttribute) {}
46