Home | History | Annotate | Download | only in parser
      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 XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_
      8 #define XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_
      9 
     10 #include "fxjs/cfxjse_arguments.h"
     11 #include "xfa/fxfa/parser/xfa_object.h"
     12 
     13 class CScript_DataWindow : public CXFA_Object {
     14  public:
     15   explicit CScript_DataWindow(CXFA_Document* pDocument);
     16   ~CScript_DataWindow() override;
     17 
     18   void MoveCurrentRecord(CFXJSE_Arguments* pArguments);
     19   void Record(CFXJSE_Arguments* pArguments);
     20   void GotoRecord(CFXJSE_Arguments* pArguments);
     21   void IsRecordGroup(CFXJSE_Arguments* pArguments);
     22   void RecordsBefore(CFXJSE_Value* pValue,
     23                      bool bSetting,
     24                      XFA_ATTRIBUTE eAttribute);
     25   void CurrentRecordNumber(CFXJSE_Value* pValue,
     26                            bool bSetting,
     27                            XFA_ATTRIBUTE eAttribute);
     28   void RecordsAfter(CFXJSE_Value* pValue,
     29                     bool bSetting,
     30                     XFA_ATTRIBUTE eAttribute);
     31   void IsDefined(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
     32 };
     33 
     34 #endif  // XFA_FXFA_PARSER_CSCRIPT_DATAWINDOW_H_
     35