blob: a5b0587d4debf1b156a83094ff127df2512dc450 [file] [log] [blame]
Dan Sinclair1770c022016-03-14 14:14:16 -04001// 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
dsinclairc1515ef2016-07-20 06:16:06 -07007#include "xfa/fxfa/parser/cscript_datawindow.h"
Dan Sinclair1770c022016-03-14 14:14:16 -04008
dsinclair08fea802016-07-12 10:37:52 -07009#include "fxjs/include/cfxjse_arguments.h"
Dan Sinclair1770c022016-03-14 14:14:16 -040010#include "xfa/fxfa/parser/xfa_doclayout.h"
11#include "xfa/fxfa/parser/xfa_document.h"
12#include "xfa/fxfa/parser/xfa_localemgr.h"
13#include "xfa/fxfa/parser/xfa_object.h"
Dan Sinclair1770c022016-03-14 14:14:16 -040014#include "xfa/fxfa/parser/xfa_script.h"
15#include "xfa/fxfa/parser/xfa_utils.h"
Dan Sinclair1770c022016-03-14 14:14:16 -040016
17CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument)
dsinclairc1df5d42016-07-18 06:36:51 -070018 : CXFA_Object(pDocument,
19 XFA_ObjectType::Object,
20 XFA_Element::DataWindow,
21 CFX_WideStringC(L"dataWindow")) {}
dsinclair937a1132016-06-23 07:52:01 -070022
Dan Sinclair1770c022016-03-14 14:14:16 -040023CScript_DataWindow::~CScript_DataWindow() {}
dsinclair937a1132016-06-23 07:52:01 -070024
dsinclaird1cf2392016-07-11 06:46:59 -070025void CScript_DataWindow::MoveCurrentRecord(CFXJSE_Arguments* pArguments) {}
dsinclair937a1132016-06-23 07:52:01 -070026
dsinclaird1cf2392016-07-11 06:46:59 -070027void CScript_DataWindow::Record(CFXJSE_Arguments* pArguments) {}
dsinclair937a1132016-06-23 07:52:01 -070028
dsinclaird1cf2392016-07-11 06:46:59 -070029void CScript_DataWindow::GotoRecord(CFXJSE_Arguments* pArguments) {}
dsinclair937a1132016-06-23 07:52:01 -070030
dsinclaird1cf2392016-07-11 06:46:59 -070031void CScript_DataWindow::IsRecordGroup(CFXJSE_Arguments* pArguments) {}
dsinclair937a1132016-06-23 07:52:01 -070032
dsinclaird1cf2392016-07-11 06:46:59 -070033void CScript_DataWindow::RecordsBefore(CFXJSE_Value* pValue,
34 FX_BOOL bSetting,
35 XFA_ATTRIBUTE eAttribute) {}
dsinclair937a1132016-06-23 07:52:01 -070036
dsinclaird1cf2392016-07-11 06:46:59 -070037void CScript_DataWindow::CurrentRecordNumber(CFXJSE_Value* pValue,
38 FX_BOOL bSetting,
39 XFA_ATTRIBUTE eAttribute) {}
dsinclair937a1132016-06-23 07:52:01 -070040
dsinclaird1cf2392016-07-11 06:46:59 -070041void CScript_DataWindow::RecordsAfter(CFXJSE_Value* pValue,
42 FX_BOOL bSetting,
43 XFA_ATTRIBUTE eAttribute) {}
dsinclair937a1132016-06-23 07:52:01 -070044
dsinclaird1cf2392016-07-11 06:46:59 -070045void CScript_DataWindow::IsDefined(CFXJSE_Value* pValue,
46 FX_BOOL bSetting,
47 XFA_ATTRIBUTE eAttribute) {}