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_Document Class Referencefinal

#include <cxfa_document.h>

+ Inheritance diagram for CXFA_Document:
+ Collaboration diagram for CXFA_Document:

Classes

class  LayoutProcessorIface
 

Public Member Functions

 ~CXFA_Document ()
 
void Trace (cppgc::Visitor *visitor) const
 
bool HasScriptContext () const
 
CFXJSE_EngineInitScriptContext (CJS_Runtime *fxjs_runtime)
 
CFXJSE_EngineGetScriptContext () const
 
CXFA_FFNotifyGetNotify () const
 
CXFA_NodeOwnerGetNodeOwner ()
 
cppgc::Heap * GetHeap () const
 
CXFA_LocaleMgrGetLocaleMgr ()
 
CXFA_ObjectGetXFAObject (XFA_HashCode wsNodeNameHash)
 
CXFA_NodeGetNodeByID (CXFA_Node *pRoot, WideStringView wsID) const
 
CXFA_NodeGetNotBindNode (pdfium::span< cppgc::Member< CXFA_Object > > arrayNodes) const
 
LayoutProcessorIfaceGetLayoutProcessor () const
 
CXFA_NodeGetRoot () const
 
void SetRoot (CXFA_Node *pNewRoot)
 
bool is_strict_scoping () const
 
void set_is_strict_scoping ()
 
bool is_scripting () const
 
void set_is_scripting ()
 
bool IsInteractive ()
 
XFA_VERSION GetCurVersionMode () const
 
XFA_VERSION RecognizeXFAVersionNumber (const WideString &wsTemplateNS)
 
FormType GetFormType () const
 
CXFA_NodeCreateNode (XFA_PacketType packet, XFA_Element eElement)
 
void DoProtoMerge ()
 
void DoDataMerge ()
 
void DoDataRemerge ()
 
CXFA_NodeDataMerge_CopyContainer (CXFA_Node *pTemplateNode, CXFA_Node *pFormNode, CXFA_Node *pDataScope, bool bOneInstance, bool bDataMerge, bool bUpLevel)
 
void DataMerge_UpdateBindingRelations (CXFA_Node *pFormUpdateRoot)
 
void ClearLayoutData ()
 
CXFA_NodeGetGlobalBinding (uint32_t dwNameHash)
 
void RegisterGlobalBinding (uint32_t dwNameHash, CXFA_Node *pDataNode)
 
size_t GetPendingNodesCount () const
 
CXFA_NodeGetPendingNodeAtIndex (size_t index) const
 
void AppendPendingNode (CXFA_Node *node)
 
void ClearPendingNodes ()
 
void SetPendingNodesUnusedAndUnbound ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Friends

class CXFA_DocumentTest_ParseXFAVersion_Test
 
class CXFA_DocumentTest_ParseUseHref_Test
 
class CXFA_DocumentTest_ParseUse_Test
 

Detailed Description

Definition at line 65 of file cxfa_document.h.

Constructor & Destructor Documentation

◆ ~CXFA_Document()

CXFA_Document::~CXFA_Document ( )
default

Member Function Documentation

◆ AppendPendingNode()

void CXFA_Document::AppendPendingNode ( CXFA_Node * node)

Definition at line 1878 of file cxfa_document.cpp.

◆ ClearLayoutData()

void CXFA_Document::ClearLayoutData ( )

Definition at line 1315 of file cxfa_document.cpp.

◆ ClearPendingNodes()

void CXFA_Document::ClearPendingNodes ( )

Definition at line 1882 of file cxfa_document.cpp.

◆ CreateNode()

CXFA_Node * CXFA_Document::CreateNode ( XFA_PacketType packet,
XFA_Element eElement )

Definition at line 1407 of file cxfa_document.cpp.

References CXFA_Node::Create(), and Unknown.

Referenced by DoDataMerge(), and CXFA_ViewLayoutProcessor::InitLayoutPage().

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

◆ DataMerge_CopyContainer()

CXFA_Node * CXFA_Document::DataMerge_CopyContainer ( CXFA_Node * pTemplateNode,
CXFA_Node * pFormNode,
CXFA_Node * pDataScope,
bool bOneInstance,
bool bDataMerge,
bool bUpLevel )

Definition at line 1627 of file cxfa_document.cpp.

References CXFA_Object::GetElementType().

Referenced by CXFA_Node::CreateInstanceIfPossible(), DoDataMerge(), and CXFA_ViewLayoutProcessor::ProcessOverflow().

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

◆ DataMerge_UpdateBindingRelations()

void CXFA_Document::DataMerge_UpdateBindingRelations ( CXFA_Node * pFormUpdateRoot)

Definition at line 1655 of file cxfa_document.cpp.

Referenced by CXFA_Node::CreateInstanceIfPossible(), DoDataMerge(), and CXFA_ViewLayoutProcessor::ProcessOverflow().

+ Here is the caller graph for this function:

◆ DoDataMerge()

void CXFA_Document::DoDataMerge ( )

◆ DoDataRemerge()

void CXFA_Document::DoDataRemerge ( )

Definition at line 1847 of file cxfa_document.cpp.

References DoDataMerge(), GetLayoutProcessor(), GetXFAObject(), CXFA_Node::RemoveChildAndNotify(), CXFA_Node::SetBindingNode(), CXFA_Document::LayoutProcessorIface::SetForceRelayout(), ToNode(), and XFA_HASHCODE_Form.

+ Here is the call graph for this function:

◆ DoProtoMerge()

void CXFA_Document::DoProtoMerge ( )

Definition at line 1522 of file cxfa_document.cpp.

References GetXFAObject(), fxcrt::WideString::IsEmpty(), ToNode(), and XFA_HASHCODE_Template.

+ Here is the call graph for this function:

◆ GetCurVersionMode()

XFA_VERSION CXFA_Document::GetCurVersionMode ( ) const
inline

Definition at line 120 of file cxfa_document.h.

Referenced by CXFA_Node::FindSplitPos(), and CXFA_Node::ProcessValidate().

+ Here is the caller graph for this function:

◆ GetFormType()

FormType CXFA_Document::GetFormType ( ) const

Definition at line 1503 of file cxfa_document.cpp.

References CXFA_FFNotify::GetFFDoc(), CXFA_FFDoc::GetFormType(), and GetNotify().

+ Here is the call graph for this function:

◆ GetGlobalBinding()

CXFA_Node * CXFA_Document::GetGlobalBinding ( uint32_t dwNameHash)

Definition at line 1860 of file cxfa_document.cpp.

◆ GetHeap()

cppgc::Heap * CXFA_Document::GetHeap ( ) const

Definition at line 1453 of file cxfa_document.cpp.

◆ GetLayoutProcessor()

LayoutProcessorIface * CXFA_Document::GetLayoutProcessor ( ) const
inline

Definition at line 107 of file cxfa_document.h.

Referenced by DoDataRemerge(), and CXFA_LayoutProcessor::FromDocument().

+ Here is the caller graph for this function:

◆ GetLocaleMgr()

CXFA_LocaleMgr * CXFA_Document::GetLocaleMgr ( )

Definition at line 1443 of file cxfa_document.cpp.

Referenced by CFXJSE_FormCalcContext::Format(), CFXJSE_FormCalcContext::IsoDate2Local(), CFXJSE_FormCalcContext::IsoTime2Local(), CFXJSE_FormCalcContext::IsoTime2Num(), CFXJSE_FormCalcContext::Local2IsoDate(), CFXJSE_FormCalcContext::Parse(), and CFXJSE_FormCalcContext::Time2Num().

+ Here is the caller graph for this function:

◆ GetNodeByID()

CXFA_Node * CXFA_Document::GetNodeByID ( CXFA_Node * pRoot,
WideStringView wsID ) const

Definition at line 1507 of file cxfa_document.cpp.

References fxcrt::WideString::IsEmpty().

Referenced by CXFA_TextProvider::GetEmbeddedObj().

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

◆ GetNodeOwner()

CXFA_NodeOwner * CXFA_Document::GetNodeOwner ( )
inline

Definition at line 99 of file cxfa_document.h.

◆ GetNotBindNode()

CXFA_Node * CXFA_Document::GetNotBindNode ( pdfium::span< cppgc::Member< CXFA_Object > > arrayNodes) const

Definition at line 1666 of file cxfa_document.cpp.

◆ GetNotify()

CXFA_FFNotify * CXFA_Document::GetNotify ( ) const
inline

Definition at line 98 of file cxfa_document.h.

Referenced by CFXJSE_FormCalcContext::Get(), GetFormType(), CFXJSE_Engine::GlobalPropertyGetter(), CFXJSE_Engine::GlobalPropertySetter(), CFXJSE_Engine::NormalPropertyGetter(), CFXJSE_FormCalcContext::Post(), CFXJSE_FormCalcContext::Put(), CJX_Object::ScriptSomMessage(), and XFA_ReleaseLayoutItem().

+ Here is the caller graph for this function:

◆ GetPendingNodeAtIndex()

CXFA_Node * CXFA_Document::GetPendingNodeAtIndex ( size_t index) const

Definition at line 1874 of file cxfa_document.cpp.

◆ GetPendingNodesCount()

size_t CXFA_Document::GetPendingNodesCount ( ) const

Definition at line 1870 of file cxfa_document.cpp.

◆ GetRoot()

CXFA_Node * CXFA_Document::GetRoot ( ) const
inline

Definition at line 110 of file cxfa_document.h.

Referenced by CFXJSE_Engine::NormalPropertyGetter(), and CXFA_FFDoc::SavePackage().

+ Here is the caller graph for this function:

◆ GetScriptContext()

◆ GetXFAObject()

CXFA_Object * CXFA_Document::GetXFAObject ( XFA_HashCode wsNodeNameHash)

Definition at line 1327 of file cxfa_document.cpp.

References CXFA_Node::GetNameHash(), GetXFAObject(), ToNode(), XFA_HASHCODE_Data, XFA_HASHCODE_Datasets, XFA_HASHCODE_DataWindow, XFA_HASHCODE_Event, XFA_HASHCODE_Host, XFA_HASHCODE_Layout, XFA_HASHCODE_Log, XFA_HASHCODE_Record, and XFA_HASHCODE_Signature.

Referenced by CXFA_Node::CreateInstanceIfPossible(), DoDataMerge(), DoDataRemerge(), DoProtoMerge(), CPDFXFA_DocEnvironment::ExportData(), CXFA_TextProvider::GetEmbeddedObj(), GetXFAObject(), CFXJSE_Engine::GlobalPropertyGetter(), and IsInteractive().

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

◆ HasScriptContext()

bool CXFA_Document::HasScriptContext ( ) const
inline

Definition at line 89 of file cxfa_document.h.

◆ InitScriptContext()

CFXJSE_Engine * CXFA_Document::InitScriptContext ( CJS_Runtime * fxjs_runtime)

Definition at line 1457 of file cxfa_document.cpp.

◆ is_scripting()

bool CXFA_Document::is_scripting ( ) const
inline

Definition at line 116 of file cxfa_document.h.

Referenced by CXFA_Node::ProcessValidate().

+ Here is the caller graph for this function:

◆ is_strict_scoping()

bool CXFA_Document::is_strict_scoping ( ) const
inline

Definition at line 113 of file cxfa_document.h.

◆ IsInteractive()

bool CXFA_Document::IsInteractive ( )

Definition at line 1415 of file cxfa_document.cpp.

References fxcrt::WideString::EqualsASCII(), GetXFAObject(), ToNode(), and XFA_HASHCODE_Config.

+ Here is the call graph for this function:

◆ RecognizeXFAVersionNumber()

XFA_VERSION CXFA_Document::RecognizeXFAVersionNumber ( const WideString & wsTemplateNS)

Definition at line 1468 of file cxfa_document.cpp.

References XFA_VERSION_UNKNOWN.

◆ RegisterGlobalBinding()

void CXFA_Document::RegisterGlobalBinding ( uint32_t dwNameHash,
CXFA_Node * pDataNode )

Definition at line 1865 of file cxfa_document.cpp.

◆ set_is_scripting()

void CXFA_Document::set_is_scripting ( )
inline

Definition at line 117 of file cxfa_document.h.

◆ set_is_strict_scoping()

void CXFA_Document::set_is_strict_scoping ( )
inline

Definition at line 114 of file cxfa_document.h.

◆ SetPendingNodesUnusedAndUnbound()

void CXFA_Document::SetPendingNodesUnusedAndUnbound ( )

Definition at line 1886 of file cxfa_document.cpp.

◆ SetRoot()

void CXFA_Document::SetRoot ( CXFA_Node * pNewRoot)
inline

Definition at line 111 of file cxfa_document.h.

◆ Trace()

void CXFA_Document::Trace ( cppgc::Visitor * visitor) const

Definition at line 1299 of file cxfa_document.cpp.

Friends And Related Symbol Documentation

◆ CXFA_DocumentTest_ParseUse_Test

friend class CXFA_DocumentTest_ParseUse_Test
friend

Definition at line 151 of file cxfa_document.h.

◆ CXFA_DocumentTest_ParseUseHref_Test

friend class CXFA_DocumentTest_ParseUseHref_Test
friend

Definition at line 150 of file cxfa_document.h.

◆ CXFA_DocumentTest_ParseXFAVersion_Test

friend class CXFA_DocumentTest_ParseXFAVersion_Test
friend

Definition at line 149 of file cxfa_document.h.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_Document::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 84 of file cxfa_document.h.


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