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
CFXJSE_NodeHelper Class Reference

#include <cfxjse_nodehelper.h>

+ Collaboration diagram for CFXJSE_NodeHelper:

Public Member Functions

 CFXJSE_NodeHelper ()
 
 ~CFXJSE_NodeHelper ()
 
bool CreateNode (const WideString &wsName, const WideString &wsCondition, bool bLastNode, CFXJSE_Engine *pScriptContext)
 
bool CreateNodeForCondition (const WideString &wsCondition)
 
void SetCreateNodeType (CXFA_Node *refNode)
 

Public Attributes

XFA_Element m_eLastCreateType = XFA_Element::DataValue
 
CFXJSE_Engine::ResolveResult::Type m_iCreateFlag
 
size_t m_iCreateCount = 0
 
int32_t m_iCurAllStart = -1
 
cppgc::Persistent< CXFA_Nodem_pCreateParent
 
cppgc::Persistent< CXFA_Nodem_pAllStartParent
 

Detailed Description

Definition at line 17 of file cfxjse_nodehelper.h.

Constructor & Destructor Documentation

◆ CFXJSE_NodeHelper()

CFXJSE_NodeHelper::CFXJSE_NodeHelper ( )
default

◆ ~CFXJSE_NodeHelper()

CFXJSE_NodeHelper::~CFXJSE_NodeHelper ( )
default

Member Function Documentation

◆ CreateNode()

bool CFXJSE_NodeHelper::CreateNode ( const WideString & wsName,
const WideString & wsCondition,
bool bLastNode,
CFXJSE_Engine * pScriptContext )

Definition at line 58 of file cfxjse_nodehelper.cpp.

References CreateNodeForCondition(), CXFA_Node::CreateXMLMappingNode(), m_eLastCreateType, and Unknown.

+ Here is the call graph for this function:

◆ CreateNodeForCondition()

bool CFXJSE_NodeHelper::CreateNodeForCondition ( const WideString & wsCondition)

Definition at line 22 of file cfxjse_nodehelper.cpp.

References fxcrt::WideString::WideString(), CFXJSE_Engine::EventParamScope, fxcrt::WideString::GetInteger(), CFXJSE_Engine::ResolveResult::kCreateNodeAll, CFXJSE_Engine::ResolveResult::kCreateNodeOne, m_iCreateFlag, fxcrt::WideString::operator=(), and fxcrt::WideString::operator[]().

Referenced by CreateNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCreateNodeType()

void CFXJSE_NodeHelper::SetCreateNodeType ( CXFA_Node * refNode)

Definition at line 123 of file cfxjse_nodehelper.cpp.

References CXFA_Object::GetElementType(), m_eLastCreateType, and XFA_FieldIsMultiListBox().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_eLastCreateType

XFA_Element CFXJSE_NodeHelper::m_eLastCreateType = XFA_Element::DataValue

Definition at line 29 of file cfxjse_nodehelper.h.

Referenced by CreateNode(), and SetCreateNodeType().

◆ m_iCreateCount

size_t CFXJSE_NodeHelper::m_iCreateCount = 0

Definition at line 32 of file cfxjse_nodehelper.h.

◆ m_iCreateFlag

CFXJSE_Engine::ResolveResult::Type CFXJSE_NodeHelper::m_iCreateFlag
Initial value:
=
CFXJSE_Engine::ResolveResult::Type::kCreateNodeOne

Definition at line 30 of file cfxjse_nodehelper.h.

Referenced by CreateNodeForCondition().

◆ m_iCurAllStart

int32_t CFXJSE_NodeHelper::m_iCurAllStart = -1

Definition at line 33 of file cfxjse_nodehelper.h.

◆ m_pAllStartParent

cppgc::Persistent<CXFA_Node> CFXJSE_NodeHelper::m_pAllStartParent

Definition at line 35 of file cfxjse_nodehelper.h.

◆ m_pCreateParent

cppgc::Persistent<CXFA_Node> CFXJSE_NodeHelper::m_pCreateParent

Definition at line 34 of file cfxjse_nodehelper.h.


The documentation for this class was generated from the following files: