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

#include <cxfa_ffwidgethandler.h>

+ Inheritance diagram for CXFA_FFWidgetHandler:
+ Collaboration diagram for CXFA_FFWidgetHandler:

Public Member Functions

 ~CXFA_FFWidgetHandler ()
 
void Trace (cppgc::Visitor *visitor) const
 
bool OnMouseEnter (CXFA_FFWidget *hWidget)
 
bool OnMouseExit (CXFA_FFWidget *hWidget)
 
bool OnLButtonDown (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
bool OnLButtonUp (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
bool OnLButtonDblClk (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
bool OnMouseMove (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
bool OnMouseWheel (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, const CFX_Vector &delta)
 
bool OnRButtonDown (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
bool OnRButtonUp (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
bool OnRButtonDblClk (CXFA_FFWidget *hWidget, Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
 
WideString GetText (CXFA_FFWidget *widget)
 
WideString GetSelectedText (CXFA_FFWidget *widget)
 
void PasteText (CXFA_FFWidget *widget, const WideString &text)
 
bool SelectAllText (CXFA_FFWidget *widget)
 
bool CanUndo (CXFA_FFWidget *widget)
 
bool CanRedo (CXFA_FFWidget *widget)
 
bool Undo (CXFA_FFWidget *widget)
 
bool Redo (CXFA_FFWidget *widget)
 
bool OnKeyDown (CXFA_FFWidget *hWidget, XFA_FWL_VKEYCODE dwKeyCode, Mask< XFA_FWL_KeyFlag > dwFlags)
 
bool OnChar (CXFA_FFWidget *hWidget, uint32_t dwChar, Mask< XFA_FWL_KeyFlag > dwFlags)
 
FWL_WidgetHit HitTest (CXFA_FFWidget *pWidget, const CFX_PointF &point)
 
void RenderWidget (CXFA_FFWidget *hWidget, CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, bool bHighlight)
 
bool HasEvent (CXFA_Node *pNode, XFA_EVENTTYPE eEventType)
 
XFA_EventError ProcessEvent (CXFA_Node *pNode, CXFA_EventParam *pParam)
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Detailed Description

Definition at line 26 of file cxfa_ffwidgethandler.h.

Constructor & Destructor Documentation

◆ ~CXFA_FFWidgetHandler()

CXFA_FFWidgetHandler::~CXFA_FFWidgetHandler ( )
default

Member Function Documentation

◆ CanRedo()

bool CXFA_FFWidgetHandler::CanRedo ( CXFA_FFWidget * widget)

Definition at line 157 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::CanRedo().

Referenced by CPDFXFA_Widget::CanRedo().

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

◆ CanUndo()

bool CXFA_FFWidgetHandler::CanUndo ( CXFA_FFWidget * widget)

Definition at line 153 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::CanUndo().

Referenced by CPDFXFA_Widget::CanUndo().

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

◆ GetSelectedText()

WideString CXFA_FFWidgetHandler::GetSelectedText ( CXFA_FFWidget * widget)

Definition at line 130 of file cxfa_ffwidgethandler.cpp.

References fxcrt::WideString::WideString(), and CXFA_FFWidget::CanCopy().

Referenced by CPDFXFA_Widget::GetSelectedText().

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

◆ GetText()

WideString CXFA_FFWidgetHandler::GetText ( CXFA_FFWidget * widget)

Definition at line 126 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::GetText().

Referenced by CPDFXFA_Widget::GetText().

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

◆ HasEvent()

bool CXFA_FFWidgetHandler::HasEvent ( CXFA_Node * pNode,
XFA_EVENTTYPE eEventType )

Definition at line 185 of file cxfa_ffwidgethandler.cpp.

References CXFA_Node::GetCalculateIfExists(), CXFA_Object::GetElementType(), CXFA_Calculate::GetScriptIfExists(), CXFA_Validate::GetScriptIfExists(), CXFA_Node::GetValidateIfExists(), kXFAEventActivity, XFA_EVENT_Calculate, XFA_EVENT_Unknown, and XFA_EVENT_Validate.

Referenced by CXFA_FFWidget::HasEventUnderHandler().

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

◆ HitTest()

FWL_WidgetHit CXFA_FFWidgetHandler::HitTest ( CXFA_FFWidget * pWidget,
const CFX_PointF & point )

Definition at line 169 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::GetLayoutItem(), CXFA_FFWidget::HitTest(), kVisible, CXFA_FFWidget::Rotate2Normal(), CXFA_ContentLayoutItem::TestStatusBits(), and Unknown.

Referenced by CPDFXFA_Widget::DoHitTest().

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

◆ OnChar()

bool CXFA_FFWidgetHandler::OnChar ( CXFA_FFWidget * hWidget,
uint32_t dwChar,
Mask< XFA_FWL_KeyFlag > dwFlags )

Definition at line 120 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnChar().

+ Here is the call graph for this function:

◆ OnKeyDown()

bool CXFA_FFWidgetHandler::OnKeyDown ( CXFA_FFWidget * hWidget,
XFA_FWL_VKEYCODE dwKeyCode,
Mask< XFA_FWL_KeyFlag > dwFlags )

Definition at line 112 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnKeyDown().

+ Here is the call graph for this function:

◆ OnLButtonDblClk()

bool CXFA_FFWidgetHandler::OnLButtonDblClk ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 66 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnLButtonDblClk(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnLButtonDown()

bool CXFA_FFWidgetHandler::OnLButtonDown ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 42 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::AcceptsFocusOnButtonDown(), CFWL_MessageMouse::kLeftButtonDown, CXFA_FFWidget::OnLButtonDown(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnLButtonUp()

bool CXFA_FFWidgetHandler::OnLButtonUp ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 58 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnLButtonUp(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnMouseEnter()

bool CXFA_FFWidgetHandler::OnMouseEnter ( CXFA_FFWidget * hWidget)

Definition at line 32 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnMouseEnter().

Referenced by CPDFXFA_Widget::OnMouseEnter().

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

◆ OnMouseExit()

bool CXFA_FFWidgetHandler::OnMouseExit ( CXFA_FFWidget * hWidget)

Definition at line 37 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnMouseExit().

Referenced by CPDFXFA_Widget::OnMouseExit().

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

◆ OnMouseMove()

bool CXFA_FFWidgetHandler::OnMouseMove ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 72 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnMouseMove(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnMouseWheel()

bool CXFA_FFWidgetHandler::OnMouseWheel ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point,
const CFX_Vector & delta )

Definition at line 78 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnMouseWheel(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnRButtonDblClk()

bool CXFA_FFWidgetHandler::OnRButtonDblClk ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 106 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnRButtonDblClk(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnRButtonDown()

bool CXFA_FFWidgetHandler::OnRButtonDown ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 85 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::AcceptsFocusOnButtonDown(), CFWL_MessageMouse::kRightButtonDown, CXFA_FFWidget::OnRButtonDown(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ OnRButtonUp()

bool CXFA_FFWidgetHandler::OnRButtonUp ( CXFA_FFWidget * hWidget,
Mask< XFA_FWL_KeyFlag > dwFlags,
const CFX_PointF & point )

Definition at line 100 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::OnRButtonUp(), and CXFA_FFWidget::Rotate2Normal().

+ Here is the call graph for this function:

◆ PasteText()

void CXFA_FFWidgetHandler::PasteText ( CXFA_FFWidget * widget,
const WideString & text )

Definition at line 137 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::CanPaste(), and CXFA_FFWidget::Paste().

Referenced by CPDFXFA_Widget::ReplaceSelection().

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

◆ ProcessEvent()

XFA_EventError CXFA_FFWidgetHandler::ProcessEvent ( CXFA_Node * pNode,
CXFA_EventParam * pParam )

Definition at line 208 of file cxfa_ffwidgethandler.cpp.

References CXFA_Node::GetCalculateIfExists(), CXFA_Object::GetElementType(), CXFA_Node::IsUserInteractive(), kDisabled, kNotExist, CXFA_EventParam::m_eType, XFA_EVENT_InitCalculate, and XFA_EVENT_Unknown.

Referenced by CXFA_FFNotify::HandleWidgetEvent(), CXFA_FFWidget::ProcessEventUnderHandler(), CPDFXFA_Context::SendPostSaveToXFADoc(), and CPDFXFA_Context::SendPreSaveToXFADoc().

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

◆ Redo()

bool CXFA_FFWidgetHandler::Redo ( CXFA_FFWidget * widget)

Definition at line 165 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::Redo().

Referenced by CPDFXFA_Widget::Redo().

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

◆ RenderWidget()

void CXFA_FFWidgetHandler::RenderWidget ( CXFA_FFWidget * hWidget,
CFGAS_GEGraphics * pGS,
const CFX_Matrix & matrix,
bool bHighlight )

Definition at line 176 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::kHighlight, CXFA_FFWidget::kNoHighlight, and CXFA_FFWidget::RenderWidget().

Referenced by CPDFXFA_Page::DrawFocusAnnot(), and CPDFXFA_Widget::OnDraw().

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

◆ SelectAllText()

bool CXFA_FFWidgetHandler::SelectAllText ( CXFA_FFWidget * widget)

Definition at line 145 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::CanSelectAll(), and CXFA_FFWidget::SelectAll().

Referenced by CPDFXFA_Widget::SelectAllText().

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

◆ Trace()

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

Definition at line 28 of file cxfa_ffwidgethandler.cpp.

◆ Undo()

bool CXFA_FFWidgetHandler::Undo ( CXFA_FFWidget * widget)

Definition at line 161 of file cxfa_ffwidgethandler.cpp.

References CXFA_FFWidget::Undo().

Referenced by CPDFXFA_Widget::Undo().

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

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_FFWidgetHandler::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 29 of file cxfa_ffwidgethandler.h.


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