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_attachnodelist.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_ATTACHNODELIST_H_
8#define XFA_FXFA_PARSER_CXFA_ATTACHNODELIST_H_
9
10#include "v8/include/cppgc/member.h"
11#include "v8/include/cppgc/visitor.h"
12#include "xfa/fxfa/parser/cxfa_treelist.h"
13
14class CXFA_Document;
15class CXFA_Node;
16
17class CXFA_AttachNodeList final : public CXFA_TreeList {
18 public:
21
22 void Trace(cppgc::Visitor* visitor) const override;
23
24 // CXFA_TreeList:
25 size_t GetLength() override;
26 bool Append(CXFA_Node* pNode) override;
27 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
28 void Remove(CXFA_Node* pNode) override;
29 CXFA_Node* Item(size_t iIndex) override;
30
31 private:
32 CXFA_AttachNodeList(CXFA_Document* pDocument, CXFA_Node* pAttachNode);
33
34 cppgc::Member<CXFA_Node> const m_pAttachNode;
35};
36
37#endif // XFA_FXFA_PARSER_CXFA_ATTACHNODELIST_H_
XFA_ResolveFlag
CXFA_Object * GetThisObject() const
CFXJSE_Class * GetJseNormalClass() const
friend class EventParamScope
static CJS_Result Success()
Definition cjs_result.h:27
static CJS_Result Failure(JSMessage id)
Definition cjs_result.h:34
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
CXFA_Object * GetXFAObject() const
Definition cjx_object.h:113
void ThrowInvalidPropertyException(v8::Isolate *pIsolate) const
CXFA_Document * GetDocument() const
virtual bool DynamicTypeIs(TypeTag eType) const
CXFA_Node * GetXFANode() const
WideString GetAttributeByEnum(XFA_Attribute attr) const
CJX_Object(CXFA_Object *obj)
CJX_Tree(CXFA_Object *obj)
Definition cjx_tree.cpp:30
bool DynamicTypeIs(TypeTag eType) const override
Definition cjx_tree.cpp:36
~CJX_Tree() override
~CXFA_AttachNodeList() override
bool Insert(CXFA_Node *pNewNode, CXFA_Node *pBeforeNode) override
void Remove(CXFA_Node *pNode) override
CXFA_Node * Item(size_t iIndex) override
bool Append(CXFA_Node *pNode) override
size_t GetLength() override
void Trace(cppgc::Visitor *visitor) const override
CFXJSE_Engine * GetScriptContext() const
CXFA_NodeOwner * GetNodeOwner()
void PersistList(CXFA_List *list)
XFA_Element GetElementType() const
Definition cxfa_object.h:91
ByteString ToUTF8() const
static WideString FromASCII(ByteStringView str)
XFA_Attribute
Definition fxfa_basic.h:67
XFA_Element
Definition fxfa_basic.h:75
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
JSMessage
Definition heap.h:12