Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cjx_datawindow.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
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 FXJS_XFA_CJX_DATAWINDOW_H_
8#define FXJS_XFA_CJX_DATAWINDOW_H_
9
10#include "fxjs/xfa/cjx_object.h"
11#include "fxjs/xfa/jse_define.h"
12#include "xfa/fxfa/fxfa_basic.h"
13
14class CScript_DataWindow;
15
16class CJX_DataWindow final : public CJX_Object {
17 public:
19 ~CJX_DataWindow() override;
20
21 // CJX_Object:
22 bool DynamicTypeIs(TypeTag eType) const override;
23
24 JSE_METHOD(gotoRecord);
25 JSE_METHOD(isRecordGroup);
26 JSE_METHOD(moveCurrentRecord);
27 JSE_METHOD(record);
28
29 JSE_PROP(currentRecordNumber);
30 JSE_PROP(isDefined);
31 JSE_PROP(recordsAfter);
32 JSE_PROP(recordsBefore);
33
34 private:
35 explicit CJX_DataWindow(CScript_DataWindow* window);
36
37 using Type__ = CJX_DataWindow;
38 using ParentType__ = CJX_Object;
39
40 static const TypeTag static_type__ = TypeTag::DataWindow;
41 static const CJX_MethodSpec MethodSpecs[];
42};
43
44#endif // FXJS_XFA_CJX_DATAWINDOW_H_
friend class EventParamScope
static CJS_Result Success()
Definition cjs_result.h:27
~CJX_DataWindow() override
bool DynamicTypeIs(TypeTag eType) const override
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
virtual bool DynamicTypeIs(TypeTag eType) const
XFA_Attribute
Definition fxfa_basic.h:67
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
#define JSE_PROP(prop_name)
Definition jse_define.h:28
#define JSE_METHOD(method_name)
Definition jse_define.h:17