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

#include <cxfa_ffnotify.h>

+ Inheritance diagram for CXFA_FFNotify:
+ Collaboration diagram for CXFA_FFNotify:

Public Member Functions

 ~CXFA_FFNotify ()
 
void Trace (cppgc::Visitor *visitor) const
 
void OnPageViewEvent (CXFA_ViewLayoutItem *pSender, CXFA_FFDoc::PageViewEvent eEvent)
 
void OnWidgetListItemAdded (CXFA_Node *pSender, const WideString &wsLabel, int32_t iIndex)
 
void OnWidgetListItemRemoved (CXFA_Node *pSender, int32_t iIndex)
 
void OnNodeReady (CXFA_Node *pNode)
 
void OnValueChanging (CXFA_Node *pSender, XFA_Attribute eAttr)
 
void OnValueChanged (CXFA_Node *pSender, XFA_Attribute eAttr, CXFA_Node *pParentNode, CXFA_Node *pWidgetNode)
 
void OnContainerChanged ()
 
void OnChildAdded (CXFA_Node *pSender)
 
void OnChildRemoved ()
 
CXFA_FFPageViewOnCreateViewLayoutItem (CXFA_Node *pNode)
 
CXFA_FFWidgetOnCreateContentLayoutItem (CXFA_Node *pNode)
 
void OnLayoutItemAdded (CXFA_LayoutProcessor *pLayout, CXFA_LayoutItem *pSender, int32_t iPageIdx, Mask< XFA_WidgetStatus > dwStatus)
 
void OnLayoutItemRemoving (CXFA_LayoutProcessor *pLayout, CXFA_LayoutItem *pSender)
 
void StartFieldDrawLayout (CXFA_Node *pItem, float *pCalcWidth, float *pCalcHeight)
 
bool RunScript (CXFA_Script *pScript, CXFA_Node *pFormItem)
 
XFA_EventError ExecEventByDeepFirst (CXFA_Node *pFormNode, XFA_EVENTTYPE eEventType, bool bIsFormReady, bool bRecursive)
 
void AddCalcValidate (CXFA_Node *pNode)
 
CXFA_FFDocGetFFDoc () const
 
CXFA_FFApp::CallbackIfaceGetAppProvider ()
 
void HandleWidgetEvent (CXFA_Node *pNode, CXFA_EventParam *pParam)
 
void OpenDropDownList (CXFA_Node *pNode)
 
void ResetData (CXFA_Node *pNode)
 
CXFA_FFDocView::LayoutStatus GetLayoutStatus ()
 
void RunNodeInitialize (CXFA_Node *pNode)
 
void RunSubformIndexChange (CXFA_Subform *pSubformNode)
 
CXFA_NodeGetFocusWidgetNode ()
 
void SetFocusWidgetNode (CXFA_Node *pNode)
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Detailed Description

Definition at line 26 of file cxfa_ffnotify.h.

Constructor & Destructor Documentation

◆ ~CXFA_FFNotify()

CXFA_FFNotify::~CXFA_FFNotify ( )
default

Member Function Documentation

◆ AddCalcValidate()

void CXFA_FFNotify::AddCalcValidate ( CXFA_Node * pNode)

Definition at line 240 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::AddCalculateNode(), and CXFA_FFDocView::AddValidateNode().

Referenced by CJX_Object::ScriptSomMessage().

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

◆ ExecEventByDeepFirst()

XFA_EventError CXFA_FFNotify::ExecEventByDeepFirst ( CXFA_Node * pFormNode,
XFA_EVENTTYPE eEventType,
bool bIsFormReady,
bool bRecursive )

Definition at line 229 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::ExecEventActivityByDeepFirst(), and kNotExist.

Referenced by CJX_Node::execSingleEventByName().

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

◆ GetAppProvider()

CXFA_FFApp::CallbackIface * CXFA_FFNotify::GetAppProvider ( )

Definition at line 249 of file cxfa_ffnotify.cpp.

Referenced by CFXJSE_FormCalcContext::Get(), CFXJSE_FormCalcContext::Post(), and CFXJSE_FormCalcContext::Put().

+ Here is the caller graph for this function:

◆ GetFFDoc()

CXFA_FFDoc * CXFA_FFNotify::GetFFDoc ( ) const
inline

Definition at line 71 of file cxfa_ffnotify.h.

Referenced by CXFA_Document::GetFormType(), CFXJSE_Engine::GlobalPropertyGetter(), CFXJSE_Engine::GlobalPropertySetter(), CFXJSE_Engine::NormalPropertyGetter(), and OpenDropDownList().

+ Here is the caller graph for this function:

◆ GetFocusWidgetNode()

CXFA_Node * CXFA_FFNotify::GetFocusWidgetNode ( )

Definition at line 323 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::GetFocusNode().

+ Here is the call graph for this function:

◆ GetLayoutStatus()

CXFA_FFDocView::LayoutStatus CXFA_FFNotify::GetLayoutStatus ( )

Definition at line 301 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::GetLayoutStatus(), and CXFA_FFDocView::kNone.

+ Here is the call graph for this function:

◆ HandleWidgetEvent()

void CXFA_FFNotify::HandleWidgetEvent ( CXFA_Node * pNode,
CXFA_EventParam * pParam )

Definition at line 253 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::GetWidgetHandler(), and CXFA_FFWidgetHandler::ProcessEvent().

+ Here is the call graph for this function:

◆ OnChildAdded()

void CXFA_FFNotify::OnChildAdded ( CXFA_Node * pSender)

Definition at line 446 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::GetLayoutStatus(), CXFA_FFDocView::InLayoutStatus(), CXFA_Node::IsFormContainer(), and CXFA_FFDocView::kEnd.

Referenced by CXFA_Node::InsertChildAndNotify().

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

◆ OnChildRemoved()

void CXFA_FFNotify::OnChildRemoved ( )

Definition at line 461 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::GetLayoutStatus(), CXFA_FFDocView::InLayoutStatus(), and CXFA_FFDocView::kEnd.

+ Here is the call graph for this function:

◆ OnContainerChanged()

void CXFA_FFNotify::OnContainerChanged ( )

Definition at line 442 of file cxfa_ffnotify.cpp.

Referenced by CXFA_Node::SendAttributeChangeMessage().

+ Here is the caller graph for this function:

◆ OnCreateContentLayoutItem()

CXFA_FFWidget * CXFA_FFNotify::OnCreateContentLayoutItem ( CXFA_Node * pNode)

Definition at line 96 of file cxfa_ffnotify.cpp.

References CXFA_Barcode::FromNode(), CXFA_Button::FromNode(), CXFA_CheckButton::FromNode(), CXFA_PasswordEdit::FromNode(), CXFA_Node::GetFFWidgetType(), CXFA_Node::GetUIChildNode(), CXFA_Object::HasCreatedUIWidget(), CXFA_Node::IsListBox(), kBarcode, kButton, kCheckButton, kChoiceList, kNone, and kPasswordEdit.

+ Here is the call graph for this function:

◆ OnCreateViewLayoutItem()

CXFA_FFPageView * CXFA_FFNotify::OnCreateViewLayoutItem ( CXFA_Node * pNode)

Definition at line 86 of file cxfa_ffnotify.cpp.

References CXFA_Object::GetElementType().

+ Here is the call graph for this function:

◆ OnLayoutItemAdded()

◆ OnLayoutItemRemoving()

void CXFA_FFNotify::OnLayoutItemRemoving ( CXFA_LayoutProcessor * pLayout,
CXFA_LayoutItem * pSender )

Definition at line 510 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::DeleteLayoutItem(), CXFA_FFWidget::FromLayoutItem(), and CXFA_FFWidget::InvalidateRect().

Referenced by CXFA_ContentLayoutProcessor::ExtractLayoutItem(), and XFA_ReleaseLayoutItem().

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

◆ OnNodeReady()

void CXFA_FFNotify::OnNodeReady ( CXFA_Node * pNode)

Definition at line 335 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::AddBindItem(), CXFA_Object::GetElementType(), CXFA_Object::HasCreatedUIWidget(), kNeedsInitApp, CXFA_Node::SetFlag(), and CXFA_Node::SetWidgetReady().

Referenced by CXFA_Node::SetInitializedFlagAndNotify().

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

◆ OnPageViewEvent()

void CXFA_FFNotify::OnPageViewEvent ( CXFA_ViewLayoutItem * pSender,
CXFA_FFDoc::PageViewEvent eEvent )

Definition at line 54 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::OnPageViewEvent().

Referenced by CXFA_ViewLayoutProcessor::SyncLayoutData(), and XFA_ReleaseLayoutItem().

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

◆ OnValueChanged()

void CXFA_FFNotify::OnValueChanged ( CXFA_Node * pSender,
XFA_Attribute eAttr,
CXFA_Node * pParentNode,
CXFA_Node * pWidgetNode )

Definition at line 378 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::AddCalculateNode(), CXFA_FFDocView::AddCalculateNodeNotify(), CXFA_FFDocView::AddValidateNode(), CXFA_Node::GetCaptionTextLayout(), CXFA_Object::GetElementType(), CXFA_FFWidget::GetNextFFWidget(), CXFA_Node::GetPacketType(), CXFA_FFWidget::InvalidateRect(), CXFA_Object::IsContainerNode(), CXFA_FFWidget::IsLoaded(), CXFA_FFWidget::PerformLayout(), CXFA_FFDocView::SetChangeMark(), CXFA_TextLayout::Unload(), and CXFA_FFWidget::UpdateWidgetProperty().

Referenced by CXFA_Node::SendAttributeChangeMessage().

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

◆ OnValueChanging()

void CXFA_FFNotify::OnValueChanging ( CXFA_Node * pSender,
XFA_Attribute eAttr )

Definition at line 357 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::GetLayoutStatus(), CXFA_FFWidget::GetNextFFWidget(), CXFA_Node::GetPacketType(), CXFA_FFWidget::InvalidateRect(), CXFA_Node::IsFormContainer(), CXFA_FFWidget::IsLoaded(), and CXFA_FFDocView::kEnd.

+ Here is the call graph for this function:

◆ OnWidgetListItemAdded()

void CXFA_FFNotify::OnWidgetListItemAdded ( CXFA_Node * pSender,
const WideString & wsLabel,
int32_t iIndex )

Definition at line 61 of file cxfa_ffnotify.cpp.

References CXFA_Node::GetFFWidgetType(), CXFA_FFWidget::GetNextFFWidget(), CXFA_FFDropDown::InsertItem(), CXFA_FFWidget::IsLoaded(), kChoiceList, ToDropDown(), and ToField().

+ Here is the call graph for this function:

◆ OnWidgetListItemRemoved()

void CXFA_FFNotify::OnWidgetListItemRemoved ( CXFA_Node * pSender,
int32_t iIndex )

Definition at line 74 of file cxfa_ffnotify.cpp.

References CXFA_FFDropDown::DeleteItem(), CXFA_Node::GetFFWidgetType(), CXFA_FFWidget::GetNextFFWidget(), CXFA_FFWidget::IsLoaded(), kChoiceList, ToDropDown(), and ToField().

+ Here is the call graph for this function:

◆ OpenDropDownList()

void CXFA_FFNotify::OpenDropDownList ( CXFA_Node * pNode)

Definition at line 266 of file cxfa_ffnotify.cpp.

References CXFA_FFWidget::FromLayoutItem(), GetFFDoc(), CXFA_Node::GetFFWidgetType(), CXFA_FFWidget::GetNode(), CXFA_FFWidget::IsLoaded(), kChoiceList, CXFA_FFComboBox::OpenDropDownList(), CXFA_FFDoc::SetFocusWidget(), ToComboBox(), ToDropDown(), and ToField().

+ Here is the call graph for this function:

◆ ResetData()

void CXFA_FFNotify::ResetData ( CXFA_Node * pNode)

Definition at line 293 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::ResetNode().

+ Here is the call graph for this function:

◆ RunNodeInitialize()

void CXFA_FFNotify::RunNodeInitialize ( CXFA_Node * pNode)

Definition at line 307 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::AddNewFormNode().

+ Here is the call graph for this function:

◆ RunScript()

bool CXFA_FFNotify::RunScript ( CXFA_Script * pScript,
CXFA_Node * pFormItem )

Definition at line 214 of file cxfa_ffnotify.cpp.

References CXFA_EventParam::CXFA_EventParam(), CXFA_Node::ExecuteBoolScript(), kSuccess, CXFA_EventParam::m_bTargeted, CXFA_Node::BoolScriptResult::script_result, CXFA_Node::BoolScriptResult::xfa_event_result, and XFA_EVENT_Unknown.

+ Here is the call graph for this function:

◆ RunSubformIndexChange()

void CXFA_FFNotify::RunSubformIndexChange ( CXFA_Subform * pSubformNode)

Definition at line 315 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::AddIndexChangedSubform().

+ Here is the call graph for this function:

◆ SetFocusWidgetNode()

void CXFA_FFNotify::SetFocusWidgetNode ( CXFA_Node * pNode)

Definition at line 328 of file cxfa_ffnotify.cpp.

References CXFA_FFDocView::SetFocusNode().

+ Here is the call graph for this function:

◆ StartFieldDrawLayout()

void CXFA_FFNotify::StartFieldDrawLayout ( CXFA_Node * pItem,
float * pCalcWidth,
float * pCalcHeight )

Definition at line 208 of file cxfa_ffnotify.cpp.

◆ Trace()

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

Definition at line 50 of file cxfa_ffnotify.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_FFNotify::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 28 of file cxfa_ffnotify.h.


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