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
cxfa_subform.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 XFA_FXFA_PARSER_CXFA_SUBFORM_H_
8#define XFA_FXFA_PARSER_CXFA_SUBFORM_H_
9
10#include "xfa/fxfa/parser/cxfa_node.h"
11
12class CXFA_Subform final : public CXFA_Node {
13 public:
14 static CXFA_Subform* FromNode(CXFA_Node* pNode);
15
17 ~CXFA_Subform() override;
18
19 private:
20 CXFA_Subform(CXFA_Document* doc, XFA_PacketType packet);
21};
22
23#endif // XFA_FXFA_PARSER_CXFA_SUBFORM_H_
friend class EventParamScope
CXFA_Document * GetDocument() const
static CJS_Result Success()
Definition cjs_result.h:27
static CJS_Result Failure(JSMessage id)
Definition cjs_result.h:34
int32_t MoveInstance(v8::Isolate *pIsolate, int32_t iTo, int32_t iFrom)
~CJX_InstanceManager() override
bool DynamicTypeIs(TypeTag eType) const override
bool DynamicTypeIs(TypeTag eType) const override
Definition cjx_node.cpp:112
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
void ThrowIndexOutOfBoundsException(v8::Isolate *pIsolate) const
void ThrowInvalidPropertyException(v8::Isolate *pIsolate) const
CXFA_Document * GetDocument() const
WideString GetCData(XFA_Attribute eAttr) const
CXFA_Node * GetXFANode() const
void ThrowTooManyOccurrencesException(v8::Isolate *pIsolate, const WideString &obj) const
FormType GetFormType() const
void RunNodeInitialize(CXFA_Node *pNode)
void RunSubformIndexChange(CXFA_Subform *pSubformNode)
~CXFA_InstanceManager() override
uint32_t GetNameHash() const
Definition cxfa_node.h:190
CXFA_Node * GetItemIfExists(int32_t iIndex)
XFA_Element GetElementType() const
Definition cxfa_object.h:91
static constexpr int32_t kDefaultMax
Definition cxfa_occur.h:16
static constexpr int32_t kDefaultMin
Definition cxfa_occur.h:17
int32_t GetMax()
int32_t GetMin()
~CXFA_Subform() override
static CXFA_Subform * FromNode(CXFA_Node *pNode)
bool IsEmpty() const
Definition widestring.h:118
FormType
Definition fxfa.h:38
XFA_Attribute
Definition fxfa_basic.h:67
XFA_Element
Definition fxfa_basic.h:75
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
JSMessage
@ kNotSupportedError
@ kTooManyOccurrences
@ kInvalidInputError
#define JSE_PROP(prop_name)
Definition jse_define.h:28
#define JSE_METHOD(method_name)
Definition jse_define.h:17