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 #ifndef _SCRIPT_DATAWINDOW_H_ 8 #define _SCRIPT_DATAWINDOW_H_ 9 class CScript_DataWindow : public CXFA_OrdinaryObject { 10 public: 11 CScript_DataWindow(CXFA_Document* pDocument); 12 virtual ~CScript_DataWindow(); 13 void Script_DataWindow_MoveCurrentRecord(CFXJSE_Arguments* pArguments); 14 void Script_DataWindow_Record(CFXJSE_Arguments* pArguments); 15 void Script_DataWindow_GotoRecord(CFXJSE_Arguments* pArguments); 16 void Script_DataWindow_IsRecordGroup(CFXJSE_Arguments* pArguments); 17 void Script_DataWindow_RecordsBefore(FXJSE_HVALUE hValue, 18 FX_BOOL bSetting, 19 XFA_ATTRIBUTE eAttribute); 20 void Script_DataWindow_CurrentRecordNumber(FXJSE_HVALUE hValue, 21 FX_BOOL bSetting, 22 XFA_ATTRIBUTE eAttribute); 23 void Script_DataWindow_RecordsAfter(FXJSE_HVALUE hValue, 24 FX_BOOL bSetting, 25 XFA_ATTRIBUTE eAttribute); 26 void Script_DataWindow_IsDefined(FXJSE_HVALUE hValue, 27 FX_BOOL bSetting, 28 XFA_ATTRIBUTE eAttribute); 29 }; 30 #endif 31